Reads a quadratic programming model from a stream.
Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16073.0)
public static QuadraticProgram ReadQuadraticProgram(
Public Shared Function ReadQuadraticProgram (
reader As StreamReader
) As QuadraticProgram
static QuadraticProgram^ ReadQuadraticProgram(
static member ReadQuadraticProgram :
reader : StreamReader -> QuadraticProgram
- Type: System.IOStreamReader
read in MPS format from reader
Use this method to read a quadratic 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 LinearProgram 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