Reasons for equation not being executed

Hi,

I have some equations in my .gms file but after executing it, I don’t see them on the .lst files. I guess it means those equations does not get executed at all. What could be the possible reasons for that and how can I make sure that those equations got executed?

Regards,
Jubeyer

I think there’s a difference between equations not being listed in the .lst and not being executed. Can you check any limrow option. Option limrow = ? is used to decided how many of your equations are listed per block. You can also check your solution to ascertain which equations are and not executed.

Sorry, I am pretty new in GAMS. Am I supposed to add that limrow=? in the .opt file and see the effect in .lst file or is it something otherwise?

Since, calling that from command line results in a error saying "Integer expected for option “limRow” saw “?”.

Hi,

The error message says it all. You should not type the “?”. This was meant as a placeholder for whatever number you would like to enter there for your model.
The documentation might also be helpful: https://www.gams.com/32/docs/UG_GamsCall.html#GAMSAOlimrow

I hope this helps!

Fred