|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ilog.cplex.IloCplex.Callback | +--ilog.cplex.IloCplex.CrossoverCallback
The base class for user-written callbacks during crossover from a barrier solution to a simplex basis.
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
Constructor Summary | |
protected |
IloCplex.CrossoverCallback()
Constructor for user-written crossover callback. |
Method Summary | |
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. |
Methods inherited from class ilog.cplex.IloCplex.Callback |
abort, getModel, getNcols, getNQCs, getNrows, main |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected IloCplex.CrossoverCallback()
IloCplex.CrossoverCallback
objects directly.
Method Detail |
protected int getNprimalPushes() throws IloException
IloException
protected int getNprimalExchanges() throws IloException
IloException
protected int getNdualPushes() throws IloException
IloException
protected int getNdualExchanges() throws IloException
IloException
protected int getNsuperbasics() throws IloException
IloException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |