Reads a linear program in MPS format.
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static class MpsReader
Public NotInheritable Class MpsReader
public ref class MpsReader abstract sealed
type MpsReader = class end
Use the MpsReader class to read a LinearProgram from a file in
MPS format. The format was named after an early linear programming system from IBM.
It has since emerged as a de facto standard ASCII medium among most of the commercial linear programming
The MpsReader class has one method,
Read(StreamReader), which is overloaded.
The first overload takes a string containing the path to an MPS file and returns
a LinearProgram object that represents the linear program in the file.
The second method does the same but gets its input from a StreamReader.
Several extensions of the MPS format have been defined over the years. The current implementation of
MpsReader doesn't support these extensions. A FormatException is thrown
when an unrecognized extension is found.