better default options

This commit is contained in:
kalmar 2017-03-26 16:27:38 +02:00
parent 740ca78ac2
commit 05e9355c12

16
SL.jl
View File

@ -90,27 +90,27 @@ function parse_commandline()
@add_arg_table s begin
"--tol"
help = "set numerical tolerance for the SDP solver"
help = "set numerical tolerance for the SDP solver (default: 1e-5)"
arg_type = Float64
default = 1e-9
default = 1e-5
"--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
default = 100000
default = 20000
"--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
default = Inf
"--cpus"
help = "Set number of cpus used by solver"
help = "Set number of cpus used by solver (default: auto)"
arg_type = Int
required = false
"-N"
help = "Consider matrices of size N"
help = "Consider matrices of size N (default: N=3)"
arg_type = Int
default = 3
"-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
default = 0
end