Skip to content

Commit b2ffd80

Browse files
committed
Change KHighsTiny to epsilon in approximate cut calc
1 parent 26ee0ba commit b2ffd80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/mip/HighsCutGeneration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ bool HighsCutGeneration::cmirCutGenerationHeuristic(double minEfficacy,
703703
double downrhs = fast_floor(scalrhs);
704704
double f0 = scalrhs - downrhs;
705705
double oneoveroneminusf0 = 1.0 / (1.0 - f0);
706-
double k = fast_ceil((1 / f0) - kHighsTiny) - 1;
706+
double k = fast_ceil((1 / f0) - epsilon) - 1;
707707

708708
// All coefficients of continuous variables are 0 in strong CG cut
709709
double sqrnorm = 0;

0 commit comments

Comments
 (0)