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