NO FRAMES

Class IloCplex::CrossoverCallbackI

Definition file: ilocplexi.h
Include files: ilcplex/ilocplex.h

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:

Constructor Summary
protected CrossoverCallbackI()
Method Summary
protected IloIntgetNdualExchanges()
protected IloIntgetNdualPushes()
protected IloIntgetNprimalExchanges()
protected IloIntgetNprimalPushes()
protected IloIntgetNsuperbasics()
Inherited Methods from CallbackI
abort, duplicateCallback, getEnv, getModel, getNcols, getNQCs, getNrows, main
Constructor Detail

CrossoverCallbackI

protected CrossoverCallbackI()

This constructor creates a callback for use in an application with the crossover option of the barrier optimizer.


Method Detail

getNdualExchanges

protected IloInt getNdualExchanges()

This method returns the number of dual exchange operations executed so far during crossover by the instance of IloCplex that executes the invoking callback.


getNdualPushes

protected IloInt getNdualPushes()

This method returns the number of dual push operations executed so far during crossover by the instance of IloCplex that executes the invoking callback.


getNprimalExchanges

protected IloInt getNprimalExchanges()

This method returns the number of primal exchange operations executed so far during crossover by the instance of IloCplex that executes the invoking callback.


getNprimalPushes

protected IloInt getNprimalPushes()

This method returns the number of primal push operations executed so far during crossover by the instance of IloCplex that executes the invoking callback.


getNsuperbasics

protected IloInt getNsuperbasics()

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.