1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-24 02:00:30 +01:00

Revert "Allow for AbstractMathProfSolver in Settings"

This reverts commit 6cbf5e6944.
This commit is contained in:
kalmarek 2017-10-27 18:19:53 +02:00
parent 94c9a75a21
commit 01e6625571

View File

@ -10,7 +10,7 @@ immutable Settings
S::Vector
AutS::Group
radius::Int
solver::AbstractMathProgSolver
solver::SCSSolver
upper_bound::Float64
tol::Float64
end
@ -166,10 +166,8 @@ function init_model(Uπs)
for k in 1:l
s = size(Uπs[k],2)
if s > 0
P[k] = JuMP.@variable(m, [i=1:s, j=1:s])
JuMP.@SDconstraint(m, P[k] >= 0.0)
end
P[k] = JuMP.@variable(m, [i=1:s, j=1:s])
JuMP.@SDconstraint(m, P[k] >= 0.0)
end
JuMP.@variable(m, λ >= 0.0)