Skip to content

Commit dc02ab9

Browse files
committed
Update
1 parent 2d74df8 commit dc02ab9

File tree

1 file changed

+0
-58
lines changed

1 file changed

+0
-58
lines changed

test/MOI_wrapper.jl

-58
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@ function runtests()
2121
return
2222
end
2323

24-
const _EXPLICIT_METHOD_FAILURES = [
25-
"test_objective_qp_ObjectiveFunction_edge_cases",
26-
"test_objective_qp_ObjectiveFunction_zero_ofdiag",
27-
"test_quadratic_duplicate_terms",
28-
"test_quadratic_integration",
29-
"test_quadratic_nonhomogeneous",
30-
"test_linear_Semicontinuous_integration",
31-
"test_linear_Semiinteger_integration",
32-
]
33-
3424
function test_runtests()
3525
model = MOI.Bridges.full_bridge_optimizer(HiGHS.Optimizer(), Float64)
3626
MOI.set(model, MOI.Silent(), true)
@@ -53,54 +43,6 @@ function test_runtests_cache()
5343
return
5444
end
5545

56-
function test_runtests_simplex()
57-
model = MOI.Bridges.full_bridge_optimizer(HiGHS.Optimizer(), Float64)
58-
MOI.set(model, MOI.Silent(), true)
59-
MOI.set(model, MOI.RawOptimizerAttribute("solver"), "simplex")
60-
for presolve in ("on", "off")
61-
MOI.set(model, MOI.RawOptimizerAttribute("presolve"), presolve)
62-
MOI.Test.runtests(
63-
model,
64-
MOI.Test.Config();
65-
exclude = _EXPLICIT_METHOD_FAILURES,
66-
)
67-
end
68-
return
69-
end
70-
71-
function test_runtests_ipm()
72-
model = MOI.Bridges.full_bridge_optimizer(HiGHS.Optimizer(), Float64)
73-
MOI.set(model, MOI.Silent(), true)
74-
MOI.set(model, MOI.RawOptimizerAttribute("solver"), "ipm")
75-
MOI.Test.runtests(
76-
model,
77-
MOI.Test.Config();
78-
exclude = _EXPLICIT_METHOD_FAILURES,
79-
)
80-
return
81-
end
82-
83-
function test_runtests_ipm_no_presolve()
84-
model = MOI.Bridges.full_bridge_optimizer(HiGHS.Optimizer(), Float64)
85-
MOI.set(model, MOI.Silent(), true)
86-
MOI.set(model, MOI.RawOptimizerAttribute("solver"), "ipm")
87-
MOI.set(model, MOI.RawOptimizerAttribute("presolve"), "off")
88-
MOI.Test.runtests(
89-
model,
90-
MOI.Test.Config(),
91-
exclude = [
92-
# Termination status is OTHER_ERROR
93-
r"^test_conic_linear_INFEASIBLE$",
94-
r"^test_conic_linear_INFEASIBLE_2$",
95-
# See https://github.com/ERGO-Code/HiGHS/issues/1807
96-
r"^test_conic_NormInfinityCone_INFEASIBLE$",
97-
r"^test_conic_NormOneCone_INFEASIBLE$",
98-
_EXPLICIT_METHOD_FAILURES...,
99-
],
100-
)
101-
return
102-
end
103-
10446
function test_SolverName()
10547
@test MOI.get(HiGHS.Optimizer(), MOI.SolverName()) == "HiGHS"
10648
return

0 commit comments

Comments
 (0)