mirror of
https://github.com/kalmarek/SmallHyperbolic
synced 2024-07-27 13:05:31 +02:00
45 lines
1.0 KiB
Julia
45 lines
1.0 KiB
Julia
using PropertyT
|
|
|
|
using PropertyT.LinearAlgebra
|
|
using PropertyT.SparseArrays
|
|
using PropertyT.JuMP
|
|
|
|
using PropertyT.AbstractAlgebra
|
|
using PropertyT.Groups
|
|
using PropertyT.GroupRings
|
|
|
|
using PropertyT.JLD
|
|
|
|
BLAS.set_num_threads(2)
|
|
ENV["OMP_NUM_THREADS"] = 2
|
|
|
|
if !haskey(ENV, "GAP_EXECUTABLE")
|
|
ENV["GAP_EXECUTABLE"] = "/usr/lib/gap/gap"
|
|
end
|
|
|
|
include(joinpath("src", "FPGroups_GAP.jl"))
|
|
include(joinpath("src", "groupparse.jl"))
|
|
include(joinpath("src", "utils.jl"))
|
|
|
|
const HALFRADIUS = 3
|
|
using SCS
|
|
|
|
with_SCS(iters=30_000, acceleration=10) = with_optimizer(SCS.Optimizer,
|
|
linear_solver=SCS.Direct,
|
|
max_iters=iters,
|
|
eps=1e-9,
|
|
alpha=(acceleration == 0 ? 1.95 : 1.5),
|
|
acceleration_lookback=acceleration,
|
|
warm_start=true)
|
|
|
|
groups = parse_grouppresentations("data/presentations_4_4_4.txt")
|
|
groups = parse_grouppresentations("data/presentations_3_3_4.txt")
|
|
|
|
for (group_name, G) in groups
|
|
@info "" group_name
|
|
|
|
check_propertyT(groups[group_name], "log/$(group_name)_r$HALFRADIUS",
|
|
HALFRADIUS, Inf, AutomaticStructure, with_SCS(50_000, 50))
|
|
|
|
end
|