better printing
This commit is contained in:
parent
b6cf402260
commit
dbc74b212e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user