mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-12-26 18:40:29 +01:00
logtime of sdp solution; print the reresentation of SDP to log
This commit is contained in:
parent
6affa6876f
commit
dc91735bfc
@ -190,7 +190,7 @@ end
|
|||||||
|
|
||||||
function λandP(m::JuMP.Model, data::OrbitData, sett::Settings)
|
function λandP(m::JuMP.Model, data::OrbitData, sett::Settings)
|
||||||
info(sett.logger, "Solving SDP problem...")
|
info(sett.logger, "Solving SDP problem...")
|
||||||
λ, Ps = λandP(m, data, sett.warmstart)
|
@logtime sett.logger λ, Ps = λandP(m, data, sett.warmstart)
|
||||||
|
|
||||||
info(sett.logger, "Reconstructing P...")
|
info(sett.logger, "Reconstructing P...")
|
||||||
|
|
||||||
@ -234,6 +234,7 @@ function check_property_T(sett::Settings)
|
|||||||
info(sett.logger, "Creating SDP problem...")
|
info(sett.logger, "Creating SDP problem...")
|
||||||
SDP_problem, orb_data = create_SDP_problem(sett)
|
SDP_problem, orb_data = create_SDP_problem(sett)
|
||||||
JuMP.setsolver(SDP_problem, sett.solver)
|
JuMP.setsolver(SDP_problem, sett.solver)
|
||||||
|
info(sett.logger, Base.repr(SDP_problem))
|
||||||
|
|
||||||
λ, P = λandP(SDP_problem, orb_data, sett)
|
λ, P = λandP(SDP_problem, orb_data, sett)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user