The ILPMatrix type exposes the following members.

Methods

  NameDescription
Public methodAddCols(array<INumVar>[]()[][])
Adds new empty columns to the LP matrix.
Public methodAddCols(array<INumVar>[]()[][], Int32, Int32)
Adds new empty columns to the LP matrix.
Public methodAddCols(array<INumVar>[]()[][], array<array<Int32>[]()[][]>[]()[][], array<array<Double>[]()[][]>[]()[][])
Adds new columns to the LP matrix.
Public methodAddColumn(INumVar)
Adds a new empty column to an LP matrix.
Public methodAddColumn(INumVar, array<Int32>[]()[][], array<Double>[]()[][])
Adds a new column to an LP matrix.
Public methodAddRow(IRange)
Adds a range constraint as a new row to an LP matrix.
Public methodAddRow(Double, Double, array<Int32>[]()[][], array<Double>[]()[][])
Adds a new row to the LP matrix.
Public methodAddRows(array<IRange>[]()[][])
Adds range constraints as new rows to an LP matrix.
Public methodAddRows(array<IRange>[]()[][], Int32, Int32)
Adds a set of range constraints as new rows to an LP matrix.
Public methodAddRows(array<Double>[]()[][], array<Double>[]()[][], array<array<Int32>[]()[][]>[]()[][], array<array<Double>[]()[][]>[]()[][])
Adds a set of new rows to LP matrix.
Public methodClear
Removes all rows and columns from the invoking LP matrix.
Public methodGetCols
Returns columns in a sparse matrix representation.
Public methodGetIndex(INumVar)
Returns the column index corresponding to a variable in the invoking LP matrix.
Public methodGetIndex(IRange)
Returns the row index corresponding to a ranged constraint in the invoking LP matrix.
Public methodGetNumVar
Returns the variable corresponding to the i-th column of the LP matrix.
Public methodGetNZ
Returns the value of the matrix element row and col from the invoking LP matrix.
Public methodGetRange
Returns the ranged constraint corresponding to the i-th row of the LP matrix.
Public methodGetRows
Returns rows in a sparse matrix representation.
Public methodMakeClone
This method must be implemented so that it copies the invoking object to the engine of the given copy manager using the copy manager.
(Inherited from ICopyable.)
Public methodRemoveCols(array<Int32>[]()[][])
Removes a set of columns from the invoking LP matrix.
Public methodRemoveCols(Int32, Int32)
Remove a range of columns from the LP matrix.
Public methodRemoveCols(array<Int32>[]()[][], Int32, Int32)
Removes a set of columns from the invoking LP matrix.
Public methodRemoveColumn
Removes one column from the LP matrix.
Public methodRemoveRow
Removes one row from the LP matrix.
Public methodRemoveRows(array<Int32>[]()[][])
Removes a set of rows from the invoking LP matrix.
Public methodRemoveRows(Int32, Int32)
Removes a range of rows from the LP matrix.
Public methodRemoveRows(array<Int32>[]()[][], Int32, Int32)
Removes as set of rows from the invoking LP matrix.
Public methodSetNZ
Sets one nonzero of the coefficient matrix of the invoking LP matrix.
Public methodSetNZs
Sets nonzero elements of the coefficient matrix of the invoking LP matrix.
Public methodVisitChildren
This method is called when the object and all its sub-objects must be visited. To implement this method, you should first call the method ICopyableVisitor.BeginVisit() with yourself as parameter, then call ICopyableVisitor.VisitChild() for each sub-copyables, the call ICopyableVisitor.EndVisit() once again with yourself as parameter.
(Inherited from ICopyable.)

See Also