Returns the objective value of the current best integer solution.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
protected double GetIncumbentObjValue()
Visual Basic
Protected Function GetIncumbentObjValue As Double

Return Value

The objective value for the current incumbent solution.

Remarks

This method returns the objective value for the current incumbent solution (that is, the best integer solution found so far).

If there is no incumbent, this method returns a very large positive number for a minimization or a very small negative number for a maximization.

See Also