Hi Destin
Thanks your answer I am new user so I don't know how/where I
introduced the cplex opt.file
Programme give below error
Unable to open options file: C:\GAMS\GAMSPDF\CPLEX.OPT.
Unable to process options file.
Presolve found the problem infeasible or unbounded.
On 5 Haziran, 14:07, Destin Zed wrote:
> > Esra,
> >
> > Your piece of GAMS code doesn't show where/how you introduced the CPLEX
> > options. Anyway, the following should work for you.
> >
> > model pipe /all/;
> > Options optcr=1e-4,reslim = 20000,iterlim = 1e9;
> > Option mip=cplex;
> > pipe.optfile=1;
> > SOLVE pipe minimizing PA using mip;
> >
> > $onecho > cplex.opt
> > startalg 1
> > mipsearch 1
> > $offecho
> >
> > Display PA.l;
> > File output /pipe_cplex.txt/;
> >
> > HTH.
> > Destin.
> >
> >
> >
> > On Mon, Jun 4, 2012 at 11:04 AM, esra wrote:
>> > > Hi Destin,
>> > > My gams file
> >
>> > > model pipe /all/;
>> > > Options optcr=1e-4,reslim = 20000,iterlim = 1e9;
>> > > Option mip=cplex;
>> > > pipe.optfile=1;
>> > > SOLVE pipe minimizing PA using mip;
>> > > Display PA.l;
>> > > File output /pipe_cplex.txt/;
> >
>> > > After I run gams, give below error
> >
>> > > User supplied options:
>> > > startalg 1
>> > > mipsearch 1
>>>> > > >> No such option.
>> > > *solvefinal 0
>> > > fixoptfile fix.opt
>>>> > > >> No such option.
> >
>> > > On 4 Haziran, 11:04, Destin Zed wrote:
>>> > > > *To let GAMS know there is a user-defined option file - BEFORE THE *SOLVE
>>> > > > STATEMENT
>>> > > > YourModelName.optfile=1;
> >
>>> > > > *Your options ------ example
>>> > > > $onecho > cplex.opt
>>> > > > threads 4
>>> > > > nodefileind 2
>>> > > > workmem 2048
>>> > > > nodesel 2
>>> > > > varsel 3
>>> > > > $offecho
> >
>>> > > > HTH.
> >
>>> > > > Destin
> >
>>> > > > On Mon, Jun 4, 2012 at 9:29 AM, esra wrote:
>>>> > > > > Hi,
>>>> > > > > I want to create an option file in cplex solver.How can I that?
> >
>>>> > > > > --
>>>> > > > > You received this message because you are subscribed to the Google
>> > > Groups
>>>> > > > > "gamsworld" group.
>>>> > > > > 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/gamsworl ... lıntıyı gizle -
> >
>>> > > > - Alıntıyı göster -
> >
>> > > --
>> > > "gamsworld" group.
>> > > 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.- Alıntıyı gizle -
> >
> > - Alıntıyı göster -