coin-Bcp
|
NO OLD DOC. More...
#include <BCP_lp.hpp>
Public Member Functions | |
virtual BCP_buffer & | get_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_var * | unpack_var () |
void | pack_cut (const BCP_cut &cut) |
BCP_cut * | unpack_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_string & | param (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 |
![]() | |
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_solution * | sol |
double | new_true_lower_bound |
User provided members | |
BCP_lp_user * | user |
A class that holds the methods about how to pack things. More... | |
BCP_user_pack * | packer |
A class that holds the methods about how to pack things. More... | |
OsiSolverInterface * | master_lp |
A class that holds the methods about how to pack things. More... | |
OsiSolverInterface * | lp_solver |
A class that holds the methods about how to pack things. More... | |
BCP_message_environment * | msg_env |
A class that holds the methods about how to pack things. More... | |
Parameters | |
BCP_parameter_set< BCP_lp_par > | par |
Description of the core of the problem | |
BCP_problem_core * | core |
BCP_problem_core_change * | core_as_change |
Current search tree node and its parent | |
BCP_lp_node * | node |
Description he current search tree node. More... | |
BCP_lp_parent * | parent |
Description of the parent of the current node. More... | |
CoinWarmStart * | warmstartRoot |
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_result * | lp_result |
int | var_bound_changes_since_logical_fixing |
BCP_vec< BCP_cut * > | slack_pool |
BCP_lp_var_pool * | local_var_pool |
BCP_lp_cut_pool * | local_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_prob & | operator= (const BCP_lp_prob &) |
NO OLD DOC.
Definition at line 102 of file BCP_lp.hpp.
|
private |
BCP_lp_prob::BCP_lp_prob | ( | int | my_id, |
int | parent | ||
) |
|
virtual |
|
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 | ( | ) |
|
inline |
Definition at line 275 of file BCP_lp.hpp.
References BCP_parameter_set< Par >::entry(), and par.
Referenced by granularity().
|
inline |
Definition at line 278 of file BCP_lp.hpp.
References BCP_parameter_set< Par >::entry(), and par.
|
inline |
Definition at line 281 of file BCP_lp.hpp.
References BCP_parameter_set< Par >::entry(), and par.
|
inline |
Definition at line 284 of file BCP_lp.hpp.
References BCP_parameter_set< Par >::entry(), and par.
|
inline |
Definition at line 287 of file BCP_lp.hpp.
References BCP_parameter_set< Par >::entry(), and par.
|
inline |
Definition at line 289 of file BCP_lp.hpp.
References BCP_lp_par::Granularity, and param().
Referenced by over_ub().
|
inline |
Definition at line 298 of file BCP_lp.hpp.
References BCP_DBL_MAX, and upper_bound.
Referenced by over_ub().
|
inline |
Definition at line 300 of file BCP_lp.hpp.
References upper_bound.
|
inline |
Definition at line 302 of file BCP_lp.hpp.
References upper_bound.
|
inline |
Definition at line 310 of file BCP_lp.hpp.
References granularity(), has_ub(), and upper_bound.
|
inlinevirtual |
|
virtual |
Implements BCP_process.
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.
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.
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.
Definition at line 245 of file BCP_lp.hpp.
Definition at line 246 of file BCP_lp.hpp.
Definition at line 247 of file BCP_lp.hpp.
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.