ILOG CPLEX .NET Reference Manual

Cplex.GetValues Method (ILPMatrix)

Returns the solution vector for the columns of an LP matrix.

public virtual double[] GetValues(
   ILPMatrix matrix
);

Parameters

matrix
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.

See Also

Cplex Class | ILOG.CPLEX Namespace | Cplex.GetValues Overload List