Gets the objective of the current relaxation.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public abstract double GetRelaxationObjective() |
| Visual Basic |
|---|
Public MustOverride Function GetRelaxationObjective As Double |
Return Value
The objective value of the current relaxation.
Remarks
This method can be invoked only from Cplex.Callback.Context.Id.Relaxation; it will throw an exception when invoked from another context.
Throws ILOG.Concert.Exception if an error occurs.