[Coin-discuss] how to convert .MPS file to .LP in cplex

Matthew Saltzman mjs at clemson.edu
Sun Dec 14 01:13:02 EST 2008


On Fri, 2008-12-12 at 14:05 -0600, Chendong Li wrote:
> Hi, 
> 
> What is the easiest way to convert .MPS file to .LP file in CPLEX? 

Read the file into CPLEX, then write it out in .lp format.

See the read and write commands in the CPLEX docs.

Note that certain .mps files need to be run through the convert utility
provided with CPLEX before reading.  Particularly, if row, column, or
section names contain blanks, this step is necessary.

> 
> Thanks,
> 
> 
> Chendong
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
-- 
                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the Coin-discuss mailing list