From bf85dd7e3cf300e9297f8fe45b142cb46696b80b Mon Sep 17 00:00:00 2001 From: kalmarek Date: Wed, 26 Feb 2020 14:50:55 +0100 Subject: [PATCH] set the default SCS eps to 1e-10 --- runcomputations.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runcomputations.jl b/runcomputations.jl index 8be492b..b599123 100644 --- a/runcomputations.jl +++ b/runcomputations.jl @@ -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)