Skip to main content
FRAMES NO FRAMES

Class IloCplex::CrossoverCallbackI

Definition file: ilcplex/ilocplexi.h
Map of IloCplex::CrossoverCallbackIIloCplex::CrossoverCallbackIIloCplex::CrossoverCallbackIIloCplex::OptimizationCallbackIIloCplex::CallbackI

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:

Method Summary
protected CrossoverCallbackI(IloEnv env)
public IloIntgetNdualExchanges() const
public IloInt64getNdualExchanges64() const
public IloIntgetNdualPushes() const
public IloInt64getNdualPushes64() const
public IloIntgetNprimalExchanges() const
public IloInt64getNprimalExchanges64() const
public IloIntgetNprimalPushes() const
public IloInt64getNprimalPushes64() const
public IloIntgetNsuperbasics() const
protected Callback::TypegetType() 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

CrossoverCallbackI

protected CrossoverCallbackI(IloEnv env)

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


getNdualExchanges

public 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.


getNdualExchanges64

public IloInt64 getNdualExchanges64() 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

public 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.


getNdualPushes64

public IloInt64 getNdualPushes64() 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

public 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.


getNprimalExchanges64

public IloInt64 getNprimalExchanges64() 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

public 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.


getNprimalPushes64

public IloInt64 getNprimalPushes64() 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

public 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.


getType

protected Callback::Type getType() const

This method returns the callback type of the invoking callback object.