From 8d4aa7bba7e0aaac22114e4bd8fd0d354a71dc09 Mon Sep 17 00:00:00 2001 From: Henri Lefebvre Date: Thu, 26 Oct 2023 14:48:28 +0200 Subject: [PATCH] remove postponing of nodes --- .../optimizers/branch-and-bound/Optimizers_BranchAndBound.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/include/idol/optimizers/branch-and-bound/Optimizers_BranchAndBound.h b/lib/include/idol/optimizers/branch-and-bound/Optimizers_BranchAndBound.h index 4e3b05f4..3a8c1b6a 100644 --- a/lib/include/idol/optimizers/branch-and-bound/Optimizers_BranchAndBound.h +++ b/lib/include/idol/optimizers/branch-and-bound/Optimizers_BranchAndBound.h @@ -544,6 +544,7 @@ void idol::Optimizers::BranchAndBound::analyze(const BranchAndBoun if (status == Fail) { + /* if (m_n_postponed_nodes < m_max_postponed_nodes) { *t_explore_children_flag = true; std::cout << "Postponing Node " << t_node.id() << " since returned status is " << status << "." << std::endl; @@ -551,6 +552,7 @@ void idol::Optimizers::BranchAndBound::analyze(const BranchAndBoun ++m_n_postponed_nodes; return; } + */ set_status(Fail); set_reason(NotSpecified);