Skip to content

Commit e3798ad

Browse files
committed
remove slow fragile gate sizing cbf test
1 parent 3cddad4 commit e3798ad

File tree

3 files changed

+2
-321
lines changed

3 files changed

+2
-321
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "Pajarito"
22
uuid = "2f354839-79df-5901-9f0a-cdb2aac6fe30"
33
repo = "https://github.com/jump-dev/Pajarito.jl.git"
44
authors = ["Chris Coey <coey.chris@gmail.com>"]
5-
version = "0.8.0"
5+
version = "0.8.1"
66

77
[deps]
88
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"

test/CBF/exp_gatesizing.cbf

Lines changed: 0 additions & 308 deletions
This file was deleted.

test/CBF_tests.jl

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,10 @@ function run_cbf_tests(use_iter::Bool, oa_solver, conic_solver)
3838
MOI.set(model, MOI.RawOptimizerAttribute("time_limit"), 60)
3939
MOI.set(model, MOI.RawOptimizerAttribute("iteration_limit"), 100)
4040

41-
insts = ["sssd_strong_15_4", "exp_gatesizing", "exp_ising", "sdp_cardls"]
41+
insts = ["sssd_strong_15_4", "exp_ising", "sdp_cardls"]
4242
folder = joinpath(@__DIR__, "CBF")
4343

4444
@testset "$inst" for inst in insts
45-
if !use_iter && inst == "exp_gatesizing"
46-
continue # TODO failing
47-
end
4845
println(inst)
4946
file = joinpath(folder, string(inst, ".cbf"))
5047
run_cbf(model, file)
@@ -68,14 +65,6 @@ function sssd_strong_15_4(model)
6865
return
6966
end
7067

71-
function exp_gatesizing(model)
72-
TOL = 1e-4
73-
@test MOI.get(model, MOI.TerminationStatus()) == MOI.OPTIMAL
74-
@test isapprox(MOI.get(model, MOI.ObjectiveValue()), 8.33333, atol = TOL)
75-
@test isapprox(MOI.get(model, MOI.ObjectiveBound()), 8.33333, atol = TOL)
76-
return
77-
end
78-
7968
function exp_ising(model)
8069
TOL = 1e-4
8170
@test MOI.get(model, MOI.TerminationStatus()) == MOI.OPTIMAL

0 commit comments

Comments
 (0)