fix reference to not yet defined SDP_problem

This commit is contained in:
kalmarek 2018-12-08 04:08:47 +01:00
parent f5262ebeea
commit 2400b1d143

View File

@ -86,6 +86,8 @@ info("Looking for solution.jld in $fullpath")
if !isfile(SOLUTION_FILE)
info("solution.jld not found, attempting to recreate one.")
SDP_problem, varλ, varP = PropertyT.SOS_problem(elt, Δ, orbit_data; upper_bound=LAMBDA)
begin
scs_solver = SCS.SCSSolver(linear_solver=SCS.Direct,
eps=1e-12,
@ -101,8 +103,6 @@ if !isfile(SOLUTION_FILE)
if isfile(WARMSTART_FILE)
ws = load(WARMSTART_FILE, "warmstart")
end
SDP_problem, varλ, varP = PropertyT.SOS_problem(elt, Δ, orbit_data; upper_bound=LAMBDA)
i = 0
# for i in 1:6