Overview | Group | Tree | Graph | Index | Concepts |
An instance of a class derivedf from PresolveCallbackI
represents a user-written callback in an application that uses an instance
of IloCplex
. The callback is called
periodically during presolve. This class enables you to access information
about the effects of presolve on the model extracted for the instance of
IloCplex
. For example, there are member
functions that return the number of rows or columns removed from the model,
the number of variables that have been aggregated, and the number of
coefficients that have changed as a result of presolve.
The constructor and methods of this class are protected for use
in deriving a user-written callback class and in implementing the
main
method there.
If an attempt is made to access information not available to an instance of this class, an exception is thrown.
See Also:
IloCplex, IloCplex::Callback, IloCplex::CallbackI, ILOPRESOLVECALLBACK0
Constructor Summary | |
---|---|
protected | PresolveCallbackI() |
Method Summary | |
---|---|
protected IloInt | getNaggregations() |
protected IloInt | getNmodifiedCoeffs() |
protected IloInt | getNremovedCols() |
protected IloInt | getNremovedRows() |
Inherited Methods from CallbackI |
---|
abort, duplicateCallback, getEnv, getModel, getNcols, getNQCs, getNrows, main |
Constructor Detail |
---|
This constructor creates a callback for use in presolve.
Method Detail |
---|
This method returns the number of aggregations performed by presolve at the time the callback is executeed.
This method returns the number of coefficients modified by presolve at the time the callback is executeed.
This method returns the number of columns removed by presolve at the time the callback is executeed.
This method returns the number of rows removed by presolve at the time the callback is executeed.