MAXCYCLES

305 views
Skip to first unread message

Alireza Ahmadimanesh

unread,
Mar 18, 2016, 4:23:02 AM3/18/16
to gamsworld
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,

Ali Reza Bahari

unread,
Mar 19, 2016, 7:06:26 AM3/19/16
to gams...@googlegroups.com
Hi
write following lines before solve statement. beware use of $ statement in the first position of line.
<Modelname>.optfile=1;

$onecho > dicopt.opt
MAXCYCLES  nn
$offecho


--
You received this message because you are subscribed to the Google Groups "gamsworld" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at https://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

shahrzad khosravi

unread,
Aug 7, 2017, 1:47:27 AM8/7/17
to gamsworld

Hi I have a same problem can you solve it?
Reply all
Reply to author
Forward
0 new messages