What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE?

Problems with syntax of GAMS
Post Reply
wutuhan
User
User
Posts: 20
Joined: 6 years ago

What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE?

Post by wutuhan »

What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE when we run a model?
Fred
Posts: 372
Joined: 7 years ago

Re: What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE?

Post by Fred »

Hi wutuhan,

Interrupt signals the solver to stop. Typically, solvers will check for a user interrupt in the same places where the resource limit is checked. A user might wish to trigger an interrupt, for example in order to stop a MIP job that has found a good integer feasible point but does not yet satisfy the convergence tolerances, or to return an intermediate point for an LP or NLP. The solver will return the current point and the appropriate model status, with a solution status of 8 (USER INTERRUPT), and the GAMS run will continue.

Stop really stops the current GAMS Job. The job will be stopped as soon as possible, and some files may be left in the process directory. No solution file will be written either.

See also https://www.gams.com/latest/docs/gamsid ... window.htm

I hope this helps!

Best,
Fred
wutuhan
User
User
Posts: 20
Joined: 6 years ago

Re: What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE?

Post by wutuhan »

Thank you very much, Fred! It's very kind of you. Then,if I interrupted a GAMS run, how can I continue it?
Post Reply