Print intermediate values when solving a model

Problems with modeling
Post Reply
Sarah_Chamberland
User
User
Posts: 5
Joined: 5 years ago

Print intermediate values when solving a model

Post 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!
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: Print intermediate values when solving a model

Post 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
Post Reply