public abstract static class IloCplex.CrossoverCallback extends IloCplex.Callback
An instance of the class CrossoverCallback represents a
user-written callback in an application that uses an instance of
IloCplex to solve a problem by means of the barrier optimizer,
with the crossover option. An instance of IloCplex calls this
callback regularly during crossover. For details about crossover, see the
ILOG CPLEX User's Manual.
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.
IloCplex.Callback| Modifier | Constructor and Description |
|---|---|
protected |
IloCplex.CrossoverCallback()
Constructor for user-written crossover callback.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getNdualExchanges()
Returns the number of dual exchange operations at the moment the callback is
called.
|
protected int |
getNdualPushes()
Returns the number of dual push operations at the moment the callback is
called.
|
protected int |
getNprimalExchanges()
Returns the number of primal exchange operations at the moment the callback
is called.
|
protected int |
getNprimalPushes()
Returns the number of primal push operations at the moment the callback is
called.
|
protected int |
getNsuperbasics()
Returns the number of super basics created at the moment the callback is
called.
|
abort, getCplexTime, getDetTime, getEndDetTime, getEndTime, getEnvImpl, getModel, getNcols, getNQCs, getNrows, getStartDetTime, getStartTime, mainprotected IloCplex.CrossoverCallback()
IloCplex.CrossoverCallback objects
directly.protected int getNprimalPushes()
throws IloException
IloExceptionprotected int getNprimalExchanges()
throws IloException
IloExceptionprotected int getNdualPushes()
throws IloException
IloExceptionprotected int getNdualExchanges()
throws IloException
IloExceptionprotected int getNsuperbasics()
throws IloException
IloException