Namespace: ILOG.OPL
Assembly: oplall (in oplall.dll)

Syntax

C#
public abstract class IncumbentCallback : Cplex..::..MIPCallback

Remarks

This callback class is called whenever a new potential incumbent is found during the branch-and-cut search. It allows you to analyze the proposed incumbent and optionally reject it. In this case, Cplex will continue the branch-and-cut search. However, since Cplex consideres the current node solution to be integer feasible, it will not be able to determine a reasonable way to branch. Thus, when this callback is implemented in such a way that it may reject an incumbent, it is typically paired with a branch callback to perform the branching after an incumbent has been rejected.

The constructor and methods of this class are protected to make sure that they are used only to derive a user-written callback class or to implement the main method in it.

Inheritance Hierarchy

System..::..Object
  ILOG.OPL..::..Cplex..::..Callback
    ILOG.OPL..::..Cplex..::..MIPInfoCallback
      ILOG.OPL..::..Cplex..::..MIPCallback
        ILOG.OPL..::..Cplex..::..IncumbentCallback

See Also