This class describes the core of the MIP problem, the variables/cuts in it as well as the matrix corr...
bool has_ub() const
Return true/false indicating whether any upper bound has been found.
int node_index
The index of search tree node where the solution was generated.
BCP_vec< double > x
The primal values corresponding to the variables above.
int sender
The process id of the LP process that sent the solution.
BCP_problem_core * core
The description of the core of the problem.
This is an abstract base class that describes the message passing environment.
Abstract base class that defines members common to all types of cuts.
This class is the central class of the Cut Generator process.
bool BCP_cg_process_message(BCP_cg_prob &p, BCP_buffer &buf)
bool probe_messages()
Test if there is a message in the message queue waiting to be processed.
BCP_vec< BCP_var * > vars
Cuts are to be generated for the LP solution given by these variables and their values (next member)...
int phase
The phase the algorithm is in.
The BCP_cg_user class is the base class from which the user can derive a problem specific class to be...
BCP_buffer msg_buf
The message buffer of the Cut Generator process.
double upper_bound
The proc id of the tree manager.
Abstract base class that defines members common to all types of variables.
void ub(const double bd)
Set the upper bound equal to the argument.
int node_iteration
The iteration within the search tree node where the solution was generated.
This class describes the message buffer used for all processes of BCP.
BCP_cg_prob(const BCP_cg_prob &)
The copy constructor is declared but not defined to disable it.
virtual ~BCP_cg_prob()
The destructor deletes everything.
BCP_user_pack * packer
A class that holds the methods about how to pack things.
virtual void process_message()
BCP_message_environment * msg_env
The message passing environment.
BCP_cg_prob & operator=(const BCP_cg_prob &)
The assignment operator is declared but not defined to disable it.
BCP_var * unpack_var()
Unpack a variable.
int node_level
The level of search tree node where the solution was generated.
BCP_parameter_set< BCP_cg_par > par
The parameters controlling the Cut Generator process.
BCP_cg_user * user
The user object holding the user's data.
double ub() const
Return the current upper bound (BCP_DBL_MAX if there's no upper bound found yet.) ...
virtual BCP_buffer & get_message_buffer()