diff --git a/test/Project.toml b/test/Project.toml index 70379bd8..98144b73 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,6 +1,5 @@ [deps] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" -GLPK = "60bf3e95-4087-53dc-ae20-288a0d20c6a6" GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326" HiGHS = "87dc4568-4c63-4d18-b0c0-bb2238e4078b" JuMP = "4076af6c-e467-56ae-b986-b466b2749572" diff --git a/test/redundancy.jl b/test/redundancy.jl index 4bd4efca..a4218d19 100644 --- a/test/redundancy.jl +++ b/test/redundancy.jl @@ -370,13 +370,13 @@ end @test npoints(P) > 0 end -import GLPK +import HiGHS @testset "Noise linearity #259" begin h = HalfSpace([-1.3333333333333333, -2.220446049250313e-16], 0.0) ∩ HalfSpace([0.0, 1.333333333333333], 0.0) ∩ HalfSpace([-2.7755575615628914e-17, -0.6666666666666667], 0.0) ∩ HalfSpace([-0.33333333333333337, 0.0], 0.0) # Presolve off on purpose to test that `λ_l∞` fixes it. - hh = detecthlinearity(h, GLPK.Optimizer) + hh = detecthlinearity(h, HiGHS.Optimizer) @test nhyperplanes(hh) == 1 - hhh = removehredundancy(hh, GLPK.Optimizer) + hhh = removehredundancy(hh, HiGHS.Optimizer) @test nhyperplanes(hhh) == 1 @test nhalfspaces(hhh) == 1 end