#include <OS_tm.hpp>
Public Member Functions | |
void | readInput (const char *filename) |
Read input and set up data in class OS_prob. | |
virtual void | initialize_core (BCP_vec< BCP_var_core * > &vars, BCP_vec< BCP_cut_core * > &cuts, BCP_lp_relax *&matrix) |
Packing of algorithmic cuts. | |
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. | |
virtual void | display_feasible_solution (const BCP_solution *sol) |
Print a feasible solution. | |
Constructors and destructors | |
OS_tm () | |
Default constructor. | |
virtual | ~OS_tm () |
Default destructor. | |
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. | |
Private Attributes | |
Private data member | |
OS_prob | os_prob |
Pointer to the description of the problem. |
Definition at line 29 of file OS_tm.hpp.
void OS_tm::readInput | ( | const char * | filename | ) |
void OS_tm::pack_module_data | ( | BCP_buffer & | buf, | |
BCP_process_t | ptype | |||
) | [virtual] |
Pack data into a buffer; will not work in parallel environment as it uses pointer.
Reimplemented from BCP_tm_user.
void OS_tm::initialize_core | ( | BCP_vec< BCP_var_core * > & | vars, | |
BCP_vec< BCP_cut_core * > & | cuts, | |||
BCP_lp_relax *& | matrix | |||
) | [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.
void OS_tm::create_root | ( | BCP_vec< BCP_var * > & | added_vars, | |
BCP_vec< BCP_cut * > & | added_cuts, | |||
BCP_user_data *& | user_data | |||
) | [virtual] |
Create the root node of the enumeration.
Reimplemented from BCP_tm_user.
void OS_tm::display_feasible_solution | ( | const BCP_solution * | sol | ) | [virtual] |
Print a feasible solution.
Reimplemented from BCP_tm_user.
OS_prob OS_tm::os_prob [private] |