#include <MKC_tm.hpp>
Inheritance diagram for MKC_tm:
Public Member Functions | |
MKC_tm () | |
~MKC_tm () | |
virtual void | pack_module_data (BCP_buffer &buf, BCP_process_t ptype) |
Pack the initial information (info that the user wants to send over) for the process specified by the last argument. | |
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. | |
virtual void | pack_var_algo (const BCP_var_algo *var, BCP_buffer &buf) |
virtual BCP_var_algo * | unpack_var_algo (BCP_buffer &buf) |
virtual void | initialize_core (BCP_vec< BCP_var_core * > &vars, BCP_vec< BCP_cut_core * > &cuts, BCP_lp_relax *&matrix) |
Create the core of the problem by filling out the last three arguments. | |
virtual void | create_root (BCP_vec< BCP_var * > &added_vars, BCP_vec< BCP_cut * > &added_cuts, BCP_user_data *&user_data, BCP_pricing_status &pricing_status) |
virtual void | display_feasible_solution (const BCP_solution *soln) |
Display a feasible solution. | |
virtual void | init_new_phase (int phase, BCP_column_generation &colgen) |
Public Attributes | |
BCP_parameter_set< MKC_tm_par > | tm_par |
BCP_parameter_set< MKC_lp_par > | lp_par |
MKC_knapsack_set | kss |
BCP_vec< MKC_var * > | input_vars |
OsiClpSolverInterface * | clp |
Definition at line 21 of file MKC_tm.hpp.
MKC_tm::MKC_tm | ( | ) | [inline] |
Definition at line 29 of file MKC_tm.hpp.
MKC_tm::~MKC_tm | ( | ) | [inline] |
virtual void MKC_tm::pack_module_data | ( | BCP_buffer & | buf, | |
BCP_process_t | ptype | |||
) | [virtual] |
Pack the initial information (info that the user wants to send over) for the process specified by the last argument.
The information packed here will be unpacked in the unpack_module_data()
method of the user defined class in the appropriate process.
Default: empty method.
Reimplemented from BCP_tm_user.
virtual BCP_solution* MKC_tm::unpack_feasible_solution | ( | BCP_buffer & | buf | ) | [virtual] |
Unpack a MIP feasible solution that was packed by the BCP_lp_user::pack_feasible_solution() method.
Default: Unpacks a BCP_solution_generic object. The built-in default should be used if and only if the built-in default was used in BCP_lp_user::pack_feasible_solution().
Reimplemented from BCP_tm_user.
virtual void MKC_tm::pack_var_algo | ( | const BCP_var_algo * | var, | |
BCP_buffer & | buf | |||
) | [virtual] |
virtual BCP_var_algo* MKC_tm::unpack_var_algo | ( | BCP_buffer & | buf | ) | [virtual] |
virtual void MKC_tm::initialize_core | ( | BCP_vec< BCP_var_core * > & | vars, | |
BCP_vec< BCP_cut_core * > & | cuts, | |||
BCP_lp_relax *& | matrix | |||
) | [virtual] |
Create the core of the problem by filling out the last three arguments.
These variables/cuts will always stay in the LP relaxation and the corresponding matrix is described by the specified matrix. If there is no core variable or cut then the returned pointer for to the matrix should be a null pointer.
Default: empty method, meaning that there are no variables/cuts in the core and this the core matrix is empty (0 pointer) as well.
Reimplemented from BCP_tm_user.
virtual void MKC_tm::create_root | ( | BCP_vec< BCP_var * > & | added_vars, | |
BCP_vec< BCP_cut * > & | added_cuts, | |||
BCP_user_data *& | user_data, | |||
BCP_pricing_status & | pricing_status | |||
) | [virtual] |
virtual void MKC_tm::display_feasible_solution | ( | const BCP_solution * | soln | ) | [virtual] |
virtual void MKC_tm::init_new_phase | ( | int | phase, | |
BCP_column_generation & | colgen | |||
) | [virtual] |
Definition at line 23 of file MKC_tm.hpp.
Definition at line 24 of file MKC_tm.hpp.
Definition at line 25 of file MKC_tm.hpp.