Skip to content

Commit a758131

Browse files
committed
Don't try and lift a zero
1 parent 9a1093e commit a758131

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎highs/presolve/HPresolve.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,6 +1816,7 @@ HPresolve::Result HPresolve::runProbing(HighsPostsolveStack& postsolve_stack) {
18161816
// store lifting opportunities
18171817
implications.storeLiftingOpportunity = [&](HighsInt row, HighsInt col,
18181818
HighsInt val, double coef) {
1819+
if (coef == 0.0) return;
18191820
// find lifting opportunities for row
18201821
auto& htree = liftingOpportunities[row];
18211822
// add element

0 commit comments

Comments
 (0)