Skip to content

Commit 5422136

Browse files
committed
Only use tight vbs
1 parent 59a819f commit 5422136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

highs/mip/HighsTransformedLp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ HighsTransformedLp::HighsTransformedLp(const HighsLpRelaxation& lprelaxation,
5959

6060
boundDist[col] = std::min(lbDist[col], ubDist[col]);
6161

62-
if (lbDist[col] <= ubDist[col] && lbDist[col] <= simpleLbDist[col] &&
62+
if (lbDist[col] <= ubDist[col] && lbDist[col] == 0 &&
6363
bestVlb[col].first != -1) {
6464
const double frac =
6565
std::min(lpSolution.col_value[bestVlb[col].first],
6666
1 - lpSolution.col_value[bestVlb[col].first]);
6767
colFractionality[col] = bestVlb[col].second.coef * frac;
68-
} else if (ubDist[col] <= lbDist[col] && ubDist[col] <= simpleUbDist[col] &&
68+
} else if (ubDist[col] <= lbDist[col] && ubDist[col] == 0 &&
6969
bestVub[col].first != -1) {
7070
const double frac =
7171
std::min(lpSolution.col_value[bestVub[col].first],

0 commit comments

Comments
 (0)