IMSL C# Numerical Library

MPSReader Members

MPSReader overview

Public Static Fields

BINARY_VARIABLE Variable must be either 0 or 1.
CONTINUOUS_VARIABLE Variable is a real number.
INTEGER_VARIABLE Variable must be an integer.

Public Instance Constructors

MPSReader Constructor constructor for MPSReader

Public Instance Properties

Name Returns the name of the MPS problem.
NameBounds The name of the BOUNDS set.
NameObjective The name of the free row containing the objective.
NameRanges The name of the RANGES set.
NameRHS The name of the RHS set used.
NumberOfBinaryConstraints The number of binary constraints.
NumberOfColumns The number of columns in the constraint matrix.
NumberOfIntegerConstraints The number of integer constraints.
NumberOfNonZeros The number of nonzeros in the constraint matrix.
NumberOfRows The number of rows in the constraint matrix.
Objective The objective as a Row.
ObjectiveCoefficients The coefficents of the objective row.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLowerBound Returns the lower bound for a variable.
GetLowerRange Returns the lower range value for a constraint equation.
GetNameColumn Returns the name of a constraint column. Constraint column names are also variable names.
GetNameRow Returns the name of a constraint row.
GetRow Returns a row of the constraint matrix or a free row.
GetRowCoefficients Returns the coefficients of a row.
GetType (inherited from Object) Gets the Type of the current instance.
GetTypeVariable Returns the type of a variable. The variable types are CONTINUOUS_VARIABLE, BINARY_VARIABLE or INTEGER_VARIABLE.
GetUpperBound Returns the upper bound for a variable.
GetUpperRange Returns the upper range value for a constraint equation.
Read Reads and parses the MPS file.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Protected Internal Instance Methods

ProcessCommand Process a section of the MPS file.

See Also

MPSReader Class | Imsl.Math Namespace | Example