From 91ff58f80ebbdbec46800a0b4f488dfb9a4a3b58 Mon Sep 17 00:00:00 2001 From: fwesselm Date: Fri, 28 Aug 2026 21:52:33 +0200 Subject: [PATCH] Fix compiler warnings --- highs/ipm/IpxWrapper.cpp | 1 - highs/lp_data/HighsIis.cpp | 2 +- highs/presolve/HighsPostsolveStack.h | 6 ++++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/highs/ipm/IpxWrapper.cpp b/highs/ipm/IpxWrapper.cpp index ab0c861353b..4007285e3e4 100644 --- a/highs/ipm/IpxWrapper.cpp +++ b/highs/ipm/IpxWrapper.cpp @@ -1470,5 +1470,4 @@ HighsStatus reportHipoCrossoverStatus(const HighsOptions& options, "Hipo: Crossover unrecognised status\n"); return HighsStatus::kError; } - return HighsStatus::kError; } diff --git a/highs/lp_data/HighsIis.cpp b/highs/lp_data/HighsIis.cpp index 2e4fb23d186..03a6f6d53cc 100644 --- a/highs/lp_data/HighsIis.cpp +++ b/highs/lp_data/HighsIis.cpp @@ -272,7 +272,7 @@ bool HighsIis::rowValueBounds(const HighsLp& lp, const HighsOptions& options) { } } bool below_lower = false; - bool above_upper; + bool above_upper = false; for (HighsInt iRow = 0; iRow < lp.num_row_; iRow++) { below_lower = upper_value[iRow] < lp.row_lower_[iRow] - options.primal_feasibility_tolerance; diff --git a/highs/presolve/HighsPostsolveStack.h b/highs/presolve/HighsPostsolveStack.h index d1c761c51e8..45311acdd69 100644 --- a/highs/presolve/HighsPostsolveStack.h +++ b/highs/presolve/HighsPostsolveStack.h @@ -339,6 +339,12 @@ class HighsPostsolveStack { case ReductionType::kSlackColSubstitution: { return "Slack col substitution"; } + case ReductionType::kImpliedEquation: { + return "Implied equation"; + } + case ReductionType::kZeroObjSingletonContinuousCol: { + return "Zero obj singleton continuous col"; + } default: return "Unknown"; }