This property gives the relative gap between the objective
value of the best solution found and the current objective bound.
Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
public virtual double ObjGap { get; } |
Remarks
The gap is
computed with respect to the best objective value and gives an idea of
the quality of the solutions found with respect to the objective bound. The exact
formula for the gap computation is gap = | objValue - objBound | / max(1e-10, |objValue|)
where objValue is the best objective value and objBound is the
current objective bound.