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!
use the answer that has been achieved Topic is solved
use the answer that has been achieved
Last edited by Lucas 4 years ago, edited 1 time in total.
Re: use the answer that has been achieved in 2000s in the 7200s running
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
-Michael