Hi all,
I have a question about DICOPT solver option.
GAMS stopped on MAXCYCLES like below;
---- DICOPT: Terminating
---- DICOPT: Stopped on MAXCYCLES
The search was stopped because the major iteration limit
was reached. This limit can be reset with the DICOPT
option MAXCYCLES.
How can I reset with the DICOPT option MAXCYCLES?
Thanks,
Sung Young Kim
\
You can use the "option reslim = #num# " after the “modle” you set,
eg:
…
Model OP /all/ ;
option reslim = 2000;
…
On 3月6æ—¥, 下åˆ3æ—¶36分, Sung Young Kim wrote:
Hi all,
I have a question about DICOPT solver option.
GAMS stopped on MAXCYCLES like below;
---- DICOPT: Terminating
---- DICOPT: Stopped on MAXCYCLES
The search was stopped because the major iteration limit
was reached. This limit can be reset with the DICOPT
option MAXCYCLES.
How can I reset with the DICOPT option MAXCYCLES?
Thanks,
Sung Young Kim
\
Hi Sung,
You may need to append a DICOPT option file something like the following in your code:
yourModelname.optfile=1;
$onecho > dicopt.opt
maxcycles n
$offecho
Where n is an integer of your interest. The default for DICOPT solver is 20. Note also that the first line .optfile=1; should be placed before the SOLVE statement in your GAMS code.
I hope this helps.
Destin
On Tue, Mar 6, 2012 at 9:36 PM, Sung Young Kim wrote:
Hi all,
I have a question about DICOPT solver option.
GAMS stopped on MAXCYCLES like below;
---- DICOPT: Terminating
---- DICOPT: Stopped on MAXCYCLES
The search was stopped because the major iteration limit
was reached. This limit can be reset with the DICOPT
option MAXCYCLES.
How can I reset with the DICOPT option MAXCYCLES?
Thanks,
Sung Young Kim
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.