use the answer that has been achieved Topic is solved

Problems with syntax of GAMS
Post Reply
Lucas
User
User
Posts: 23
Joined: 4 years ago

use the answer that has been achieved

Post by Lucas »

Hi guys! I solved a MIP model with the option reslim = 2000 and got MODEL STATUS 8 Integer Solution status. Is it possible to run GAMS in seconds after 2000?

Is there a way I can save time And instead of running the program from the beginning, use the answer that has been achieved so far?

Thanks!
Last edited by Lucas 4 years ago, edited 1 time in total.
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: use the answer that has been achieved in 2000s in the 7200s running

Post by bussieck »

You can store a solution in a GDX point file (see option savepoint, https://www.gams.com/latest/docs/UG_Gam ... Osavepoint). You can load this via execute_loadpoint (https://www.gams.com/latest/docs/UG_GDX ... _LOADPOINT). You also need to tell the solver to start from this (e.g. with Cplex use option mipstart, see https://www.gams.com/latest/docs/S_CPLE ... EXmipstart). This is not restarting the algorithm from the point where it was holding the solution. It just initializes the algorithm with a starting point. All the work on the lower bound by exploring the B&C tree ist lost and needs to be redone.

-Michael
Post Reply