Page 1 of 1

Print intermediate values when solving a model

Posted: Tue Apr 30, 2019 5:49 pm
by Sarah_Chamberland
Hi all,

I was wondering if there is a form of "print statement" used in GAMS to print intermediate values of a variable when the solve statement is trying to reach equilibrium. I have wrong final values for many variables in my models and I wanted to check what GAMS was doing when solving the model. It would greatly help to correct errors in the final values of variables. Thanks!

Re: Print intermediate values when solving a model

Posted: Wed May 01, 2019 8:08 am
by bussieck
There is no such thing. The solve statement is supposed to be a black box. Check the model and solve status and see if what is returned is actually classified as a solution, or in the status tells you some other story (infeasible, ...).

-Michael