6 #include "OsiSolverInterface.hpp"
10 _child_num(candidate.child_num),
11 _var_positions(), _cut_positions(), _var_bounds(), _cut_bounds()
BCP_vec< int > _cut_positions
The positions of cuts whose bounds are affected by the branching.
BCP_buffer & pack(const T &value)
Pack a single object of type T.
BCP_internal_brobj()
The default constructor creates an empty internal branching object (which can be filled later by unpa...
BCP_buffer & unpack(T &value)
Unpack a single object of type T.
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...
iterator begin()
Return an iterator to the beginning of the object.
BCP_vec< double > * forced_var_bd
Contains the actual bounds for the variables indexed by forced_var_pos.
BCP_vec< double > _cut_bounds
Lower/upper bound pairs for the cuts affected by the branching.
void unpack(BCP_buffer &buf)
Unpack an internal branching object from the buffer.
BCP_vec< int > * forced_cut_pos
Positions of cuts whose bounds change ("forcibly", by branching) in the children. ...
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
This class describes a generic branching object.
BCP_vec< double > * forced_cut_bd
Contains the actual bounds for the cuts indexed by forced_cut_pos.
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.
BCP_vec< int > * forced_var_pos
Positions of variables whose bounds change ("forcibly", by branching) in the children.
size_t size() const
Return the current number of entries.
iterator end()
Return an iterator to the end of the object.
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.
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.