30.01.2015 Views

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IloCplex::CrossoverCallbackI<br />

calls this callback regularly during crossover. For details about the crossover option, see<br />

the <strong>ILOG</strong> <strong>CPLEX</strong> User's <strong>Manual</strong>.<br />

The constructor and methods of this class are protected for use in deriving a user-written<br />

callback class and in implementing the main method there.<br />

If an attempt is made to access information not available to an instance of this class, an<br />

exception is thrown.<br />

See Also<br />

Constructors<br />

Methods<br />

IloCplex, IloCplex::Callback, IloCplex::CallbackI,<br />

ILOCROSSOVERCALLBACK0<br />

protected CrossoverCallbackI()<br />

This constructor creates a callback for use in an application with the crossover option of<br />

the barrier optimizer.<br />

protected IloInt getNdualExchanges()<br />

This method returns the number of dual exchange operations executed so far during<br />

crossover by the instance of IloCplex that executes the invoking callback.<br />

protected IloInt getNdualPushes()<br />

This method returns the number of dual push operations executed so far during<br />

crossover by the instance of IloCplex that executes the invoking callback.<br />

protected IloInt getNprimalExchanges()<br />

This method returns the number of primal exchange operations executed so far during<br />

crossover by the instance of IloCplex that executes the invoking callback.<br />

protected IloInt getNprimalPushes()<br />

This method returns the number of primal push operations executed so far during<br />

crossover by the instance of IloCplex that executes the invoking callback.<br />

protected IloInt getNsuperbasics()<br />

This method returns the number of super basics currently present in the basis being<br />

generated with crossover by the instance of IloCplex that executes the invoking<br />

callback.<br />

<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!