The base class for all MIP callbacks.
For a list of all members of this type, see Cplex.MIPCallback Members.
System.Object
ILOG.CPLEX.Cplex.Callback
ILOG.CPLEX.Cplex.MIPCallback
Derived types
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
An instance of the class MIPCallback
represents a user-written callback in an application that uses an instance of Cplex
to solve a mixed integer program (MIP). Cplex
calls the user-written callback prior to solving each node in the branch-and-cut search. This class allows you to access an incumbent solution, an incumbent node, and an incumbent objective value from a user-written callback. It also allows you to access priority orders and statistical information, such as the number of cuts that have been generated. Methods are also available to query the number of generated cuts for each type of cut CPLEX generates. See the ILOG CPLEX User's Manual for more information about cuts.
This class also provides a common application programming interface (API) for these subclasses:
Cplex.DisjunctiveCutCallback
Cplex.FractionalCutCallback
Cplex.FlowMIRCutCallback
Cplex.ProbingCallback
Cplex.IncumbentCallback
Cplex.NodeCallback
Cplex.SolveCallback
Cplex.ControlCallback
with its extensions: Cplex.CutCallback
Cplex.BranchCallback
Cplex.HeuristicCallback
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.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll)