Bcp 1.4.4
Loading...
Searching...
No Matches
BCP_lp_prob Class Reference

NO OLD DOC. More...

#include <BCP_lp.hpp>

+ Inheritance diagram for BCP_lp_prob:
+ Collaboration diagram for BCP_lp_prob:

Public Member Functions

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
 
virtual BCP_bufferget_message_buffer ()
 
virtual void process_message ()
 
- 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

User provided members
BCP_lp_useruser
 
BCP_user_packpacker
 A class that holds the methods about how to pack things.
 
OsiSolverInterfacemaster_lp
 
OsiSolverInterfacelp_solver
 
BCP_message_environmentmsg_env
 
Parameters
BCP_parameter_set< BCP_lp_parpar
 
Description of the core of the problem
BCP_problem_corecore
 
BCP_problem_core_changecore_as_change
 
std::vector< OsiObject * > intAndSosObjects
 Things that can be branched on.
 
Current search tree node and its parent
BCP_lp_nodenode
 Description he current search tree node.
 
BCP_lp_parentparent
 Description of the parent of the current node.
 
CoinWarmStartwarmstartRoot
 Description of the warmstart info from the end of the root node.
 
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
 
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
 

Detailed Description

NO OLD DOC.

Definition at line 102 of file BCP_lp.hpp.

Constructor & Destructor Documentation

◆ BCP_lp_prob()

BCP_lp_prob::BCP_lp_prob ( int my_id,
int parent )

◆ ~BCP_lp_prob()

virtual BCP_lp_prob::~BCP_lp_prob ( )
virtual

Member Function Documentation

◆ pack_var()

void BCP_lp_prob::pack_var ( const BCP_var & var)

◆ unpack_var()

BCP_var * BCP_lp_prob::unpack_var ( )

◆ pack_cut()

void BCP_lp_prob::pack_cut ( const BCP_cut & cut)

◆ unpack_cut()

BCP_cut * BCP_lp_prob::unpack_cut ( )

◆ param() [1/5]

char BCP_lp_prob::param ( BCP_lp_par::chr_params key) const
inline

Definition at line 275 of file BCP_lp.hpp.

◆ param() [2/5]

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

Definition at line 278 of file BCP_lp.hpp.

◆ param() [3/5]

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

Definition at line 281 of file BCP_lp.hpp.

◆ param() [4/5]

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

Definition at line 284 of file BCP_lp.hpp.

◆ param() [5/5]

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.

◆ granularity()

double BCP_lp_prob::granularity ( ) const
inline

Definition at line 289 of file BCP_lp.hpp.

◆ has_ub()

bool BCP_lp_prob::has_ub ( ) const
inline

Definition at line 298 of file BCP_lp.hpp.

◆ ub() [1/2]

double BCP_lp_prob::ub ( ) const
inline

Definition at line 300 of file BCP_lp.hpp.

◆ ub() [2/2]

bool BCP_lp_prob::ub ( double new_ub)
inline

Definition at line 302 of file BCP_lp.hpp.

◆ over_ub()

bool BCP_lp_prob::over_ub ( double lb) const
inline

Definition at line 310 of file BCP_lp.hpp.

◆ get_message_buffer()

virtual BCP_buffer & BCP_lp_prob::get_message_buffer ( )
inlinevirtual

Implements BCP_process.

Definition at line 316 of file BCP_lp.hpp.

◆ process_message()

virtual void BCP_lp_prob::process_message ( )
virtual

Implements BCP_process.

Member Data Documentation

◆ user

BCP_lp_user* BCP_lp_prob::user

Definition at line 131 of file BCP_lp.hpp.

◆ packer

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.

◆ master_lp

OsiSolverInterface* BCP_lp_prob::master_lp

Definition at line 135 of file BCP_lp.hpp.

◆ lp_solver

OsiSolverInterface* BCP_lp_prob::lp_solver

Definition at line 137 of file BCP_lp.hpp.

◆ msg_env

