Dear all,
I would like to know if there is a way to generate the equation and column listing of a model without actually solving it (basically dry running the model).
The background is that solving the model takes quiet some time, and for debugging I sometimes just want to check if e.g. the dollar conditionals actually work out the intended way.
Thanks a lot for your help!
Cheers,
Christoph
Generate Equation and Column Listing without solving
-
- User
- Posts: 72
- Joined: 6 years ago
- Location: Dallas, TX, USA
- Contact:
Re: Generate Equation and Column Listing without solving
I'm also interesting in this issue
After checking the documentation, I know that 'solve' statement takes the role of importing and generating all the equations and columns in the predefined model (https://www.gams.com/latest/docs/UG_GAM ... ionListing). Thus anyway we may still need a 'solve' statement. I guess the solve option might help for this one.
Look forward to see expert's answer.
After checking the documentation, I know that 'solve' statement takes the role of importing and generating all the equations and columns in the predefined model (https://www.gams.com/latest/docs/UG_GAM ... ionListing). Thus anyway we may still need a 'solve' statement. I guess the solve option might help for this one.
Look forward to see expert's answer.
Re: Generate Equation and Column Listing without solving
Hi,
You could set the resource limit (reslim) to 0 (https://www.gams.com/latest/docs/UG_Gam ... MSAOreslim).
That way the solver would still be called but should terminate immediately (after a short initialization phase).
I hope this helps!
Best,
Fred
You could set the resource limit (reslim) to 0 (https://www.gams.com/latest/docs/UG_Gam ... MSAOreslim).
That way the solver would still be called but should terminate immediately (after a short initialization phase).
I hope this helps!
Best,
Fred
Re: Generate Equation and Column Listing without solving
Hi,
Thanks a lot for that great hint Fred!
I just tried and it seems to work really nice
Best,
Christoph
Thanks a lot for that great hint Fred!
I just tried and it seems to work really nice
Best,
Christoph