[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 |
Amir,
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.
http://ftp.gnu.org/gnu/glpk/
Read, Wikibook GLPK as well for more details -
http://en.wikibooks.org/wiki/GLPK
And visit help-glpk archives
For example to browse topics on:
cplex
http://www.mail-archive.com/search?q=cplex&l=help-glpk%40gnu.org
glpsol
http://www.mail-archive.com/search?q=glpsol&l=help-glpk%40gnu.org
Regards,
Noli
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
>