How To Save Value o Iteration Count

Hello All,
In the result of the SOLVE state. I can see my iteration Count
displayed. Has anyone ever tried saving the value of “Iteration Count”
into a variable? How do you go about that?

I tried declaring a parameter then I placed this statement
“parameterVar = Iteration Count;” after the solve statement. But I got
errors and it did not work. Are you aware of any way to handle that?

\

Richard,

Did you ever discover how to do this? I would greatly appreciate any information.

Best,
Max

On Monday, June 18, 2012 12:25:29 AM UTC-4, Richard O. Afolabi wrote:

Hello All,
In the result of the SOLVE state. I can see my iteration Count
displayed. Has anyone ever tried saving the value of “Iteration Count”
into a variable? How do you go about that?

I tried declaring a parameter then I placed this statement
“parameterVar = Iteration Count;” after the solve statement. But I got
errors and it did not work. Are you aware of any way to handle that?


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\

Look for

iterUsd

this is a model attribute

–Paul




On Fri, May 24, 2013 at 5:29 PM, Maxwell Brown wrote:

Richard,

Did you ever discover how to do this? I would greatly appreciate any information.

Best,
Max


On Monday, June 18, 2012 12:25:29 AM UTC-4, Richard O. Afolabi wrote:

Hello All,
In the result of the SOLVE state. I can see my iteration Count
displayed. Has anyone ever tried saving the value of “Iteration Count”
into a variable? How do you go about that?

I tried declaring a parameter then I placed this statement
“parameterVar = Iteration Count;” after the solve statement. But I got
errors and it did not work. Are you aware of any way to handle that?


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.

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





\

Paul van der Eijk
GAMS Development Corporation
Tel : (202) 342-0180 Fax : (202) 342-0181
Email: pvandereijk@gams.com
Web : http://www.gams.com


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\