Overview | Group | Tree | Graph | Index | Concepts |
This is an advanced routine. Advanced routines typically demand a profound understanding of the algorithms used by ILOG CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, ILOG encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.
An instance of the class IloCplex::LazyConstraintCallbackI
represents a user-written callback in an application that uses an instance
of IloCplex
to solve a MIP while generating lazy constraints.
IloCplex
calls the user-written callback after solving each
node LP exactly like IloCplex::CutCallbackI
. In fact, this
callback is exactly equivalent to IloCplex::CutCallbackI
but
offers a name more consistently pointing out the difference between lazy
constraints and user cuts.
Inherited Methods from CutCallbackI |
---|
add, addLocal |
Inherited Methods from CallbackI |
---|
abort, duplicateCallback, getEnv, getModel, getNcols, getNQCs, getNrows, main |