37 BCP_vg_prob(
const BCP_vg_prob&);
39 BCP_vg_prob& operator=(
const BCP_vg_prob&);
bool BCP_vg_process_message(BCP_vg_prob &p, BCP_buffer &buf)
This class describes the message buffer used for all processes of BCP.
Abstract base class that defines members common to all types of cuts.
This is an abstract base class that describes the message passing environment.
This is the class serves as a holder for a set of parameters.
This class describes the core of the MIP problem, the variables/cuts in it as well as the matrix corr...
BCP_process(int self, int my_parent)
Abstract base class that defines members common to all types of variables.
The class BCP_vec serves the same purpose as the vector class in the standard template library.
This class is the central class of the Variable Generator process.
int node_level
The level of search tree node where the solution was generated.
bool probe_messages()
Test if there is a message in the message queue waiting to be processed.
void ub(const double bd)
Set the upper bound equal to the argument.
BCP_vec< double > pi
The dual values corresponding to the cuts above.
BCP_vg_user * user
The user object holding the user's data.
BCP_user_pack * packer
A class that holds the methods about how to pack things.
int node_iteration
The iteration within the search tree node where the solution was generated.
double upper_bound
The proc id of the Tree Manager.
double ub() const
Return the current upper bound (BCP_DBL_MAX/10 if there's no upper bound found yet....
int phase
The phase the algorithm is in.
virtual ~BCP_vg_prob()
The destructor deletes everything.
bool has_ub() const
Return true/false indicating whether any upper bound has been found.
virtual BCP_buffer & get_message_buffer()
BCP_vg_prob(int my_id, int parent)
The default constructor.
BCP_parameter_set< BCP_vg_par > par
The parameters controlling the Variable Generator process.
BCP_message_environment * msg_env
The message passing environment.
BCP_buffer msg_buf
The message buffer of the Variable Generator process.
int sender
The process id of the LP process that sent the solution.
BCP_vec< BCP_cut * > cuts
Variables are to be generated for the LP solution given by these cuts and their values (next member).
BCP_problem_core * core
The description of the core of the problem.
BCP_cut * unpack_cut()
Unpack a cut.
int node_index
The index of search tree node where the solution was generated.
virtual void process_message()
The BCP_vg_user class is the base class from which the user can derive a problem specific class to be...