Skip to content

Commit

Permalink
Merge pull request #99 from JuliaOpt/bl/cosmo
Browse files Browse the repository at this point in the history
Add COSMO to solver tests
  • Loading branch information
blegat authored Apr 11, 2019
2 parents b24d88e + 636d7a9 commit ce6edd7
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 ce6edd7

Please sign in to comment.