BM_tm Class Reference

#include <BM.hpp>

Collaboration diagram for BM_tm:

Collaboration graph
[legend]
List of all members.

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_parpar
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

Detailed Description

Definition at line 170 of file BM.hpp.


Constructor & Destructor Documentation

BM_tm::BM_tm (  )  [inline]

Default constructor.

Definition at line 185 of file BM.hpp.

virtual BM_tm::~BM_tm (  )  [inline, virtual]

Default destructor.

Definition at line 188 of file BM.hpp.


Member Function Documentation

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


Member Data Documentation

BCP_string BM_tm::ipopt_file_content

Definition at line 175 of file BM.hpp.

BCP_string BM_tm::nl_file_content

Definition at line 176 of file BM.hpp.

BCP_parameter_set<BM_par> BM_tm::par

Definition at line 177 of file BM.hpp.

OsiPseudoCosts BM_tm::pseudoCosts_

Definition at line 178 of file BM.hpp.


The documentation for this class was generated from the following file:
Generated on Sat Jun 21 03:09:55 2008 for Bonmin by  doxygen 1.4.7