Print intermediate values when solving a model

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!

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