[Top][All Lists]

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

Re: [Help-glpk] GLPK-CPLEX Link

From: Marcos Roberto Silva
Subject: Re: [Help-glpk] GLPK-CPLEX Link
Date: Tue, 14 Dec 2010 11:57:45 -0200

Hello Amir,
You can also use glpk to create a lp file to be used in cplex:

glpsol -m model.mod -d data.dat --check --wcpxlp model.lp

and on the cplex interactive optimizer prompt:

>read model.lp

All the best.


Em 14/12/2010 04:49, glpk xypron < address@hidden > escreveu:
Hello Amir,

Coin-Or offers software which will allow you to write a model in
the GMPL language and to solve it with CPLEX. Please, refer to

If these libraries are too much overhead for you, you could also
write your own C or Java code to read a GMPL model using the
GLPK library and then call the CPLEX library for solving.

Best regards


-------- Original-Nachricht --------
> Datum: Mon, 13 Dec 2010 21:09:24 -0500
> Betreff: [Help-glpk] GLPK-CPLEX Link

> 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

GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat!

Help-glpk mailing list

reply via email to

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