Reads a linear programming model from a stream.
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16073.0)
public static LinearProgram Read(
Public Shared Function Read (
reader As StreamReader
) As LinearProgram
static LinearProgram^ Read(
static member Read :
reader : StreamReader -> LinearProgram
- Type: System.IOStreamReader
read in MPS format from reader
Use this method to read a linear program from a stream in MPS format.
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.
The MPS format is also used to specify Integer Programming (IP) and Mixed Integer Programming (MIP) problems.
The QuadraticProgram class does not support these types of problems. When integer variables are
encountered in an MPS file, a NotSupportedException is thrown.
Supported in: 6.0, 5.x, 4.x