From aa9ccb882a220c7359860363998d86d818110b95 Mon Sep 17 00:00:00 2001 From: Marek Kaluba Date: Thu, 10 Nov 2022 19:39:06 +0100 Subject: [PATCH] tiny changes to the README --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 58b8a55..4e7ea5b 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,10 @@ julia> include("test/optimizers.jl"); Now we have everything what we need to solve the problem! ```julia -julia> status, warmstart = PropertyT.solve(opt_problem, scs_optimizer(max_iters=5_000, accel=50, alpha=1.9)); +julia> status, warmstart = PropertyT.solve( + opt_problem, + scs_optimizer(max_iters=5_000, accel=50, alpha=1.9), +); ------------------------------------------------------------------ SCS v3.2.1 - Splitting Conic Solver (c) Brendan O'Donoghue, Stanford University, 2012 @@ -119,8 +122,12 @@ julia> status ALMOST_OPTIMAL::TerminationStatusCode = 7 ``` The solver didn't manage to solve the problem but it got quite close! (duality gap is ~`1.63e-6`). Let's try once again this time warmstarting the solver: -``` -julia> status, warmstart = PropertyT.solve(opt_problem, scs_optimizer(max_iters=10_000, accel=50, alpha=1.9), warmstart); +```julia +julia> status, warmstart = PropertyT.solve( + opt_problem, + scs_optimizer(max_iters=10_000, accel=50, alpha=1.9), + warmstart, +); ------------------------------------------------------------------ SCS v3.2.1 - Splitting Conic Solver (c) Brendan O'Donoghue, Stanford University, 2012