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