[Coin-discuss] OsiCpx writeMps does not print integer info

Stefan Vigerske stefan at math.hu-berlin.de
Wed Apr 28 08:43:21 EDT 2010


Hi,

> When using writeMps with OsiCpx, the integer information is lost. Using writeLp works, but not writeMps. How do I fix this?

You remember, whether you solve the LP relaxation or the MIP before
calling writeMps?
Does it work better if you add "switchToMIP();" in the beginning of
OsiCpx::writeMps?

writeMps calls the CPLEX MPS writing function, while writeLp uses an Osi
function. That may make a difference.

Stefan

-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan




More information about the Coin-discuss mailing list