|
||||||||||
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.PresolveCallback
The callback class for user-written callbacks during presolve.
An instance of the class PresolveCallback
represents a
user-written callback. The callback is called periodically during
presolve. This class enables you to access information about the effects
of presolve on the active model for the instance of
IloCplex
. For example, you can query
the number of rows or columns presolve removed from the model, the number
of variables that have been aggregated, or the number of coefficients
that have changed as a result of presolve.
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.PresolveCallback()
Constructor for user-written presolve callback. |
Method Summary | |
protected int |
getNaggregations()
Returns the number of aggregations performed by presolve at the moment the callback is called. |
protected int |
getNmodifiedCoeffs()
Returns the number of coefficients modified by presolve at the moment the callback is called. |
protected int |
getNremovedCols()
Returns the number of columns removed by presolve at the moment the callback is called. |
protected int |
getNremovedRows()
Returns the number of rows removed by presolve 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.PresolveCallback()
IloCplex.PresolveCallback
objects directly.
Method Detail |
protected int getNremovedRows() throws IloException
IloException
protected int getNremovedCols() throws IloException
IloException
protected int getNaggregations() throws IloException
IloException
protected int getNmodifiedCoeffs() throws IloException
IloException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |