Overview | Group | Tree | Graph | Index | Concepts |
An instance of the class IloCplex::CrossoverCallbackI
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 the crossover option, see the ILOG CPLEX
User's Manual.
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, ILOCROSSOVERCALLBACK0
Constructor Summary | |
---|---|
protected | CrossoverCallbackI() |
Method Summary | |
---|---|
protected IloInt | getNdualExchanges() |
protected IloInt | getNdualPushes() |
protected IloInt | getNprimalExchanges() |
protected IloInt | getNprimalPushes() |
protected IloInt | getNsuperbasics() |
Inherited Methods from CallbackI |
---|
abort, duplicateCallback, getEnv, getModel, getNcols, getNQCs, getNrows, main |
Constructor Detail |
---|
This constructor creates a callback for use in an application with the crossover option of the barrier optimizer.
Method Detail |
---|
This method returns the number of dual exchange operations executed
so far during crossover by the instance of IloCplex
that
executes the invoking callback.
This method returns the number of dual push operations executed so
far during crossover by the instance of IloCplex
that
executes the invoking callback.
This method returns the number of primal exchange operations executed
so far during crossover by the instance of IloCplex
that
executes the invoking callback.
This method returns the number of primal push operations executed so
far during crossover by the instance of IloCplex
that
executes the invoking callback.
This method returns the number of super basics currently present in
the basis being generated with crossover by the instance of
IloCplex
that executes the invoking callback.