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::NodeCallbackI<br />

protected IloNum getInfeasibilitySum(NodeId nodeid)<br />

This method returns the sum of infeasibility measures at the node with the identifier<br />

nodeid.<br />

protected IloNum getInfeasibilitySum(int node)<br />

This method returns the sum of infeasibility measures at the node indicated by the index<br />

number node.<br />

protected IloInt getNinfeasibilities(NodeId nodeid)<br />

This method returns the number of infeasibilities at the node with the identifier<br />

nodeid.<br />

protected IloInt getNinfeasibilities(int node)<br />

This method returns the number of infeasibilities at the node indicated by the index<br />

number node.<br />

protected NodeData * getNodeData(NodeId nodeid)<br />

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

the user to the node with the identfier nodeid with one of the methods<br />

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

assigned to the that node, 0 (zero) will be returned.<br />

protected NodeData * getNodeData(int node)<br />

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

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

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

assigned to the specified node, 0 (zero) will be returned.<br />

protected NodeId getNodeId(int node)<br />

This method returns the node identifier of the node indicated by the index number<br />

node. During branch & cut, an instance of IloCplex assigns node identifiers<br />

sequentially from 0 (zero) to (getNodes - 1) as it creates nodes. Within a search,<br />

these node identifiers are unique throughout the duration of that search. However, at any<br />

point, the remaining nodes, (that is, the nodes that have not yet been processed) are<br />

stored in an array in an arbitrary order. This method returns the identifier of the node<br />

stored at position node in that array.<br />

protected IloInt getNodeNumber(NodeId nodeid)<br />

Returns the current index number of the node indicated by the node identifier nodeid.<br />

protected IloNum getObjValue(NodeId nodeid)<br />

This method returns the objective value of the node with the identifier node.<br />

protected IloNum getObjValue(int node)<br />

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

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

Saved successfully!

Ooh no, something went wrong!