From c31b3972ae8fc0591dbcda7c56c1f5ad1bd21de4 Mon Sep 17 00:00:00 2001 From: JAJHall Date: Fri, 1 Nov 2024 16:48:18 +0000 Subject: [PATCH] strengthenInequalities doesn't need postsolve_stack; formatted --- src/presolve/HPresolve.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/presolve/HPresolve.cpp b/src/presolve/HPresolve.cpp index e1c4ba0181..87546cc25e 100644 --- a/src/presolve/HPresolve.cpp +++ b/src/presolve/HPresolve.cpp @@ -4229,8 +4229,7 @@ HPresolve::Result HPresolve::presolve(HighsPostsolveStack& postsolve_stack) { if (mipsolver != nullptr) { HighsInt num_strengthened = -1; - HPRESOLVE_CHECKED_CALL( - strengthenInequalities(num_strengthened)); + HPRESOLVE_CHECKED_CALL(strengthenInequalities(num_strengthened)); assert(num_strengthened >= 0); if (num_strengthened > 0) highsLogDev(options->log_options, HighsLogType::kInfo, @@ -5132,7 +5131,8 @@ HPresolve::Result HPresolve::removeDoubletonEquations( return Result::kOk; } -HPresolve::Result HPresolve::strengthenInequalities(HighsInt& num_strengthened) { +HPresolve::Result HPresolve::strengthenInequalities( + HighsInt& num_strengthened) { std::vector complementation; std::vector reducedcost; std::vector upper;