Skip to content

Commit

Permalink
Add COSMO to solver tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Apr 11, 2019
1 parent b24d88e commit 636d7a9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/cosmo_tests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
include("solver_preamble.jl")
using COSMO
factory = with_optimizer(COSMO.Optimizer)
config = MOI.Test.TestConfig(atol=1e-4, rtol=1e-4)
@testset "Linear" begin
Tests.linear_test(factory, config)
end
@testset "SOC" begin
Tests.soc_test(factory, config)
end
@testset "SDP" begin
Tests.sd_test(factory, config)
end
1 change: 1 addition & 0 deletions test/solver_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ solver_test(:CSDP)
solver_test(:SDPA)

# SDP+SOC solvers
solver_test(:COSMO)
solver_test(:Mosek)
solver_test(:SeDuMi)
solver_test(:SCS)
Expand Down

0 comments on commit 636d7a9

Please sign in to comment.