NO FRAMES

Class IloCplex::OptimizationCallbackI

Definition file: ilcplex/ilocplexi.h

This is the abstract base class for user-written callback classes called by optimization methods. It provides their common application programming interface (API).

See Also:

Method Summary
public IloModelgetModel() const
public IloIntgetNcols() const
public IloIntgetNQCs() const
public IloIntgetNrows() const
Inherited Methods from CallbackI
abort, duplicateCallback, getEnv, main
Method Detail

getModel

public IloModel getModel() const

This method returns the model currently extracted for the instance of IloCplex where the invoking callback executed.


getNQCs

public IloInt getNQCs() const

This method returns the number of quadratic constraints in the model currently being optimized.


getNcols

public IloInt getNcols() const

This method returns the number of columns in the model currently being optimized.


getNrows

public IloInt getNrows() const

This method returns the number of rows in the model currently being optimized.