Skip to content

Commit b55ded6

Browse files
committed
Scale third score by numProbes
1 parent a56c7bc commit b55ded6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

highs/presolve/HPresolve.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,8 +1587,9 @@ HPresolve::Result HPresolve::runProbing(HighsPostsolveStack& postsolve_stack) {
15871587
-std::min(int64_t{5000}, int64_t(implicsUp) * implicsDown) /
15881588
(int64_t{1} + static_cast<int64_t>(numProbes[i])),
15891589
-std::min(HighsInt{100}, implicsUp + implicsDown),
1590-
-simscore[i].first * simscore[i].second -
1591-
std::max(simscore[i].first, simscore[i].second),
1590+
(-simscore[i].first * simscore[i].second -
1591+
std::max(simscore[i].first, simscore[i].second)) /
1592+
(1 + numProbes[i]),
15921593
random.integer(), i);
15931594
}
15941595
}

0 commit comments

Comments
 (0)