Equations/variables with large marginals

Dear All,

I am trying to find out if there is an easy way to identity equations/variables with large marginal values in .LST file resulting from GAMS model execution. Ideally, if possible, I would like to add a piece of code to my GAMS model itself so that the equations/variables with large marginals can be displayed separately in the result (for quicker inspection).

Any of your comments on the above mentioned feature (or any such feature that helps in model debugging) would be much appreciated.


Regards,
Murthy.

\

To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

Hi Murthy

You can define a parameter that has all the values of the marginals that are bigger than a certain number.



For example:



Parameter resultsmar(*) ‘Collect the big marginals from variables profits and activity’ ;



Resultsmar(“Profits”)$(abs(profits.M > 5) = profits.M;

Resultsmar(“Activity”)$(abs(activity.M>1) = activity.M;

Etc.



Cheers

Renger



From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Murthy
Sent: Friday, August 10, 2012 9:18 PM
To: gamsworld@googlegroups.com
Subject: Equations/variables with large marginals



Dear All,

I am trying to find out if there is an easy way to identity equations/variables with large marginal values in .LST file resulting from GAMS model execution. Ideally, if possible, I would like to add a piece of code to my GAMS model itself so that the equations/variables with large marginals can be displayed separately in the result (for quicker inspection).

Any of your comments on the above mentioned feature (or any such feature that helps in model debugging) would be much appreciated.


Regards,
Murthy.


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.