Skip to content

Commit

Permalink
Correction of a bug in strong branching (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrsadykov authored Sep 10, 2021
1 parent 1059e02 commit 00b48ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Algorithm/branching/branchingalgo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function perform_strong_branching_with_phases!(
nb_candidates_for_next_phase::Int64 = 1
if phase_index < length(algo.phases)
nb_candidates_for_next_phase = algo.phases[phase_index + 1].max_nb_candidates
if length(groups) <= nb_candidates_for_next_phase
if phase_index > 1 && length(groups) <= nb_candidates_for_next_phase
continue
end
end
Expand Down

0 comments on commit 00b48ec

Please sign in to comment.