2017-03-27 22:43:58 +02:00
|
|
|
|
using ArgParse
|
|
|
|
|
|
2017-09-10 16:20:36 +02:00
|
|
|
|
###############################################################################
|
|
|
|
|
#
|
|
|
|
|
# Parsing command line
|
|
|
|
|
#
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
2017-03-27 22:43:58 +02:00
|
|
|
|
function parse_commandline()
|
|
|
|
|
s = ArgParseSettings()
|
|
|
|
|
|
|
|
|
|
@add_arg_table s begin
|
|
|
|
|
"--tol"
|
2017-09-10 16:20:36 +02:00
|
|
|
|
help = "set numerical tolerance for the SDP solver"
|
2017-03-27 22:43:58 +02:00
|
|
|
|
arg_type = Float64
|
2017-09-10 16:20:36 +02:00
|
|
|
|
default = 1e-6
|
2017-03-27 22:43:58 +02:00
|
|
|
|
"--iterations"
|
2017-09-10 16:20:36 +02:00
|
|
|
|
help = "set maximal number of iterations for the SDP solver"
|
2017-03-27 22:43:58 +02:00
|
|
|
|
arg_type = Int
|
2018-03-22 11:03:11 +01:00
|
|
|
|
default = 50000
|
2017-03-27 22:43:58 +02:00
|
|
|
|
"--upper-bound"
|
2017-09-10 16:20:36 +02:00
|
|
|
|
help = "Set an upper bound for the spectral gap"
|
2017-03-27 22:43:58 +02:00
|
|
|
|
arg_type = Float64
|
|
|
|
|
default = Inf
|
|
|
|
|
"--cpus"
|
|
|
|
|
help = "Set number of cpus used by solver (default: auto)"
|
|
|
|
|
arg_type = Int
|
|
|
|
|
required = false
|
2018-03-22 11:03:11 +01:00
|
|
|
|
"--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
|
2018-07-31 12:41:48 +02:00
|
|
|
|
"--nosymmetry"
|
|
|
|
|
help = "Don't use symmetries of the Laplacian"
|
|
|
|
|
action = :store_true
|
|
|
|
|
"N"
|
|
|
|
|
help = "Compute for the automorphisms group of the free group on N generators"
|
|
|
|
|
arg_type = Int
|
|
|
|
|
required = true
|
2017-03-27 22:43:58 +02:00
|
|
|
|
end
|
|
|
|
|
return parse_args(s)
|
|
|
|
|
end
|
2018-03-22 11:07:52 +01:00
|
|
|
|
const PARSEDARGS = parse_commandline()
|
2017-03-27 22:43:58 +02:00
|
|
|
|
|
2018-03-22 11:07:52 +01:00
|
|
|
|
#=
|
|
|
|
|
Note that the element
|
|
|
|
|
α(i,j,k) = ϱ(i,j)*ϱ(i,k)*inv(ϱ(i,j))*inv(ϱ(i,k)),
|
|
|
|
|
which surely belongs to ball of radius 4 in Aut(Fₙ) becomes trivial under the representation
|
|
|
|
|
Aut(Fₙ) → GLₙ(ℤ)⋉ℤⁿ → GL_(n+1)(ℂ).
|
|
|
|
|
Moreover, due to work of Potapchik and Rapinchuk [1] every real representation of Aut(Fₙ) into GLₘ(ℂ) (for m ≤ 2n-2) factors through GLₙ(ℤ)⋉ℤⁿ, so will have the same problem.
|
|
|
|
|
|
|
|
|
|
We need a different approach: Here we actually compute in (S)Aut(𝔽ₙ)
|
|
|
|
|
=#
|
2017-06-06 12:04:48 +02:00
|
|
|
|
|
2018-07-31 12:41:48 +02:00
|
|
|
|
include("CPUselect.jl")
|
|
|
|
|
set_parallel_mthread(PARSEDARGS, workers=true)
|
|
|
|
|
|
|
|
|
|
include("main.jl")
|
2017-03-13 16:18:42 +01:00
|
|
|
|
|
2018-08-08 00:28:15 +02:00
|
|
|
|
G = PropertyTGroups.SpecialAutomorphismGroup(PARSEDARGS)
|
|
|
|
|
|
|
|
|
|
if PARSEDARGS["nosymmetry"]
|
|
|
|
|
main(Standard, G)
|
|
|
|
|
else
|
|
|
|
|
main(Symmetrize, G)
|
|
|
|
|
end
|