30.01.2015 Views

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IloCplex::IncumbentCallbackI<br />

MIPCallbackI::getBestObjValue, MIPCallbackI::getCutoff,<br />

MIPCallbackI::getDirection, MIPCallbackI::getDirection,<br />

MIPCallbackI::getIncumbentObjValue, MIPCallbackI::getIncumbentValue,<br />

MIPCallbackI::getIncumbentValue, MIPCallbackI::getIncumbentValues,<br />

MIPCallbackI::getIncumbentValues, MIPCallbackI::getMyThreadNum,<br />

MIPCallbackI::getNcliques, MIPCallbackI::getNcovers,<br />

MIPCallbackI::getNdisjunctiveCuts, MIPCallbackI::getNflowCovers,<br />

MIPCallbackI::getNflowPaths, MIPCallbackI::getNfractionalCuts,<br />

MIPCallbackI::getNGUBcovers, MIPCallbackI::getNimpliedBounds,<br />

MIPCallbackI::getNiterations, MIPCallbackI::getNMIRs,<br />

MIPCallbackI::getNnodes, MIPCallbackI::getNremainingNodes,<br />

MIPCallbackI::getObjCoef, MIPCallbackI::getObjCoef,<br />

MIPCallbackI::getObjCoefs, MIPCallbackI::getObjCoefs,<br />

MIPCallbackI::getPriority, MIPCallbackI::getPriority,<br />

MIPCallbackI::getUserThreads, MIPCallbackI::hasIncumbent<br />

Inherited methods from IloCplex::CallbackI<br />

CallbackI::abort, CallbackI::duplicateCallback, CallbackI::getEnv,<br />

CallbackI::getModel, CallbackI::getNcols, CallbackI::getNQCs,<br />

CallbackI::getNrows, CallbackI::main<br />

Description<br />

See Also<br />

Methods<br />

This callback is called whenever a new potential incumbent is found during branch &<br />

cut searches. It allows you to analyze the proposed incumbent and optionally reject it. In<br />

this case, <strong>CPLEX</strong> will continue the branch & cut search. This callback is thus typically<br />

combined with a branch callback that instructs <strong>CPLEX</strong> how to branch on a node after it<br />

has found a potential incumbent and thus considered the node solution to be integer<br />

feasible.<br />

IloCplex, IloCplex::Callback, IloCplex::CallbackI,<br />

IloCplex::MIPCallbackI<br />

protected NodeData * getNodeData()<br />

This method retrieves the NodeData object that may have previously been assigned to<br />

the current node by the user with method<br />

IloCplex::BranchCallbackI::makeBranch. If no data object has been<br />

assigned to the current node, 0 will be returned.<br />

protected NodeId getNodeId()<br />

This method returns the NodeId of the current node.<br />

protected IloNum getObjValue()<br />

This method returns the query objective value of the potential incumbent.<br />

<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 160

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!