coin-Bcp
Public Member Functions | Public Attributes | List of all members
BCP_lp_prob Class Reference

NO OLD DOC. More...

#include <BCP_lp.hpp>

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

Public Member Functions

virtual BCP_bufferget_message_buffer ()
 
virtual void process_message ()
 
Constructor and destructor
 BCP_lp_prob (int my_id, int parent)
 
virtual ~BCP_lp_prob ()
 
Methods to pack/unpack objects
void pack_var (const BCP_var &var)
 
BCP_varunpack_var ()
 
void pack_cut (const BCP_cut &cut)
 
BCP_cutunpack_cut ()
 
Acessing parameters
char param (BCP_lp_par::chr_params key) const
 
int param (BCP_lp_par::int_params key) const
 
double param (BCP_lp_par::dbl_params key) const
 
const BCP_stringparam (BCP_lp_par::str_params key) const
 
const BCP_vec< BCP_string > & param (BCP_lp_par::str_array_params key) const
 
double granularity () const
 
Accessing bounds
bool has_ub () const
 
double ub () const
 
bool ub (double new_ub)
 
bool over_ub (double lb) const
 
- Public Member Functions inherited from BCP_process
 BCP_process (int self, int my_parent)
 
virtual ~BCP_process ()
 
int get_process_id () const
 
int get_parent () const
 

Public Attributes

std::vector< OsiObject * > intAndSosObjects
 Things that can be branched on. More...
 
bool user_has_lp_result_processing
 
BCP_vec< BCP_cut * > new_cuts
 
BCP_vec< BCP_row * > new_rows
 
BCP_vec< BCP_var * > new_vars
 
BCP_vec< BCP_col * > new_cols
 
BCP_solutionsol
 
double new_true_lower_bound
 
User provided members
BCP_lp_useruser
 A class that holds the methods about how to pack things. More...
 
BCP_user_packpacker
 A class that holds the methods about how to pack things. More...
 
OsiSolverInterfacemaster_lp
 A class that holds the methods about how to pack things. More...
 
OsiSolverInterfacelp_solver
 A class that holds the methods about how to pack things. More...
 
BCP_message_environmentmsg_env
 A class that holds the methods about how to pack things. More...
 
Parameters
BCP_parameter_set< BCP_lp_parpar
 
Description of the core of the problem
BCP_problem_corecore
 
BCP_problem_core_changecore_as_change
 
Current search tree node and its parent
BCP_lp_nodenode
 Description he current search tree node. More...
 
BCP_lp_parentparent
 Description of the parent of the current node. More...
 
CoinWarmStartwarmstartRoot
 Description of the warmstart info from the end of the root node. More...
 
Information needed for processing a node

Need to be updated when starting a new node.

BCP_lp_resultlp_result
 
int var_bound_changes_since_logical_fixing
 
BCP_vec< BCP_cut * > slack_pool
 
BCP_lp_var_poollocal_var_pool
 
BCP_lp_cut_poollocal_cut_pool
 
int next_var_index
 
int last_var_index
 
int next_cut_index
 
int last_cut_index
 
Time measurement
double start_time
 
BCP_lp_statistics stat
 
Internal data members
double upper_bound
 
int phase
 
int no_more_cuts_cnt
 
int no_more_vars_cnt
 
Message passing related fields
BCP_buffer msg_buf
 

Private Member Functions

Disabled methods
 BCP_lp_prob (const BCP_lp_prob &)
 
BCP_lp_proboperator= (const BCP_lp_prob &)
 

Detailed Description

NO OLD DOC.

Definition at line 102 of file BCP_lp.hpp.

Constructor & Destructor Documentation

BCP_lp_prob::BCP_lp_prob ( const BCP_lp_prob )
private
BCP_lp_prob::BCP_lp_prob ( int  my_id,
int  parent 
)
virtual BCP_lp_prob::~BCP_lp_prob ( )
virtual

Member Function Documentation

BCP_lp_prob& BCP_lp_prob::operator= ( const BCP_lp_prob )
private
void BCP_lp_prob::pack_var ( const BCP_var var)
BCP_var* BCP_lp_prob::unpack_var ( )
void BCP_lp_prob::pack_cut ( const BCP_cut cut)
BCP_cut* BCP_lp_prob::unpack_cut ( )
char BCP_lp_prob::param ( BCP_lp_par::chr_params  key) const
inline

Definition at line 275 of file BCP_lp.hpp.

References BCP_parameter_set< Par >::entry(), and par.

Referenced by granularity().

int BCP_lp_prob::param ( BCP_lp_par::int_params  key) const
inline

Definition at line 278 of file BCP_lp.hpp.

References BCP_parameter_set< Par >::entry(), and par.

double BCP_lp_prob::param ( BCP_lp_par::dbl_params  key) const
inline

Definition at line 281 of file BCP_lp.hpp.

References BCP_parameter_set< Par >::entry(), and par.

const BCP_string& BCP_lp_prob::param ( BCP_lp_par::str_params  key) const
inline

Definition at line 284 of file BCP_lp.hpp.

References BCP_parameter_set< Par >::entry(), and par.

const BCP_vec<BCP_string>& BCP_lp_prob::param ( BCP_lp_par::str_array_params  key) const
inline

Definition at line 287 of file BCP_lp.hpp.

References BCP_parameter_set< Par >::entry(), and par.

double BCP_lp_prob::granularity ( ) const
inline

Definition at line 289 of file BCP_lp.hpp.

References BCP_lp_par::Granularity, and param().

Referenced by over_ub().

