Dear Friends,
How can I ask GAMS to show me the time for solving each scenario. Actually, each scenario is read from Excel and the results would be sent to Excel too. I want GAMS to show the running time besides the variable values in Excel.
I would highly appreciate it if somebody can help me.
Best regards.
–
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.
For more options, visit https://groups.google.com/d/optout.
Hi Zohreh,
There are a few attributes which give times. They’re listed here: http://www.gams.com/mccarl/mccarlhtml/model_attributes_mainly_used_a.htm
The ones involving time are the ones beginning with ‘et’ (measuring in ‘wall-clock seconds’) and the ones beginning with ‘res’ (measuring in CPU seconds).
As an example, if your model is named modelA and you want to know the solve time in CPU seconds, the way to access this is modelA.resUsd.
I haven’t used Excel files, so I’m hoping you already know how to write them. If not, someone else here can hopefully help.
Best Wishes,
-Trish
On Saturday, July 19, 2014 5:51:12 AM UTC-4, Zohreh wrote:
Dear Friends,
How can I ask GAMS to show me the time for solving each scenario. Actually, each scenario is read from Excel and the results would be sent to Excel too. I want GAMS to show the running time besides the variable values in Excel.
I would highly appreciate it if somebody can help me.
Best regards.
–
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.
For more options, visit https://groups.google.com/d/optout.
Dear Trish,
Thank you for your response.
Best regards.
On Saturday, July 19, 2014 5:51:12 PM UTC+8, Zohreh wrote:
Dear Friends,
How can I ask GAMS to show me the time for solving each scenario. Actually, each scenario is read from Excel and the results would be sent to Excel too. I want GAMS to show the running time besides the variable values in Excel.
I would highly appreciate it if somebody can help me.
Best regards.
–
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.
For more options, visit https://groups.google.com/d/optout.