public abstract static class IloCplex.CrossoverCallback extends IloCplex.OptimizationCallback
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
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.CallbackIloCplex.Callback.Context, IloCplex.Callback.Function| 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 long |
getNdualExchanges64()
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 long |
getNdualPushes64()
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 long |
getNprimalExchanges64()
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 long |
getNprimalPushes64()
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.
|
getModel, getNcols, getNQCs, getNrowsabort, getCplexTime, getDetTime, getEndDetTime, getEndTime, 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 long getNprimalPushes64()
throws IloException
IloExceptionprotected long getNprimalExchanges64()
throws IloException
IloExceptionprotected long getNdualPushes64()
throws IloException
IloExceptionprotected long getNdualExchanges64()
throws IloException
IloExceptionprotected int getNsuperbasics()
throws IloException
IloException