From 7cf21f041ac2cae198079fca7d26c38e7b4ce3e0 Mon Sep 17 00:00:00 2001 From: Mark Turner Date: Tue, 21 Apr 2026 14:26:35 +0200 Subject: [PATCH] Reduce shift size in reduced-cost fixing --- highs/mip/HighsRedcostFixing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/highs/mip/HighsRedcostFixing.cpp b/highs/mip/HighsRedcostFixing.cpp index 3a5720e5b5..8bdac3756b 100644 --- a/highs/mip/HighsRedcostFixing.cpp +++ b/highs/mip/HighsRedcostFixing.cpp @@ -245,7 +245,7 @@ void HighsRedcostFixing::addRootRedcost(const HighsMipSolver& mipsolver, HighsInt range = direction * (lastBound - bound); if (range > maxNumSteps) step = (range + maxNumSteps - 1) >> maxNumStepsExp; - double shift = direction * (step - 10 * mipsolver.mipdata_->feastol); + double shift = direction * (1 - 10 * mipsolver.mipdata_->feastol); step *= direction; for (HighsInt lurkingBound = bound;