bool BCP_lp_prob::has_ub ( ) const
inline

Definition at line 298 of file BCP_lp.hpp.

References BCP_DBL_MAX, and upper_bound.

Referenced by over_ub().

double BCP_lp_prob::ub ( ) const
inline

Definition at line 300 of file BCP_lp.hpp.

References upper_bound.

bool BCP_lp_prob::ub ( double  new_ub)
inline

Definition at line 302 of file BCP_lp.hpp.

References upper_bound.

bool BCP_lp_prob::over_ub ( double  lb) const
inline

Definition at line 310 of file BCP_lp.hpp.

References granularity(), has_ub(), and upper_bound.

virtual BCP_buffer& BCP_lp_prob::get_message_buffer ( )
inlinevirtual

Implements BCP_process.

Definition at line 316 of file BCP_lp.hpp.

References msg_buf.

virtual void BCP_lp_prob::process_message ( )
virtual

Implements BCP_process.

Member Data Documentation

BCP_lp_user* BCP_lp_prob::user

A class that holds the methods about how to pack things.

Definition at line 131 of file BCP_lp.hpp.

BCP_user_pack* BCP_lp_prob::packer

A class that holds the methods about how to pack things.

Definition at line 133 of file BCP_lp.hpp.

OsiSolverInterface* BCP_lp_prob::master_lp

A class that holds the methods about how to pack things.

Definition at line 135 of file BCP_lp.hpp.

OsiSolverInterface* BCP_lp_prob::lp_solver

A class that holds the methods about how to pack things.

Definition at line 137 of file BCP_lp.hpp.

BCP_message_environment* BCP_lp_prob::msg_env

A class that holds the methods about how to pack things.

Definition at line 139 of file BCP_lp.hpp.

BCP_parameter_set<BCP_lp_par> BCP_lp_prob::par

Definition at line 145 of file BCP_lp.hpp.

Referenced by param().

BCP_problem_core* BCP_lp_prob::core

Definition at line 153 of file BCP_lp.hpp.

BCP_problem_core_change* BCP_lp_prob::core_as_change

Definition at line 155 of file BCP_lp.hpp.

std::vector<OsiObject *> BCP_lp_prob::intAndSosObjects

Things that can be branched on.

If not filled out then BCP scans for them every time a new node is processed.

Definition at line 161 of file BCP_lp.hpp.

BCP_lp_node* BCP_lp_prob::node

Description he current search tree node.

Definition at line 168 of file BCP_lp.hpp.

BCP_lp_parent* BCP_lp_prob::parent

Description of the parent of the current node.

Definition at line 170 of file BCP_lp.hpp.

CoinWarmStart* BCP_lp_prob::warmstartRoot

Description of the warmstart info from the end of the root node.

Used only if the BCP_lp_par::WarmstartInfo parameter is set to BCP_WarmstartRoot.

Definition at line 174 of file BCP_lp.hpp.

BCP_lp_result* BCP_lp_prob::lp_result

Definition at line 185 of file BCP_lp.hpp.

int BCP_lp_prob::var_bound_changes_since_logical_fixing

Definition at line 187 of file BCP_lp.hpp.

BCP_vec<BCP_cut*> BCP_lp_prob::slack_pool

Definition at line 189 of file BCP_lp.hpp.

BCP_lp_var_pool* BCP_lp_prob::local_var_pool

Definition at line 191 of file BCP_lp.hpp.

BCP_lp_cut_pool* BCP_lp_prob::local_cut_pool

Definition at line 193 of file BCP_lp.hpp.

int BCP_lp_prob::next_var_index

Definition at line 197 of file BCP_lp.hpp.

int BCP_lp_prob::last_var_index

Definition at line 199 of file BCP_lp.hpp.

int BCP_lp_prob::next_cut_index

Definition at line 201 of file BCP_lp.hpp.

int BCP_lp_prob::last_cut_index

Definition at line 203 of file BCP_lp.hpp.

double BCP_lp_prob::start_time

Definition at line 211 of file BCP_lp.hpp.

BCP_lp_statistics BCP_lp_prob::stat

Definition at line 213 of file BCP_lp.hpp.

double BCP_lp_prob::upper_bound

Definition at line 222 of file BCP_lp.hpp.

Referenced by has_ub(), over_ub(), and ub().

int BCP_lp_prob::phase

Definition at line 224 of file BCP_lp.hpp.

int BCP_lp_prob::no_more_cuts_cnt

Definition at line 226 of file BCP_lp.hpp.

int BCP_lp_prob::no_more_vars_cnt

Definition at line 230 of file BCP_lp.hpp.

BCP_buffer BCP_lp_prob::msg_buf

Definition at line 239 of file BCP_lp.hpp.

Referenced by get_message_buffer().

bool BCP_lp_prob::user_has_lp_result_processing

Definition at line 244 of file BCP_lp.hpp.

BCP_vec<BCP_cut*> BCP_lp_prob::new_cuts

Definition at line 245 of file BCP_lp.hpp.

BCP_vec<BCP_row*> BCP_lp_prob::new_rows

Definition at line 246 of file BCP_lp.hpp.

BCP_vec<BCP_var*> BCP_lp_prob::new_vars

Definition at line 247 of file BCP_lp.hpp.

BCP_vec<BCP_col*> BCP_lp_prob::new_cols

Definition at line 248 of file BCP_lp.hpp.

BCP_solution* BCP_lp_prob::sol

Definition at line 249 of file BCP_lp.hpp.

double BCP_lp_prob::new_true_lower_bound

Definition at line 250 of file BCP_lp.hpp.


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