Returns the solution vector for the columns of an LP matrix.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual double[] GetValues( ILPMatrix matrix ) |
| Visual Basic |
|---|
Public Overridable Function GetValues ( _ matrix As ILPMatrix _ ) As Double() |
Parameters
- matrix
- Type: ILOG.Concert..::..ILPMatrix
The LP matrix for which to query the solution values. This LP matrix must be in the active model.
Return Value
The solution vector for columns of an LP matrix. If x is the array returned by this method, x[j] will be the solution value for the variable corresponding to column j of matrix.
Remarks
UnknownObjectException matrix
is not in the active model.
ILOG.Concert.Exception If the method fails, an exception
of type ILOG.Concert.Exception, or
one of its derived classes, is thrown.