Re: [pymprog] question MPS file
An easy and flexible mathematical programming environment for Python.
Brought to you by:
lanyjie
From: Yingjie L. <la...@ya...> - 2010-11-24 13:05:09
|
--- On Tue, 11/23/10, Gerardo Berbeglia <gbe...@gm...> wrote: > From: Gerardo Berbeglia <gbe...@gm...> > Subject: [pymprog] question MPS file > To: pym...@li... > Date: Tuesday, November 23, 2010, 8:57 PM > Does PyMathProg have a procedure to > save an LP or ILP model into a > file under the MPS format? > Thanks. > > Yes, it is already there. Write problem to fixed MPS format file: lp.write(mps=filename) For other formats, see >>> import pymprog >>> help(pymprog.model.write) Hope this helps. Yingjie |