From ffb2908bf183eed1cd69a684fcaa10cdc4776941 Mon Sep 17 00:00:00 2001 From: ClemensBuechner Date: Mon, 8 Jan 2024 12:20:24 +0100 Subject: [PATCH] Use bounds of component algorithms in iterated search. --- src/search/search_algorithms/iterated_search.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search/search_algorithms/iterated_search.cc b/src/search/search_algorithms/iterated_search.cc index fc7ea7bb7b..1d47fbd930 100644 --- a/src/search/search_algorithms/iterated_search.cc +++ b/src/search/search_algorithms/iterated_search.cc @@ -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;