ILOG CPLEX .NET Reference Manual

Cplex.Goal.GetIncumbentValue Method 

Returns the value of variable var for the current best integer solution.

protected double GetIncumbentValue(
   INumVar var
);

Parameters

var
The variable whose incumbent solution value is being queried.

Return Value

The value of variable var in the current incumbent solution.

Remarks

This method returns the value of variable var in the current incumbent solution (that is, the best integer solution found so far).

See Also

Cplex.Goal Class | ILOG.CPLEX Namespace