From f4d421dec7e4cf4e8edcb05a631a8a4ecd34d966 Mon Sep 17 00:00:00 2001 From: Ben Champion <6761956+BenChampion@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:38:46 +0000 Subject: [PATCH] Make tolerances non-const so that HiGHS can set them --- src/mip/feasibilityjump.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mip/feasibilityjump.hh b/src/mip/feasibilityjump.hh index 854de7c9cd..9f5d587315 100644 --- a/src/mip/feasibilityjump.hh +++ b/src/mip/feasibilityjump.hh @@ -32,8 +32,8 @@ namespace external_feasibilityjump { double* solution; }; - const double violationTolerance = 1.0e-5; - const double equalityTolerance = 1.0e-5; + double violationTolerance = 1.0e-5; + double equalityTolerance = 1.0e-5; // Measures if two doubles are equal within a tolerance of 1.0e-5. bool eq(double a, double b) { return fabs(a - b) < equalityTolerance; }