The callback base class for user-written callbacks invoked at every iteration of the simplex or barrier optimizers when they are solving a continuous model.
For a list of all members of this type, see Cplex.ContinuousCallback Members.
System.Object
ILOG.CPLEX.Cplex.Callback
ILOG.CPLEX.Cplex.ContinuousCallback
ILOG.CPLEX.Cplex.BarrierCallback
ILOG.CPLEX.Cplex.LPCallback
ILOG.CPLEX.Cplex.SimplexCallback
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Continuous callbacks are executed at every iteration of the simplex algorithm or the barrier algorithm during the solution of a continuous model. Algorithm-specific callbacks are also available via the extensions Cplex.SimplexCallback
and Cplex.BarrierCallback
. Note that by setting a continuous callback with the method Cplex.Use
, you set the same callback for both the simplex and the barrier callback, thus potentially overriding other callbacks of these types previously installed.
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)