better default options

This commit is contained in:
kalmar 2017-03-26 16:27:38 +02:00
parent 740ca78ac2
commit 05e9355c12
1 changed files with 8 additions and 8 deletions

16
SL.jl
View File

@ -90,27 +90,27 @@ function parse_commandline()
@add_arg_table s begin @add_arg_table s begin
"--tol" "--tol"
help = "set numerical tolerance for the SDP solver" help = "set numerical tolerance for the SDP solver (default: 1e-5)"
arg_type = Float64 arg_type = Float64
default = 1e-9 default = 1e-5
"--iterations" "--iterations"
help = "set maximal number of iterations for the SDP solver" help = "set maximal number of iterations for the SDP solver (default: 20000)"
arg_type = Int arg_type = Int
default = 100000 default = 20000
"--upper-bound" "--upper-bound"
help = "Set an upper bound for the spectral gap" help = "Set an upper bound for the spectral gap (default: Inf)"
arg_type = Float64 arg_type = Float64
default = Inf default = Inf
"--cpus" "--cpus"
help = "Set number of cpus used by solver" help = "Set number of cpus used by solver (default: auto)"
arg_type = Int arg_type = Int
required = false required = false
"-N" "-N"
help = "Consider matrices of size N" help = "Consider matrices of size N (default: N=3)"
arg_type = Int arg_type = Int
default = 3 default = 3
"-p" "-p"
help = "Matrices over filed of p-elements (0 = over ZZ)" help = "Matrices over filed of p-elements (default: p=0 => over ZZ)"
arg_type = Int arg_type = Int
default = 0 default = 0
end end