add --warmstart flag
This commit is contained in:
parent
9d6a2df02d
commit
c345d664a7
@ -34,6 +34,9 @@ function parse_commandline()
|
||||
help = "Radius of ball B_r(e,S) to find solution over"
|
||||
arg_type = Int
|
||||
default = 2
|
||||
"--warmstart"
|
||||
help = "Use warmstart.jl as the initial guess for SCS"
|
||||
action = :store_false
|
||||
end
|
||||
|
||||
return parse_args(settings)
|
||||
|
3
Orbit.jl
3
Orbit.jl
@ -14,6 +14,7 @@ function main(GROUP, parsed_args)
|
||||
tol = parsed_args["tol"]
|
||||
iterations = parsed_args["iterations"]
|
||||
upper_bound = parsed_args["upper-bound"]
|
||||
warm = parsed_args["warmstart"]
|
||||
|
||||
name, N = GROUP.groupname(parsed_args)
|
||||
G, S = GROUP.generatingset(parsed_args)
|
||||
@ -46,7 +47,7 @@ function main(GROUP, parsed_args)
|
||||
# solver = SDPA.SDPASolver(epsilonStar=tol, epsilonDash=tol)
|
||||
|
||||
|
||||
sett = Settings(name, N, G, S, autS, radius, solver, upper_bound, tol, true)
|
||||
sett = Settings(name, N, G, S, autS, radius, solver, upper_bound, tol, warm)
|
||||
|
||||
PropertyT.check_property_T(sett)
|
||||
end
|
||||
|
@ -41,6 +41,9 @@ function parse_commandline()
|
||||
"-X"
|
||||
help = "Consider EL(N, ZZ⟨X⟩)"
|
||||
action = :store_true
|
||||
"--warmstart"
|
||||
help = "Use warmstart.jl as the initial guess for SCS"
|
||||
action = :store_false
|
||||
end
|
||||
|
||||
return parse_args(settings)
|
||||
|
Loading…
Reference in New Issue
Block a user