Calculations post solution

Problems with modeling
Post Reply
Laurus
User
User
Posts: 8
Joined: 4 years ago

Calculations post solution

Post 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,
User avatar
dirkse
Moderator
Moderator
Posts: 214
Joined: 7 years ago
Location: Fairfax, VA

Re: Calculations post solution

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