#include <BM.hpp>
Collaboration diagram for BM_tm:
Public Member Functions | |
virtual void | initialize_core (BCP_vec< BCP_var_core * > &vars, BCP_vec< BCP_cut_core * > &cuts, BCP_lp_relax *&matrix) |
Pass the core constraints and core variables to bcp. | |
virtual void | create_root (BCP_vec< BCP_var * > &added_vars, BCP_vec< BCP_cut * > &added_cuts, BCP_user_data *&user_data) |
Create the set of extra variables and cuts that should be added to the formulation in the root node. | |
virtual void | display_feasible_solution (const BCP_solution *sol) |
Print a feasible solution. | |
virtual void | process_message (BCP_buffer &buf) |
Process a message that has been sent by another process' user part to this process' user part. | |
void | receive_pseudo_cost_update (BCP_buffer &buf) |
void | pack_pseudo_costs (BCP_buffer &buf) |
virtual void | display_final_information (const BCP_lp_statistics &lp_stat) |
Output the final solution. | |
virtual void | init_new_phase (int phase, BCP_column_generation &colgen, CoinSearchTreeBase *&candidates) |
void | readIpopt () |
Constructors and destructors | |
BM_tm () | |
Default constructor. | |
virtual | ~BM_tm () |
Default destructor. | |
Packing and unpacking methods | |
virtual void | pack_module_data (BCP_buffer &buf, BCP_process_t ptype) |
Public Attributes | |
Private data member | |
BCP_string | ipopt_file_content |
BCP_string | nl_file_content |
BCP_parameter_set< BM_par > | par |
OsiPseudoCosts | pseudoCosts_ |
Private Member Functions | |
void | write_AMPL_solution (const BCP_solution *sol, bool write_file, bool write_screen) |
auxilliary method for handling output for AMPL |
Definition at line 170 of file BM.hpp.
virtual BM_tm::~BM_tm | ( | ) | [inline, virtual] |
virtual void BM_tm::pack_module_data | ( | BCP_buffer & | buf, | |
BCP_process_t | ptype | |||
) | [virtual] |
virtual void BM_tm::initialize_core | ( | BCP_vec< BCP_var_core * > & | vars, | |
BCP_vec< BCP_cut_core * > & | cuts, | |||
BCP_lp_relax *& | matrix | |||
) | [virtual] |
Pass the core constraints and core variables to bcp.
virtual void BM_tm::create_root | ( | BCP_vec< BCP_var * > & | added_vars, | |
BCP_vec< BCP_cut * > & | added_cuts, | |||
BCP_user_data *& | user_data | |||
) | [virtual] |
Create the set of extra variables and cuts that should be added to the formulation in the root node.
Also decide how variable pricing shuld be done, that is, if column generation is requested in the init_new_phase() method of this class then column generation should be performed according to pricing_status
.
virtual void BM_tm::display_feasible_solution | ( | const BCP_solution * | sol | ) | [virtual] |
Print a feasible solution.
virtual void BM_tm::process_message | ( | BCP_buffer & | buf | ) | [virtual] |
Process a message that has been sent by another process' user part to this process' user part.
void BM_tm::receive_pseudo_cost_update | ( | BCP_buffer & | buf | ) |
void BM_tm::pack_pseudo_costs | ( | BCP_buffer & | buf | ) |
virtual void BM_tm::display_final_information | ( | const BCP_lp_statistics & | lp_stat | ) | [virtual] |
Output the final solution.
virtual void BM_tm::init_new_phase | ( | int | phase, | |
BCP_column_generation & | colgen, | |||
CoinSearchTreeBase *& | candidates | |||
) | [virtual] |
void BM_tm::readIpopt | ( | ) |
void BM_tm::write_AMPL_solution | ( | const BCP_solution * | sol, | |
bool | write_file, | |||
bool | write_screen | |||
) | [private] |
auxilliary method for handling output for AMPL
BCP_string BM_tm::ipopt_file_content |
BCP_string BM_tm::nl_file_content |
BCP_parameter_set<BM_par> BM_tm::par |