mirror of
https://github.com/kalmarek/SmallHyperbolic
synced 2024-11-09 04:05:27 +01:00
set the default SCS eps to 1e-10
This commit is contained in:
parent
b34bba4f09
commit
bf85dd7e3c
@ -25,10 +25,10 @@ include(joinpath("src", "utils.jl"))
|
|||||||
const HALFRADIUS = 1
|
const HALFRADIUS = 1
|
||||||
using SCS
|
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,
|
linear_solver=SCS.Direct,
|
||||||
max_iters=iters,
|
max_iters=iters,
|
||||||
eps=1e-9,
|
eps=eps,
|
||||||
alpha=(acceleration == 0 ? 1.95 : 1.5),
|
alpha=(acceleration == 0 ? 1.95 : 1.5),
|
||||||
acceleration_lookback=acceleration,
|
acceleration_lookback=acceleration,
|
||||||
warm_start=true)
|
warm_start=true)
|
||||||
|
Loading…
Reference in New Issue
Block a user