NO FRAMES

Class IloCplex::CrossoverCallbackI

Definition file: ilcplex/ilocplexi.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(IloEnv env)
Method Summary
protected IloIntgetNdualExchanges() const
protected IloIntgetNdualPushes() const
protected IloIntgetNprimalExchanges() const
protected IloIntgetNprimalPushes() const
protected IloIntgetNsuperbasics() const
Inherited Methods from OptimizationCallbackI
getModel, getNcols, getNQCs, getNrows
Inherited Methods from CallbackI
abort, duplicateCallback, getEnv, main
Constructor Detail

CrossoverCallbackI

protected CrossoverCallbackI(IloEnv env)

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


Method Detail

getNdualExchanges

protected IloInt getNdualExchanges() const

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() const

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() const

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() const

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() const

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.