int current_level() const
Return the level of the search tree node for which cuts are being generated.
int current_iteration() const
Return the iteration count within the search tree node for which cuts are being generated.
virtual void unpack_dual_solution(BCP_buffer &buf)
Unpack the LP solution arriving from the LP process.
Abstract base class that defines members common to all types of cuts.
This is the class from which the user should derive her own algorithmic cuts.
double upper_bound() const
Return what is the best known upper bound (might be BCP_DBL_MAX)
void set_param(const BCP_vg_par::chr_params key, const bool val)
The BCP_vg_user class is the base class from which the user can derive a problem specific class to be...
BCP_vg_prob * getVgProblemPointer()
Get the pointer.
This class is a very simple impelementation of a constant length string.
static const CouNumber pi
void setVgProblemPointer(BCP_vg_prob *ptr)
Set the pointer.
char get_param(const BCP_vg_par::chr_params key) const
BCP_vg_user()
Being virtual, the destructor invokes the destructor for the real type of the object being deleted...
virtual void generate_vars(BCP_vec< BCP_cut * > &cuts, BCP_vec< double > &pi)
Perform the actual variable generation.
Abstract base class that defines members common to all types of variables.
int current_index() const
Return the internal index of the search tree node for which cuts are being generated.
This is the class from which the user should derive her own algorithmic variables.
This class describes the message buffer used for all processes of BCP.
void send_var(const BCP_var &var)
Pack the argument into the message buffer and send it to the sender of the LP solution.
int current_phase() const
Return the phase the algorithm is in.
This class is the central class of the Variable Generator process.
virtual ~BCP_vg_user()
Being virtual, the destructor invokes the destructor for the real type of the object being deleted...
virtual void unpack_module_data(BCP_buffer &buf)
Unpack the initial information sent to the Variable Generator process by the Tree Manager...