Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed May 15, 2024
1 parent b3c83df commit 557568d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ using Test

include("maxcut.jl")
include("sdp.jl")
include("build.jl")
include("options.jl")
include("MOI_wrapper.jl")
#include("build.jl")
#include("options.jl")
#include("MOI_wrapper.jl")
5 changes: 4 additions & 1 deletion test/sdp.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DSDP.LogInfoAllow(3)
function test_sdp(tol)
dsdp = DSDP.Create(1)
sdpcone = DSDP.CreateSDPCone(dsdp, 1)
Expand Down Expand Up @@ -30,4 +31,6 @@ function test_sdp(tol)
DSDP.ComputeX(dsdp)
@test DSDP.SDPCone.GetXArray(sdpcone, 0) [1, 0, 1, 1] rtol = 1e-6
end
test_sdp(1e-6)
@testset "SDP example" begin
test_sdp(1e-6)
end

0 comments on commit 557568d

Please sign in to comment.