Page 1 of 1

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

Posted: Tue May 08, 2018 8:11 am
by wutuhan
What's the difference between the buttons "Interrupt" and "Stop" in GAMS IDE when we run a model?

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

Posted: Tue May 08, 2018 9:16 am
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

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

Posted: Tue May 08, 2018 10:54 am
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?