#include <OS_tm.hpp>


Public Member Functions | |
| void | readInput (const char *filename) |
| Read input and set up data in class OS_prob. More... | |
| virtual void | initialize_core (BCP_vec< BCP_var_core * > &vars, BCP_vec< BCP_cut_core * > &cuts, BCP_lp_relax *&matrix) |
| Packing of algorithmic cuts. More... | |
| virtual void | create_root (BCP_vec< BCP_var * > &added_vars, BCP_vec< BCP_cut * > &added_cuts, BCP_user_data *&user_data) |
| Create the root node of the enumeration. More... | |
| virtual void | display_feasible_solution (const BCP_solution *sol) |
| Print a feasible solution. More... | |
Constructors and destructors | |
| OS_tm () | |
| Default constructor. More... | |
| virtual | ~OS_tm () |
| Default destructor. More... | |
Packing and unpacking methods | |
| virtual void | pack_module_data (BCP_buffer &buf, BCP_process_t ptype) |
| Pack data into a buffer; will not work in parallel environment as it uses pointer. More... | |
Public Member Functions inherited from BCP_tm_user | |
| int | process_id () const |
| What is the process id of the current process. More... | |
| void | send_message (const int target, const BCP_buffer &buf) |
| Send a message to a particular process. More... | |
| void | broadcast_message (const BCP_process_t proc_type, const BCP_buffer &buf) |
| Broadcast the message to all processes of the given type. More... | |
| virtual void | process_message (BCP_buffer &buf) |
| Process a message that has been sent by another process' user part to this process' user part. More... | |
| virtual void | display_node_information (BCP_tree &search_tree, const BCP_tm_node &node) |
| Display user information just before a new node is sent to the LP or diving into a node is acknowledged. More... | |
| virtual void | display_node_information (BCP_tree &search_tree, const BCP_tm_node &node, bool after_processing_node) |
| Display user information. More... | |
| virtual void | display_final_information (const BCP_lp_statistics &lp_stat) |
| Display information after BCP finished processing the search tree. More... | |
| void | setTmProblemPointer (BCP_tm_prob *ptr) |
| Set the pointer. More... | |
| BCP_tm_prob * | getTmProblemPointer () const |
| Get the pointer. More... | |
| double | upper_bound () const |
| Return what is the best known upper bound (might be BCP_DBL_MAX) More... | |
| double | lower_bound () const |
| Return a global lower bound. More... | |
| char | get_param (const BCP_tm_par::chr_params key) const |
| int | get_param (const BCP_tm_par::int_params key) const |
| double | get_param (const BCP_tm_par::dbl_params key) const |
| const BCP_string & | get_param (const BCP_tm_par::str_params key) const |
| void | set_param (const BCP_tm_par::chr_params key, const bool val) |
| void | set_param (const BCP_tm_par::chr_params key, const char val) |
| void | set_param (const BCP_tm_par::int_params key, const int val) |
| void | set_param (const BCP_tm_par::dbl_params key, const double val) |
| void | set_param (const BCP_tm_par::str_params key, const char *val) |
| BCP_tm_user () | |
| Being virtual, the destructor invokes the destructor for the real type of the object being deleted. More... | |
| virtual | ~BCP_tm_user () |
| Being virtual, the destructor invokes the destructor for the real type of the object being deleted. More... | |
| virtual BCP_solution * | unpack_feasible_solution (BCP_buffer &buf) |
| Unpack a MIP feasible solution that was packed by the BCP_lp_user::pack_feasible_solution() method. More... | |
| virtual bool | replace_solution (const BCP_solution *old_sol, const BCP_solution *new_sol) |
| Decide whether to replace old_sol with new_sol. More... | |
| virtual void | init_new_phase (int phase, BCP_column_generation &colgen, CoinSearchTreeBase *&candidates) |
Do whatever initialization is necessary before the phase-th phase. More... | |
| virtual void | change_candidate_heap (CoinSearchTreeManager &candidates, const bool new_solution) |
Public Member Functions inherited from BCP_user_class | |
| virtual | ~BCP_user_class () |
Private Attributes | |
Private data member | |
| OS_prob | os_prob |
| Pointer to the description of the problem. More... | |
| void OS_tm::readInput | ( | const char * | filename | ) |
|
virtual |
Pack data into a buffer; will not work in parallel environment as it uses pointer.
Reimplemented from BCP_tm_user.
|
virtual |
Packing of algorithmic cuts.
Unpacking of algorithmic cuts Packing of user data Unpacking of user_data Pass the core constraints and core variables to bcp
Reimplemented from BCP_tm_user.
|
virtual |
Create the root node of the enumeration.
Reimplemented from BCP_tm_user.
|
virtual |
Print a feasible solution.
Reimplemented from BCP_tm_user.
|
private |
1.8.5