help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] MathProg (mod) and LP -> MPS format (Not complete conversion


From: Noli.Sicad
Subject: [Help-glpk] MathProg (mod) and LP -> MPS format (Not complete conversion - No OBJSENSE and OBJNAME)
Date: Thu, 5 May 2005 14:55:18 +1000

Hi all,


GLPK and LPSolve does not properly convert (complete conversion) from
MathProg and LP formats to MPS format.

1) MathProg (mod) and LP -> MPS format problem.

Not converting properly, in GLPK is incomplete, no OBJSENSE and OBJNAME.

GLPK routines to mps format could not properly convert MAX problem
(maximize) and MIN problem (minimise).

I think the solution is to have: OBJSENSE and OBJNAME in the mps
routine, not just ROWS and COLUMNS (current one in GLPK). OBJSENSE and
OBJNAME are part of MPS format keywords.

Here are some links to it.

max
http://www.isye.gatech.edu/~wcook/qsopt/hlp/ff_mps_smallexample.htm

min
http://www.isye.gatech.edu/~wcook/qsopt/hlp/ff_example_0-1.htm

Coin use it.
http://www.coin-or.org/Doxygen/Osi/class_osi_cbc_solver_interface.html
and has this for glpk
http://www.coin-or.org/Doxygen/Osi/class_osi_glpk_solver_interface.html

See it yourself, try converting, (.mod or .lp) to mps and compare to the
format mentioned in those first 2 links.

I ask / suggest this to LpSolve yahoo group as well.

Thanks.

Regards, Noli




reply via email to

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