Skip to content

Commit

Permalink
Clean up tests a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
karanveerm committed Jan 6, 2015
1 parent 3374c75 commit 15bc28f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/run_tests_all_solvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ end

if isdir(Pkg.dir("SCS"))
using SCS
push!(solvers, SCSSolver())
push!(solvers, SCSSolver(verbose=0))
end

if isdir(Pkg.dir("Gurobi"))
Expand Down
5 changes: 2 additions & 3 deletions test/test_sdp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ using Convex

TOL = 1e-2

using SCS
set_default_solver(SCSSolver())

# SDP variables
y = Variable((2,2), :Semidefinite)
p = minimize(y[1,1])
Expand All @@ -19,6 +16,8 @@ solve!(p)
@test_approx_eq_eps p.optval 0 TOL

# Solution is obtained as y[2,2] -> infinity
# This test fails on Mosek. See
# https://github.com/JuliaOpt/Mosek.jl/issues/29
y = Variable((2, 2), :Semidefinite)
p = minimize(y[1, 1], y[1, 2] == 1)
solve!(p)
Expand Down

0 comments on commit 15bc28f

Please sign in to comment.