@@ -21,16 +21,6 @@ function runtests()
21
21
return
22
22
end
23
23
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
-
34
24
function test_runtests ()
35
25
model = MOI. Bridges. full_bridge_optimizer (HiGHS. Optimizer (), Float64)
36
26
MOI. set (model, MOI. Silent (), true )
@@ -53,54 +43,6 @@ function test_runtests_cache()
53
43
return
54
44
end
55
45
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
-
104
46
function test_SolverName ()
105
47
@test MOI. get (HiGHS. Optimizer (), MOI. SolverName ()) == " HiGHS"
106
48
return
0 commit comments