1
0
mirror of https://github.com/kalmarek/SmallHyperbolic synced 2024-12-29 11:15:28 +01:00

set the default SCS eps to 1e-10

This commit is contained in:
kalmarek 2020-02-26 14:50:55 +01:00
parent b34bba4f09
commit bf85dd7e3c
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15

View File

@ -25,10 +25,10 @@ include(joinpath("src", "utils.jl"))
const HALFRADIUS = 1
using SCS
with_SCS(iters=30_000, acceleration=10) = with_optimizer(SCS.Optimizer,
with_SCS(iters=30_000, acceleration=10; eps=1e-10) = with_optimizer(SCS.Optimizer,
linear_solver=SCS.Direct,
max_iters=iters,
eps=1e-9,
eps=eps,
alpha=(acceleration == 0 ? 1.95 : 1.5),
acceleration_lookback=acceleration,
warm_start=true)