1
0
mirror of https://github.com/kalmarek/SmallHyperbolic synced 2024-11-27 08:30:27 +01:00

fix: copy warmstart.jld to directory

This commit is contained in:
kalmarek 2020-01-22 23:11:49 +01:00
parent 6c44a396c6
commit fc84278fa5

View File

@ -56,8 +56,8 @@ let GROUP = ARGS[1]
if certified_λ < 0.0 && λ > 0.01 # there is still a chance to detect spectral gap if certified_λ < 0.0 && λ > 0.01 # there is still a chance to detect spectral gap
new_λ = round(0.8λ, sigdigits=2) new_λ = round(0.8λ, sigdigits=2)
new_dir = joinpath(group_name, "$new_λ") new_dir = joinpath(group_name, "$new_λ")
mkpath(new_dir) isdir(new_dir) || mkpath(new_dir)
cp(joinpath(group_name, "Inf", "warmstart.jld"), new_dir, force=true) cp(joinpath(group_name, "Inf", "warmstart.jld"), joinpath(new_dir, "warmstart.jld"), force=true)
check_propertyT(groups[GROUP], group_name, check_propertyT(groups[GROUP], group_name,
HALFRADIUS, new_λ, AutomaticStructure, with_SCS(500_000, 0)) HALFRADIUS, new_λ, AutomaticStructure, with_SCS(500_000, 0))