Returns the objective value of the current solution.

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

Syntax

C#
public virtual double GetObjValue()
Visual Basic
Public Overridable Function GetObjValue As Double

Return Value

The objective value of 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