Page 1 of 1

Reach two different answers in two different versions of GAMS

Posted: Sat Sep 21, 2019 8:14 am
by Lucas
Hi all,

I solved a model with two different versions of GAMS. (Version 24.2 and Version 27.3)

The answers I get from Version 24.2 are different from the answers from Version 27.3 !
Is this normal?


Thanks!

Re: Reach two different answers in two different versions of GAMS

Posted: Sun Sep 22, 2019 9:34 am
by Renger
Hi
If you have a model that can have multiple solutions and use a non-global solver, this might be (but I am no solver expert) due to a newer version of the solver that leads due to changes in the solver to another local solution It also depends on what you call different. You can save the solution of one version of Gams as a savepoint and solve the model with the other version of Gams using the savepoint and iteration limit set to 0, to see if it is a just a different local optimum. It should with iteration limit set to 0 report an optimal solution.
Cheers
Renger

Re: Reach two different answers in two different versions of GAMS

Posted: Mon Sep 23, 2019 8:57 am
by Lucas
Dear Renger,
The model status is optimal in both versions, and The fixed answer is also feasible.
Thanks for the detailed and informative answer ;)