You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check/TestMipSolver.cpp: add tolerance to a few tests
We add tolerance to a few comparisons to fix a family of test failures
that look like,
.../check/TestMipSolver.cpp:1162: FAILED:
REQUIRE( h.getInfo().objective_function_value == mip_optimal_objective )
with expansion:
1201500.0 == 1201499.9999999998
A double_equal_tolerance = 1e-5 was already defined in this file, so
we have used that as the absolute tolerance.
0 commit comments