Skip to content

Commit

Permalink
Merge pull request #2011 from fwesselm/implBndLambdas
Browse files Browse the repository at this point in the history
Refactor HPresolve::updateRowDualImpliedBounds and HPresolve::updateColImpliedBounds
  • Loading branch information
jajhall authored Oct 31, 2024
2 parents bf72bca + 4b94521 commit fc78b78
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 220 deletions.
5 changes: 2 additions & 3 deletions src/mip/HighsLpRelaxation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1245,9 +1245,8 @@ HighsLpRelaxation::Status HighsLpRelaxation::resolveLp(HighsDomain* domain) {

if (fractionality(val) > mipsolver.mipdata_->feastol) {
HighsInt col = i;
if (roundable && mipsolver.mipdata_->uplocks[col] != 0 &&
mipsolver.mipdata_->downlocks[col] != 0)
roundable = false;
roundable = roundable && (mipsolver.mipdata_->uplocks[col] == 0 ||
mipsolver.mipdata_->downlocks[col] == 0);

const HighsCliqueTable::Substitution* subst =
mipsolver.mipdata_->cliquetable.getSubstitution(col);
Expand Down
Loading

0 comments on commit fc78b78

Please sign in to comment.