better printing

This commit is contained in:
kalmar 2017-06-22 13:35:22 +02:00
parent b6cf402260
commit dbc74b212e

View File

@ -131,7 +131,7 @@ function addconstraints!(m::JuMP.Model, data::OrbitData, l::Int=length(data.lapl
end end
function create_SDP_problem(name::String; upper_bound=Inf) function create_SDP_problem(name::String; upper_bound=Inf)
info(PropertyT.logger, "Loading data....") info(PropertyT.logger, "Loading orbit data....")
t = @timed SDP_problem, orb_data = init_OrbitData(name); t = @timed SDP_problem, orb_data = init_OrbitData(name);
info(PropertyT.logger, PropertyT.timed_msg(t)) info(PropertyT.logger, PropertyT.timed_msg(t))
@ -148,7 +148,6 @@ function create_SDP_problem(name::String; upper_bound=Inf)
end end
function λandP(m::JuMP.Model, data::OrbitData) function λandP(m::JuMP.Model, data::OrbitData)
info(PropertyT.logger, "Solving SDP problem...")
varλ = m[] varλ = m[]
varP = data.Ps varP = data.Ps
λ, Ps = PropertyT.λandP(data.name, m, varλ, varP) λ, Ps = PropertyT.λandP(data.name, m, varλ, varP)