23 lp(-1), cg(-1), cp(-1), vg(-1), vp(-1),
24 _processed_leaf_num(0),
26 _tobepriced_leaf_num(0),
32 _locally_stored(true),
66 while (child != lastchild) {
68 (*child)->_index = -1;
83 for (i = num_children - 1; i >= 0; --i) {
89 Trying to remove nonexistent child.\n");
115 node->getTrueLB() > obj_limit) ||
116 is_next_phase ) ? 1 : 0;
125 for (child = node->
_children.
begin(); child != lastchild; ++child) {
144 worstlb = node->getTrueLB();
148 for (child = node->
_children.
begin(); child != lastchild; ++child) {
150 if (childlb < worstlb)
static int num_local_nodes
void clear()
Delete every entry.
BCP_vec< BCP_tm_node * > _children
void enumerate_leaves(BCP_tm_node *node, const double obj_limit)
Return the worst true lower bound in the search tree.
BCP_tm_node_status status
BCP_tm_node(const BCP_tm_node &)
The copy constructor is declared but not defined to disable it.
static int num_remote_nodes
iterator begin()
Return an iterator to the beginning of the object.
void fint fint fint real fint real real real real real real real real real fint real fint * lp
void pop_back()
Delete the last entry.
BCP_tm_node * child(int ind)
int mark_descendants_for_deletion()
BCP_tm_node_status
Node status in the Tree Manager.
void remove_child(BCP_tm_node *node)
Currently there isn't any error handling in BCP.
double true_lower_bound(const BCP_tm_node *node) const
Return the worst true lower bound in the search tree.
iterator end()
Return an iterator to the end of the object.
The class BCP_vec serves the same purpose as the vector class in the standard template library...