3 #ifndef _BCP_TMSTORAGE_H 4 #define _BCP_TMSTORAGE_H 102 std::map<int, BCP_ts_node_data*>
nodes;
104 std::map<int, BCP_var_algo*>
vars;
106 std::map<int, BCP_cut_algo*>
cuts;
BCP_vec< int > positions
positions in the TM of requested nodes/vars/cuts
void set_param(const BCP_ts_par::chr_params key, const bool val)
virtual void unpack_module_data(BCP_buffer &buf)
Unpack the initial information sent to the LP process by the Tree Manager.
This is the class from which the user should derive her own algorithmic variables.
void set_entry(const chr_params key, const char val)
Same as BCP_tm_node_data, just there's no need to use smart pointers in this process.
void set_param(const BCP_ts_par::str_params key, const char *val)
BCP_vec< int > indices
a list of indices of nodes/vars/cuts that are requested/tobe deleted
BCP_ts_prob * getTsProblemPointer()
Get the pointer.
This class describes the core of the MIP problem, the variables/cuts in it as well as the matrix corr...
char get_param(const BCP_ts_par::chr_params key) const
This class describes the message buffer used for all processes of BCP.
This is an abstract base class that describes the message passing environment.
void setTsProblemPointer(BCP_ts_prob *ptr)
Set the pointer.
virtual void process_message()
BCP_parameter_set< BCP_ts_par > par
This is the class from which the user should derive her own algorithmic cuts.
std::map< int, BCP_cut_algo * > cuts
virtual BCP_buffer & get_message_buffer()
void set_param(const BCP_ts_par::int_params key, const int val)
BCP_message_environment * msg_env
BCP_ts_prob(int my_id, int parent)
virtual ~BCP_ts_user()
Being virtual, the destructor invokes the destructor for the real type of the object being deleted.
char entry(const chr_params key) const
std::map< int, BCP_ts_node_data * > nodes
void set_param(const BCP_ts_par::chr_params key, const char val)
This class is a very simple impelementation of a constant length string.
The maximum size of the memory heap the TS can use.
std::map< int, BCP_var_algo * > vars
int get_param(const BCP_ts_par::int_params key) const
void set_param(const BCP_ts_par::dbl_params key, const double val)
double get_param(const BCP_ts_par::dbl_params key) const
const BCP_string & get_param(const BCP_ts_par::str_params key) const