From 263179dd71b640d23d478de8c29aa3319d82d68d Mon Sep 17 00:00:00 2001 From: yboucher Date: Fri, 2 Oct 2026 02:57:13 -0700 Subject: [PATCH] fix uninitialized lower bound for pre-solve heuristics --- cpp/src/branch_and_bound/branch_and_bound.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/branch_and_bound/branch_and_bound.hpp b/cpp/src/branch_and_bound/branch_and_bound.hpp index 1be148cdcb..b91e83f240 100644 --- a/cpp/src/branch_and_bound/branch_and_bound.hpp +++ b/cpp/src/branch_and_bound/branch_and_bound.hpp @@ -288,7 +288,7 @@ class branch_and_bound_t { // In case, a best-first thread encounters a numerical issue when solving a node, // its blocks the progression of the lower bound as it cannot explore the // corresponding subtree. - omp_atomic_t lower_bound_numerical_; + omp_atomic_t lower_bound_numerical_{std::numeric_limits::infinity()}; std::function user_bound_callback_; void print_table_header();