Overview | Group | Tree | Graph | Deprecated | 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
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, IloCplex::OptimizationCallbackI, ILOCROSSOVERCALLBACK0
Method Summary | |
---|---|
protected | CrossoverCallbackI(IloEnv env) |
public IloInt | getNdualExchanges() const |
public IloInt64 | getNdualExchanges64() const |
public IloInt | getNdualPushes() const |
public IloInt64 | getNdualPushes64() const |
public IloInt | getNprimalExchanges() const |
public IloInt64 | getNprimalExchanges64() const |
public IloInt | getNprimalPushes() const |
public IloInt64 | getNprimalPushes64() const |
public IloInt | getNsuperbasics() const |
protected Callback::Type | getType() const |
Inherited Methods from OptimizationCallbackI |
---|
getModel, getNcols, getNQCs, getNrows |
Inherited Methods from CallbackI |
---|
abort, duplicateCallback, getCplexTime, getDetTime, getEndDetTime, getEndTime, getEnv, getStartDetTime, getStartTime, getType, main |
Method Detail |
---|
This constructor creates a callback for use in an application with the crossover option of the barrier optimizer.
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 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 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 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 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.
This method returns the callback type of the invoking callback object.