Reads a linear program in MPS format.
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
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(String),
which is overloaded. The first method 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.
Supported in: 6.0, 5.x, 4.x