standardise interface and fix comments

This commit is contained in:
kalmarek 2018-03-22 11:03:11 +01:00
parent 98b2417ae1
commit 4c26db6ee8
4 changed files with 14 additions and 7 deletions

View File

@ -60,7 +60,7 @@ function parse_commandline()
"--iterations"
help = "set maximal number of iterations for the SDP solver"
arg_type = Int
default = 20000
default = 50000
"--upper-bound"
help = "Set an upper bound for the spectral gap"
arg_type = Float64
@ -73,6 +73,13 @@ function parse_commandline()
help = "Consider automorphisms of free group on N generators"
arg_type = Int
default = 2
"--radius"
help = "Radius of ball B_r(e,S) to find solution over"
arg_type = Int
default = 2
"--warmstart"
help = "Use warmstart.jld as the initial guess for SCS"
action = :store_true
end
return parse_args(s)

View File

@ -15,7 +15,7 @@ function parse_commandline()
arg_type = Float64
default = 1e-14
"--iterations"
help = "set maximal number of iterations for the SDP solver (default: 20000)"
help = "set maximal number of iterations for the SDP solver"
arg_type = Int
default = 60000
"--upper-bound"
@ -35,7 +35,7 @@ function parse_commandline()
arg_type = Int
default = 2
"--warmstart"
help = "Use warmstart.jl as the initial guess for SCS"
help = "Use warmstart.jld as the initial guess for SCS"
action = :store_true
end

4
SL.jl
View File

@ -15,7 +15,7 @@ function parse_commandline()
arg_type = Float64
default = 1e-6
"--iterations"
help = "set maximal number of iterations for the SDP solver (default: 20000)"
help = "set maximal number of iterations for the SDP solver"
arg_type = Int
default = 50000
"--upper-bound"
@ -42,7 +42,7 @@ function parse_commandline()
help = "Consider EL(N, ZZ⟨X⟩)"
action = :store_true
"--warmstart"
help = "Use warmstart.jl as the initial guess for SCS"
help = "Use warmstart.jld as the initial guess for SCS"
action = :store_true
end

View File

@ -15,7 +15,7 @@ function parse_commandline()
arg_type = Float64
default = 1e-14
"--iterations"
help = "set maximal number of iterations for the SDP solver (default: 20000)"
help = "set maximal number of iterations for the SDP solver"
arg_type = Int
default = 60000
"--upper-bound"
@ -42,7 +42,7 @@ function parse_commandline()
help = "Consider EL(N, ZZ⟨X⟩)"
action = :store_true
"--warmstart"
help = "Use warmstart.jl as the initial guess for SCS"
help = "Use warmstart.jld as the initial guess for SCS"
action = :store_true
end