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)
|
solver = SCS.SCSSolver(eps=tol, max_iters=iterations, verbose=true, linearsolver=SCS.Indirect)
|
||||||
|
|
||||||
fnames = PropertyT.λSDPfilenames(name)
|
fnames = PropertyT.λSDPfilenames(dirname)
|
||||||
if all(isfile.(fnames)) && false
|
if all(isfile.(fnames))
|
||||||
λ, P = PropertyT.λandP(name)
|
λ, P = PropertyT.λandP(dirname)
|
||||||
else
|
else
|
||||||
info(logger, "Creating SDP problem...")
|
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)
|
JuMP.setsolver(SDP_problem, solver)
|
||||||
λ, P = λandP(SDP_problem, orb_data)
|
λ, P = λandP(SDP_problem, orb_data)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user