The ILPMatrix type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddCols(array<INumVar>[]()[][]) |
Adds new empty columns to the LP matrix.
| |
| AddCols(array<INumVar>[]()[][], Int32, Int32) |
Adds new empty columns to the LP matrix.
| |
| AddCols(array<INumVar>[]()[][], array<array<Int32>[]()[][]>[]()[][], array<array<Double>[]()[][]>[]()[][]) |
Adds new columns to the LP matrix.
| |
| AddColumn(INumVar) |
Adds a new empty column to an LP matrix.
| |
| AddColumn(INumVar, array<Int32>[]()[][], array<Double>[]()[][]) |
Adds a new column to an LP matrix.
| |
| AddRow(IRange) |
Adds a range constraint as a new row to an LP matrix.
| |
| AddRow(Double, Double, array<Int32>[]()[][], array<Double>[]()[][]) |
Adds a new row to the LP matrix.
| |
| AddRows(array<IRange>[]()[][]) |
Adds range constraints as new rows to an LP matrix.
| |
| AddRows(array<IRange>[]()[][], Int32, Int32) |
Adds a set of range constraints as new rows to an LP matrix.
| |
| AddRows(array<Double>[]()[][], array<Double>[]()[][], array<array<Int32>[]()[][]>[]()[][], array<array<Double>[]()[][]>[]()[][]) |
Adds a set of new rows to LP matrix.
| |
| Clear |
Removes all rows and columns from the invoking LP matrix.
| |
| GetCols |
Returns columns in a sparse matrix representation.
| |
| GetIndex(INumVar) |
Returns the column index corresponding to a variable in the
invoking LP matrix.
| |
| GetIndex(IRange) |
Returns the row index corresponding to a ranged constraint 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.
| |
| MakeClone |
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.) | |
| RemoveCols(array<Int32>[]()[][]) |
Removes a set of columns from the invoking LP matrix.
| |
| RemoveCols(Int32, Int32) |
Remove a range of columns from the LP matrix.
| |
| RemoveCols(array<Int32>[]()[][], Int32, Int32) |
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.
| |
| RemoveRows(array<Int32>[]()[][]) |
Removes a set of rows from the invoking LP matrix.
| |
| RemoveRows(Int32, Int32) |
Removes a range of rows from the LP matrix.
| |
| RemoveRows(array<Int32>[]()[][], Int32, Int32) |
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.
| |
| VisitChildren |
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.) |