Skip to content

Commit 6af72c2

Browse files
committed
Change domain change threshold from .15 to .2
1 parent 64b1a3d commit 6af72c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

highs/mip/HighsDomain.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static inline double boundRange(double upper_bound, double lower_bound,
6262
double tolerance, HighsVarType var_type) {
6363
double range = upper_bound - lower_bound;
6464
return range - (var_type == HighsVarType::kContinuous
65-
? std::max(0.15 * range, 1000.0 * tolerance)
65+
? std::max(0.2 * range, 1000.0 * tolerance)
6666
: tolerance);
6767
}
6868

@@ -1353,7 +1353,7 @@ double HighsDomain::adjustedUb(HighsInt col, HighsCDouble boundVal,
13531353
else
13541354
relativeImprove /=
13551355
std::max(std::fabs(col_upper_[col]), std::fabs(bound));
1356-
accept = relativeImprove >= 0.15;
1356+
accept = relativeImprove >= 0.2;
13571357
} else
13581358
accept = false;
13591359
}
@@ -1385,7 +1385,7 @@ double HighsDomain::adjustedLb(HighsInt col, HighsCDouble boundVal,
13851385
else
13861386
relativeImprove /=
13871387
std::max(std::fabs(col_lower_[col]), std::fabs(bound));
1388-
accept = relativeImprove >= 0.15;
1388+
accept = relativeImprove >= 0.2;
13891389
} else
13901390
accept = false;
13911391
}

0 commit comments

Comments
 (0)