#include <functional>
#include "BCP_message.hpp"
#include "BCP_lp_user.hpp"
#include "BCP_lp_node.hpp"
#include "BCP_lp_pool.hpp"
#include "BCP_lp.hpp"
#include "BCP_lp_functions.hpp"
Include dependency graph for BCP_lp_msgproc.cpp:
Go to the source code of this file.
Functions | |
void | BCP_lp_check_ub (BCP_lp_prob &p) |
int | BCP_lp_next_var_index (BCP_lp_prob &p) |
int | BCP_lp_next_cut_index (BCP_lp_prob &p) |
void | BCP_lp_process_ub_message (BCP_lp_prob &p, BCP_buffer &buf) |
void | BCP_lp_send_cuts_to_cp (BCP_lp_prob &p, const int eff_cnt_limit) |
void | BCP_lp_unpack_diving_info (BCP_lp_prob &p, BCP_buffer &buf) |
void BCP_lp_check_ub | ( | BCP_lp_prob & | p | ) |
Definition at line 14 of file BCP_lp_msgproc.cpp.
References BCP_AnyProcess, BCP_lp_process_ub_message(), BCP_Msg_NoMessage, BCP_Msg_UpperBound, BCP_buffer::clear(), BCP_lp_prob::msg_buf, BCP_lp_prob::msg_env, BCP_buffer::msgtag(), and BCP_message_environment::receive().
Referenced by BCP_lp_fathom(), BCP_lp_fix_vars(), and BCP_lp_main_loop().
int BCP_lp_next_var_index | ( | BCP_lp_prob & | p | ) |
Definition at line 233 of file BCP_lp_msgproc.cpp.
References BCP_Msg_RequestVarIndexSet, BCP_Msg_VarIndexSet, BCP_buffer::clear(), BCP_process::get_parent(), BCP_lp_prob::last_var_index, BCP_lp_prob::msg_buf, BCP_lp_prob::msg_env, BCP_lp_prob::next_var_index, BCP_lp_prob::process_message(), BCP_message_environment::receive(), and BCP_message_environment::send().
Referenced by BCP_add_branching_objects(), BCP_lp_fathom(), BCP_lp_generate_vars(), BCP_lp_main_loop(), and BCP_lp_prob::process_message().
int BCP_lp_next_cut_index | ( | BCP_lp_prob & | p | ) |
Definition at line 257 of file BCP_lp_msgproc.cpp.
References BCP_Msg_CutIndexSet, BCP_Msg_RequestCutIndexSet, BCP_buffer::clear(), BCP_process::get_parent(), BCP_lp_prob::last_cut_index, BCP_lp_prob::msg_buf, BCP_lp_prob::msg_env, BCP_lp_prob::next_cut_index, BCP_lp_prob::process_message(), BCP_message_environment::receive(), and BCP_message_environment::send().
Referenced by BCP_add_branching_objects(), BCP_lp_generate_cuts(), BCP_lp_prob::process_message(), and MC_lp::select_branching_candidates().
void BCP_lp_process_ub_message | ( | BCP_lp_prob & | p, | |
BCP_buffer & | buf | |||
) |
Definition at line 280 of file BCP_lp_msgproc.cpp.
References BCP_GenerateColumns, BCP_lp_node::colgen, BCP_lp_prob::granularity(), BCP_lp_prob::lp_solver, BCP_lp_prob::node, BCP_lp_prob::ub(), and BCP_buffer::unpack().
Referenced by BCP_lp_check_ub(), and BCP_lp_prob::process_message().
void BCP_lp_send_cuts_to_cp | ( | BCP_lp_prob & | p, | |
const int | eff_cnt_limit | |||
) |
Definition at line 295 of file BCP_lp_msgproc.cpp.
References BCP_Msg_CutsToCutPool, BCP_buffer::clear(), BCP_lp_prob::core, BCP_lp_node::cp, BCP_problem_core::cutnum(), BCP_lp_node::cuts, BCP_cut::dont_send_to_pool(), BCP_cut::effective_count(), BCP_vec< T >::end(), BCP_vec< T >::entry(), BCP_lp_node::level, BCP_lp_par::LpVerb_CutsToCutPoolCount, BCP_lp_prob::msg_buf, BCP_lp_prob::msg_env, BCP_lp_prob::node, BCP_buffer::pack(), BCP_lp_prob::pack_cut(), BCP_lp_prob::param(), and BCP_message_environment::send().
Referenced by BCP_lp_branch().
void BCP_lp_unpack_diving_info | ( | BCP_lp_prob & | p, | |
BCP_buffer & | buf | |||
) |
Definition at line 340 of file BCP_lp_msgproc.cpp.
References BCP_DoNotDive, BCP_lp_node::dive, BCP_lp_node::index, BCP_lp_node::iteration_count, BCP_lp_node::level, BCP_lp_prob::node, and BCP_buffer::unpack().
Referenced by BCP_lp_send_node_description(), and BCP_lp_prob::process_message().