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