Skip to content

Commit 54fcd07

Browse files
committed
stop root heuristics before strong branching
Signed-off-by: Nicolas L. Guidotti <nguidotti@nvidia.com>
1 parent cbd9200 commit 54fcd07

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cpp/src/branch_and_bound/branch_and_bound.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3660,6 +3660,9 @@ mip_status_t branch_and_bound_t<i_t, f_t>::solve(mip_solution_t<i_t, f_t>& solut
36603660
settings_.log.printf("\n");
36613661
}
36623662

3663+
// Stops the root heuristics and clear the associated data
3664+
root_heuristics.clear();
3665+
36633666
set_uninitialized_steepest_edge_norms(original_lp_, basic_list, edge_norms_);
36643667

36653668
pc_.resize(original_lp_.num_cols);
@@ -3761,9 +3764,6 @@ mip_status_t branch_and_bound_t<i_t, f_t>::solve(mip_solution_t<i_t, f_t>& solut
37613764
}
37623765
}
37633766

3764-
// Stops the root heuristics and clear the associated data
3765-
root_heuristics.clear();
3766-
37673767
settings_.log.printf("Exploring the B&B tree using %d threads\n\n", settings_.num_threads);
37683768
node_concurrent_halt_ = 0;
37693769

0 commit comments

Comments
 (0)