From 7fc2b9d82c8cd0901351c5898a5088cc4240c069 Mon Sep 17 00:00:00 2001 From: tmigot Date: Sun, 1 Sep 2024 15:59:49 -0400 Subject: [PATCH] Add intermediate tolerances in logs --- src/method.jl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/method.jl b/src/method.jl index 4cdebe7..fc29f56 100644 --- a/src/method.jl +++ b/src/method.jl @@ -375,10 +375,10 @@ function SolverCore.solve!( if verbose > 0 @info log_header( - [:iter, :fx, :normgp, :normcx, :μ, :normy, :sumc, :inner_status, :iter_type], - [Int, Float64, Float64, Float64, Float64, Float64, Int, Symbol, Symbol], + [:iter, :fx, :normgp, :normcx, :μ, :normy, :η, :ω, :sumc, :inner_status, :iter_type], + [Int, Float64, Float64, Float64, Float64, Float64, Float64, Float64, Int, Symbol, Symbol], ) - @info log_row(Any[stats.iter, fx, normgp, normcx, al_nlp.μ, norm(y), counter_cost(nlp)]) + @info log_row(Any[stats.iter, fx, normgp, normcx, al_nlp.μ, norm(y), η, ω, counter_cost(nlp)]) end solved = normgp ≤ ϵd && normcx ≤ ϵp @@ -474,6 +474,8 @@ function SolverCore.solve!( normcx, al_nlp.μ, norm(al_nlp.y), + η, + ω, counter_cost(nlp), inner_status, iter_type,