uncomment certification

This commit is contained in:
kalmarek 2019-04-03 19:38:01 +02:00
parent 6f56c85550
commit 3a261afb11
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15
1 changed files with 5 additions and 5 deletions

View File

@ -60,13 +60,13 @@ solver_logfile(sett) = joinpath(PropertyT.fullpath(sett), "Adj_solver_$(Property
λ, P = PropertyT.approximate_by_SOS(sett, elt, Δ,
solverlog=solver_logfile(sett))
# save(PropertyT.filename(sett, :solution), "λ", λ, "P", P)
# λ < 0 && @warn "Solver did not produce a valid solution!"
save(PropertyT.filename(sett, :solution), "λ", λ, "P", P)
λ < 0 && @warn "Solver did not produce a valid solution!"
# Q = real(sqrt(P));
# certified_λ = PropertyT.certify_SOS_decomposition(elt, Δ, λ, Q, R=RADIUS)
Q = real(sqrt(P));
certified_λ = PropertyT.certify_SOS_decomposition(elt, Δ, λ, Q, R=RADIUS)
# @info "The obtained SOS can be use to certify λ ≥" certified_λ
@info "The obtained SOS can be use to certify λ ≥" certified_λ