From 9be3f68bb04c7327ff4ac054c8c4d9ac1ebea3cb Mon Sep 17 00:00:00 2001 From: Tobias Wood Date: Tue, 16 May 2023 10:55:23 +0100 Subject: [PATCH] Better ADMM default iterations --- src/cmd/admm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/admm.cpp b/src/cmd/admm.cpp index c6316794..54a61bb1 100644 --- a/src/cmd/admm.cpp +++ b/src/cmd/admm.cpp @@ -27,12 +27,12 @@ int main_admm(args::Subparser &parser) args::ValueFlag pre(parser, "P", "Pre-conditioner (none/kspace/filename)", {"pre"}, "kspace"); args::ValueFlag preBias(parser, "BIAS", "Pre-conditioner Bias (1)", {"pre-bias", 'b'}, 1.f); args::ValueFlag, VectorReader> basisScales(parser, "S", "Basis scales", {"basis-scales"}); - args::ValueFlag inner_its(parser, "ITS", "Max inner iterations (4)", {"max-its"}, 4); + args::ValueFlag inner_its(parser, "ITS", "Max inner iterations (2)", {"max-its"}, 2); args::ValueFlag atol(parser, "A", "Tolerance on A", {"atol"}, 1.e-6f); args::ValueFlag btol(parser, "B", "Tolerance on b", {"btol"}, 1.e-6f); args::ValueFlag ctol(parser, "C", "Tolerance on cond(A)", {"ctol"}, 1.e-6f); - args::ValueFlag outer_its(parser, "ITS", "ADMM max iterations (8)", {"max-outer-its"}, 8); + args::ValueFlag outer_its(parser, "ITS", "ADMM max iterations (30)", {"max-outer-its"}, 30); args::ValueFlag abstol(parser, "ABS", "ADMM absolute tolerance (1e-4)", {"abs-tol"}, 1.e-4f); args::ValueFlag reltol(parser, "REL", "ADMM relative tolerance (1e-3)", {"rel-tol"}, 1.e-3f); args::ValueFlag ρ(parser, "ρ", "ADMM penalty parameter ρ (default 1)", {"rho"}, 1.f);