ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
ILOG CPLEX C++ API 9.0 Reference Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
IloCplex::MIPCallbackI<br />
IloCplex::NodeCallbackI, IloCplex::ProbingCallbackI,<br />
IloCplex::SolveCallbackI, ILOMIPCALLBACK0<br />
Constructors<br />
Methods<br />
protected MIPCallbackI()<br />
This constructor creates a callback for use in an application that uses an instance of<br />
IloCplex to solve a mixed integer program (MIP).<br />
protected IloNum getBestObjValue()<br />
This method returns the currently best known bound on the optimal solution value of the<br />
problem at the time the invoking callback is called by an instance of IloCplex while<br />
solving a MIP. When a model has been solved to optimality, this value matches the<br />
optimal solution value. Otherwise, this value is computed for a minimization<br />
(maximization) problem as the minimum (maximum) objective function value of all<br />
remaining unexplored nodes.<br />
protected IloNum getCutoff()<br />
Returns the current cutoff value.<br />
An instance of IloCplex uses the cutoff value (the value of the objective function of<br />
the subproblem at a node in the search tree) to decide when to prune nodes from the<br />
search tree (that is, when to cut off that node and discard the nodes beyond it). The<br />
cutoff value is updated whenever a new incumbent is found.<br />
protected IloCplex::BranchDirection getDirection(const IloIntVar var)<br />
Returns the IloCplex::BranchDirection used for variable var in the current<br />
optimization.<br />
protected IloCplex::BranchDirection getDirection(const IloNumVar var)<br />
Returns the IloCplex::BranchDirection used for variable var in the current<br />
optimization.<br />
protected IloNum getIncumbentObjValue()<br />
Returns the value of the objective function of the incumbent solution (that is, the best<br />
integer solution found so far) at the time the invoking callback is called by an instance of<br />
IloCplex while solving a MIP. If there is no incumbent, this method throws an<br />
exception.<br />
protected IloNum getIncumbentValue(const IloIntVar var)<br />
Returns the solution value of var in the incumbent solution at the time the invoking<br />
callback is called by an instance of IloCplex while solving a MIP. If there is no<br />
incumbent, this method throws an exception.<br />
protected IloNum getIncumbentValue(const IloNumVar var)<br />
<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 176