From 913962d9e675af7a0f191521172094c498f965f6 Mon Sep 17 00:00:00 2001 From: kalmar Date: Mon, 13 Mar 2017 11:21:08 +0100 Subject: [PATCH] simpler @SDconstraint --- property(T).jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/property(T).jl b/property(T).jl index 955bc5b..10b2cc3 100644 --- a/property(T).jl +++ b/property(T).jl @@ -53,7 +53,7 @@ function create_SDP_problem(matrix_constraints, Δ::GroupAlgebraElement) @assert length(Δ) == length(matrix_constraints) m = JuMP.Model(); JuMP.@variable(m, A[1:N, 1:N], SDP) - JuMP.@SDconstraint(m, A >= zeros(size(A))) + JuMP.@SDconstraint(m, A >= 0) JuMP.@variable(m, κ >= 0.0) JuMP.@constraint(m, κ <= 0.26) JuMP.@objective(m, Max, κ)