MPS parser for IP/LP data

Peter Dobcsanyi peter at designtheory.org
Wed Sep 15 11:53:08 EDT 2004


Hi,

I am looking for Python code to parse Mathematical Programming System
(MPS) format. I urgently need to extract data from a bunch of test files
in MPS format. The files encode IP problems something like

    min{c.x : Ax <= b, ...}

I would like the code to return c, and b as Python lists and A as
list of lists or alternatively, as Numeric arrays. I don't want to solve
the problems just need A,b and c.

Thank you,
    Peter



More information about the Python-list mailing list