BCP_message_environment* BCP_lp_prob::msg_env

Definition at line 139 of file BCP_lp.hpp.

◆ par

BCP_parameter_set<BCP_lp_par> BCP_lp_prob::par

Definition at line 145 of file BCP_lp.hpp.

◆ core

BCP_problem_core* BCP_lp_prob::core

Definition at line 153 of file BCP_lp.hpp.

◆ core_as_change

BCP_problem_core_change* BCP_lp_prob::core_as_change

Definition at line 155 of file BCP_lp.hpp.

◆ intAndSosObjects

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.

◆ node

BCP_lp_node* BCP_lp_prob::node

Description he current search tree node.

Definition at line 168 of file BCP_lp.hpp.

◆ parent

BCP_lp_parent* BCP_lp_prob::parent

Description of the parent of the current node.

Definition at line 170 of file BCP_lp.hpp.

◆ warmstartRoot

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.

◆ lp_result

BCP_lp_result* BCP_lp_prob::lp_result

Definition at line 185 of file BCP_lp.hpp.

◆ var_bound_changes_since_logical_fixing

int BCP_lp_prob::var_bound_changes_since_logical_fixing

Definition at line 187 of file BCP_lp.hpp.

◆ slack_pool

BCP_vec<BCP_cut*> BCP_lp_prob::slack_pool

Definition at line 189 of file BCP_lp.hpp.

◆ local_var_pool

BCP_lp_var_pool* BCP_lp_prob::local_var_pool

Definition at line 191 of file BCP_lp.hpp.

◆ local_cut_pool

BCP_lp_cut_pool* BCP_lp_prob::local_cut_pool

Definition at line 193 of file BCP_lp.hpp.

◆ next_var_index

int BCP_lp_prob::next_var_index

Definition at line 197 of file BCP_lp.hpp.

◆ last_var_index

int BCP_lp_prob::last_var_index

Definition at line 199 of file BCP_lp.hpp.

◆ next_cut_index

int BCP_lp_prob::next_cut_index

Definition at line 201 of file BCP_lp.hpp.

◆ last_cut_index

int BCP_lp_prob::last_cut_index

Definition at line 203 of file BCP_lp.hpp.

◆ start_time

double BCP_lp_prob::start_time

Definition at line 211 of file BCP_lp.hpp.

◆ stat

BCP_lp_statistics BCP_lp_prob::stat

Definition at line 213 of file BCP_lp.hpp.

◆ upper_bound

double BCP_lp_prob::upper_bound

Definition at line 222 of file BCP_lp.hpp.

◆ phase

int BCP_lp_prob::phase

Definition at line 224 of file BCP_lp.hpp.

◆ no_more_cuts_cnt

int BCP_lp_prob::no_more_cuts_cnt

Definition at line 226 of file BCP_lp.hpp.

◆ no_more_vars_cnt

int BCP_lp_prob::no_more_vars_cnt

Definition at line 230 of file BCP_lp.hpp.

◆ msg_buf

BCP_buffer BCP_lp_prob::msg_buf

Definition at line 239 of file BCP_lp.hpp.

◆ user_has_lp_result_processing

bool BCP_lp_prob::user_has_lp_result_processing

Definition at line 244 of file BCP_lp.hpp.

◆ new_cuts

BCP_vec<BCP_cut*> BCP_lp_prob::new_cuts

Definition at line 245 of file BCP_lp.hpp.

◆ new_rows

BCP_vec<BCP_row*> BCP_lp_prob::new_rows

Definition at line 246 of file BCP_lp.hpp.

◆ new_vars

BCP_vec<BCP_var*> BCP_lp_prob::new_vars

Definition at line 247 of file BCP_lp.hpp.

◆ new_cols

BCP_vec<BCP_col*> BCP_lp_prob::new_cols

Definition at line 248 of file BCP_lp.hpp.

◆ sol

BCP_solution* BCP_lp_prob::sol

Definition at line 249 of file BCP_lp.hpp.

◆ new_true_lower_bound

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: