MCF2_tm Class Reference

#include <MCF2_tm.hpp>

Inheritance diagram for MCF2_tm:
Inheritance graph
[legend]
Collaboration diagram for MCF2_tm:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MCF2_tm ()
virtual ~MCF2_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 void init_new_phase (int phase, BCP_column_generation &colgen, CoinSearchTreeBase *&candidates)
 Do whatever initialization is necessary before the phase-th phase.
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)
 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)
 Display a feasible solution.

Public Attributes

BCP_parameter_set< MCF2_parpar
MCF2_data data

Detailed Description

Definition at line 27 of file MCF2_tm.hpp.


Constructor & Destructor Documentation

MCF2_tm::MCF2_tm (  )  [inline]

Definition at line 34 of file MCF2_tm.hpp.

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

Definition at line 35 of file MCF2_tm.hpp.


Member Function Documentation

virtual void MCF2_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 void MCF2_tm::init_new_phase ( int  phase,
BCP_column_generation colgen,
CoinSearchTreeBase *&  candidates 
) [virtual]

Do whatever initialization is necessary before the phase-th phase.

(E.g., setting the pricing strategy.)

Reimplemented from BCP_tm_user.

virtual void MCF2_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 MCF2_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.

Default: empty method, meaning that no variables/cuts are added, there is no user data and no pricing should be done.

Reimplemented from BCP_tm_user.

virtual void MCF2_tm::display_feasible_solution ( const BCP_solution sol  )  [virtual]

Display a feasible solution.

Reimplemented from BCP_tm_user.


Member Data Documentation

Definition at line 30 of file MCF2_tm.hpp.

Definition at line 31 of file MCF2_tm.hpp.


The documentation for this class was generated from the following file:

Generated on 17 Sep 2013 for coin-Bcp by  doxygen 1.6.1