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 _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
