10 class OsiSolverInterface;
BCP_vec< int > _cut_positions
The positions of cuts whose bounds are affected by the branching.
~BCP_internal_brobj()
The desctructor deletes all data members.
BCP_internal_brobj()
The default constructor creates an empty internal branching object (which can be filled later by unpa...
const BCP_vec< int > & var_positions() const
Return a const reference to the vector of positions of variables affected by the branching.
int child_num() const
Return the number of children.
BCP_vec< double >::const_iterator cut_bounds_child(const int index) const
Return a const iterator within _cut_bounds to the location where the bound pairs for the index-th chi...
const BCP_vec< int > & cut_positions() const
Return a const reference to the vector of positions of cuts affected by the branching.
BCP_vec< double > _cut_bounds
Lower/upper bound pairs for the cuts affected by the branching.
This class is the internal representation of a branching object.
void unpack(BCP_buffer &buf)
Unpack an internal branching object from the buffer.
BCP_vec< double > _var_bounds
Lower/upper bound pairs for the variables affected by the branching.
void fint fint fint real fint real real real real real real real real real fint real fint * lp
int affected_cutnum() const
Return the number of affected cuts.
This class describes a generic branching object.
BCP_internal_brobj & operator=(const BCP_internal_brobj &)
The assignment operator is declared but not defined to disable it.
BCP_vec< double >::const_iterator var_bounds_child(const int index) const
Return a const iterator within _var_bounds to the location where the bound pairs for the index-th chi...
BCP_vec< int > _var_positions
The positions of variables whose bounds are affected by the branching.
size_t size() const
Return the current number of entries.
This class describes the message buffer used for all processes of BCP.
void pack(BCP_buffer &buf) const
Pack the internal branching object into the buffer.
iterator entry(const int i)
Return an iterator to the i-th entry.
void apply_child_bounds(OsiSolverInterface *lp, int child_ind) const
Modify the bounds in the LP solver by applying the changes specified for the child_ind-th child...
int _child_num
The number of children in the branching object.
int affected_varnum() const
Return the number of affected variables.