22 if (t_event != InvalidSolution) {
26 if (m_last_node_id == this->
node().
id()) {
29 m_last_node_id = this->
node().id();
33 const double best_obj = this->best_obj();
34 const double current_obj = this->
relaxation().get_best_obj();
38 double reduced_cost =
relaxation.get_var_reduced_cost(var);
41 const double relaxation_lb =
relaxation.get_var_lb(var);
42 const double current_ub =
relaxation.get_var_ub(var);
44 this->add_local_variable_branching(var, LessOrEqual, relaxation_lb);
49 const double relaxation_ub =
relaxation.get_var_ub(var);
50 const double current_lb =
relaxation.get_var_lb(var);
52 this->add_local_variable_branching(var, GreaterOrEqual, relaxation_ub);