[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] GLPK-CPLEX Link

From: Noli Sicad
Subject: Re: [Help-glpk] GLPK-CPLEX Link
Date: Tue, 14 Dec 2010 13:40:47 +1100


GLPK don't use CPLEX. GPLK is also a solver and API. You don't need
another solver for mathprog (i.e) glpsol.

For AMPL and CPLEX users.

CPLEX/AMPL    :      GLPK/GMPL(MathProg

AMPL                :    GMPL(MatProg)

ampl model.mod model.dat;   :     glpsol - m model.mod -d model.dat;

option solver "C:\AMPL112\cplexamp";          glpsol

Download glpk4.45 and look at the examples.

Read, Wikibook GLPK as well for more details -

And visit help-glpk archives

For example to browse topics on:





On 12/14/10, Amir Hajimiragha <address@hidden> wrote:
> Hello,
> Is there any way to call CPLEX within a mod file in GLPK? In AMPL, it is
> possible to do this by providing the path before the solve command; for
> example, the following will do this job:
> option solver "C:\AMPL112\cplexamp";
> I am wondering if similar approach can be used in GLPK.
> Thanks in advance for your help and comments.
> Regards,
> Amir

reply via email to

[Prev in Thread] Current Thread [Next in Thread]