Skip to content

Commit 7cf21f0

Browse files
committed
Reduce shift size in reduced-cost fixing
1 parent b748328 commit 7cf21f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

highs/mip/HighsRedcostFixing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ void HighsRedcostFixing::addRootRedcost(const HighsMipSolver& mipsolver,
245245
HighsInt range = direction * (lastBound - bound);
246246
if (range > maxNumSteps)
247247
step = (range + maxNumSteps - 1) >> maxNumStepsExp;
248-
double shift = direction * (step - 10 * mipsolver.mipdata_->feastol);
248+
double shift = direction * (1 - 10 * mipsolver.mipdata_->feastol);
249249
step *= direction;
250250

251251
for (HighsInt lurkingBound = bound;

0 commit comments

Comments
 (0)