ILOG CPLEX .NET Reference Manual

Cplex.GetValue Method (INumExpr)

Returns the value that expr takes for the current solution.

public virtual double GetValue(
   INumExpr expr
);

Parameters

expr
The expression for which to evaluate the current solution.

Return Value

The value expr takes for the current solution.

Remarks

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.GetValue Overload List