Skip to content

Commit 921df3d

Browse files
committed
Use feastol
1 parent afc43e0 commit 921df3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mip/HighsPrimalHeuristics.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,8 +874,7 @@ bool HighsPrimalHeuristics::tryRoundedPoint(const std::vector<double>& point,
874874
// fractional. otherwise, an integer-infeasible solution may be accepted as
875875
// incumbent.
876876
double rounded;
877-
if (fractionality(intval, &rounded) >
878-
mipsolver.options_mip_->mip_feasibility_tolerance)
877+
if (fractionality(intval, &rounded) > mipsolver.mipdata_->feastol)
879878
return false;
880879
intval = rounded;
881880
intval = std::min(localdom.col_upper_[col], intval);

0 commit comments

Comments
 (0)