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
>optimize
>...
All the best.
Marcos
Em 14/12/2010 04:49, glpk xypron < [email protected] > 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
http://www.coin-or.org/projects/SYMPHONY.xml
and
http://www.coin-or.org/projects/Osi.xml
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
Xypron
-------- 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! http://portal.gmx.net/de/go/dsl
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk
_______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
