ILOG CPLEX .NET Reference Manual

ILPMatrix Members

ILPMatrix overview

Public Instance Properties

Ncols Gets the number of columns in the invoking LP matrix.
NNZs Gets the number of nonzeros in the invoking LP matrix.
Nrows Gets the number of rows in the invoking LP matrix.
NumVars Gets an array of variables corresponding to the columns of the LP matrix.
Ranges Gets an array of range constraints corresponding to the rows of the LP matrix.

Public Instance Methods

AddColsOverloaded. Adds new empty columns to the LP matrix.
AddColumnOverloaded. Adds a new empty column to an LP matrix.
AddRowOverloaded. Adds a range constraint as a new row to an LP matrix.
AddRowsOverloaded. Adds a set of range constraints as new rows to an LP matrix.
Clear Removes all rows and columns from the invoking LP matrix.
GetCols Returns columns in a sparse matrix representation.
GetIndexOverloaded. Returns the column index corresponding to a variable in the invoking LP matrix.
GetNumVar Returns the variable corresponding to the i-th column of the LP matrix.
GetNZ Returns the value of the matrix element row and col from the invoking LP matrix.
GetRange Returns the ranged constraint corresponding to the i-th row of the LP matrix.
GetRows Returns rows in a sparse matrix representation.
RemoveColsOverloaded. Removes a set of columns from the invoking LP matrix.
RemoveColumn Removes one column from the LP matrix.
RemoveRow Removes one row from the LP matrix.
RemoveRowsOverloaded. Removes as set of rows from the invoking LP matrix.
SetNZ Sets one nonzero of the coefficient matrix of the invoking LP matrix.
SetNZs Sets nonzero elements of the coefficient matrix of the invoking LP matrix.

See Also

ILPMatrix Interface | ILOG.Concert Namespace