READMPS MATLAB / Octave Code to Read an MPS file

This package provides MATLAB routines to read data files in the MPS format. The code can handle most common variations on the MPS format, including linear and integer programming problems and problems with a quadratic objective function.

Updated 1/18/2015: This version uses the first "N" row as the default objective row if none is specified. The hash function used with the hash tables has been improved to reduce frequent collisions that were happening on certain problems. Added support for fixed format files that might include spaces in row/column names.

The code is available in

Return to the Brian Borchers Homepage