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) if !isfile(SOLUTION_FILE)
info("solution.jld not found, attempting to recreate one.") info("solution.jld not found, attempting to recreate one.")
SDP_problem, varλ, varP = PropertyT.SOS_problem(elt, Δ, orbit_data; upper_bound=LAMBDA)
begin begin
scs_solver = SCS.SCSSolver(linear_solver=SCS.Direct, scs_solver = SCS.SCSSolver(linear_solver=SCS.Direct,
eps=1e-12, eps=1e-12,
@ -102,8 +104,6 @@ if !isfile(SOLUTION_FILE)
ws = load(WARMSTART_FILE, "warmstart") ws = load(WARMSTART_FILE, "warmstart")
end end
SDP_problem, varλ, varP = PropertyT.SOS_problem(elt, Δ, orbit_data; upper_bound=LAMBDA)
i = 0 i = 0
# for i in 1:6 # for i in 1:6
status= :Unknown status= :Unknown