Page 1 of 1

Calculations post solution

Posted: Sat Nov 23, 2019 6:15 pm
by Laurus
Is it possible to do further calculations with the solutions data after the solver?

"Mccarl gams user guide" mentions that "Often modelers employ post solution report writing calculations", but I can't find anything about the syntax that must be used.

Thank you,

Re: Calculations post solution

Posted: Sun Nov 24, 2019 6:49 pm
by dirkse
Laurus,

In general, it is better to compute post-solution the things that merely depend on or derive from the optimal solution. You can see many examples of this in the model library, including in the qmeanvar model. Also the chapter on data manipulations in the Users Guide is very relevant:

https://www.gams.com/latest/docs/UG_Parameters.html

HTH,

-Steve