mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-19 07:20:28 +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)
|
||||
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...")
|
||||
|
||||
@ -234,6 +234,7 @@ function check_property_T(sett::Settings)
|
||||
info(sett.logger, "Creating SDP problem...")
|
||||
SDP_problem, orb_data = create_SDP_problem(sett)
|
||||
JuMP.setsolver(SDP_problem, sett.solver)
|
||||
info(sett.logger, Base.repr(SDP_problem))
|
||||
|
||||
λ, P = λandP(SDP_problem, orb_data, sett)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user