Skip to content

Commit

Permalink
Use bounds of component algorithms in iterated search.
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensBuechner committed Jan 9, 2024
1 parent bd4deab commit ffb2908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search/search_algorithms/iterated_search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ SearchStatus IteratedSearch::step() {
if (!current_search) {
return found_solution() ? SOLVED : FAILED;
}
if (pass_bound) {
if (pass_bound && best_bound < current_search->get_bound()) {
current_search->set_bound(best_bound);
}
++phase;
Expand Down

0 comments on commit ffb2908

Please sign in to comment.