rename name -> dirname
This commit is contained in:
parent
9d7c499a1d
commit
00c5af2708
@ -247,12 +247,12 @@ function main()
|
||||
|
||||
solver = SCS.SCSSolver(eps=tol, max_iters=iterations, verbose=true, linearsolver=SCS.Indirect)
|
||||
|
||||
fnames = PropertyT.λSDPfilenames(name)
|
||||
if all(isfile.(fnames)) && false
|
||||
λ, P = PropertyT.λandP(name)
|
||||
fnames = PropertyT.λSDPfilenames(dirname)
|
||||
if all(isfile.(fnames))
|
||||
λ, P = PropertyT.λandP(dirname)
|
||||
else
|
||||
info(logger, "Creating SDP problem...")
|
||||
SDP_problem, orb_data = create_SDP_problem(name, upper_bound=upper_bound)
|
||||
SDP_problem, orb_data = create_SDP_problem(dirname, upper_bound=upper_bound)
|
||||
JuMP.setsolver(SDP_problem, solver)
|
||||
λ, P = λandP(SDP_problem, orb_data)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user