File tree Expand file tree Collapse file tree 6 files changed +8
-0
lines changed
Expand file tree Collapse file tree 6 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,7 @@ function LMTR(
294294 set_residuals! (stats, zero (eltype (xk)), ξ1 ≥ 0 ? sqrt (ξ1) : ξ1)
295295 set_iter! (stats, k)
296296 set_time! (stats, elapsed_time)
297+ set_solver_specific! (stats, :radius , Δk)
297298 set_solver_specific! (stats, :Fhist , Fobj_hist[1 : k])
298299 set_solver_specific! (stats, :Hhist , Hobj_hist[1 : k])
299300 set_solver_specific! (stats, :NonSmooth , h)
Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ function LM(
282282 set_residuals! (stats, zero (eltype (xk)), ξ1 ≥ 0 ? sqrt (ξ1) : ξ1)
283283 set_iter! (stats, k)
284284 set_time! (stats, elapsed_time)
285+ set_solver_specific! (stats, :sigma , σk)
285286 set_solver_specific! (stats, :Fhist , Fobj_hist[1 : k])
286287 set_solver_specific! (stats, :Hhist , Hobj_hist[1 : k])
287288 set_solver_specific! (stats, :NonSmooth , h)
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ function R2DH(
6161 set_residuals! (stats, zero (eltype (xk)), sqrt_ξ_νInv)
6262 set_iter! (stats, k)
6363 set_time! (stats, outdict[:elapsed_time ])
64+ set_solver_specific! (stats, :sigma , outdict[:sigma ])
6465 set_solver_specific! (stats, :Fhist , outdict[:Fhist ])
6566 set_solver_specific! (stats, :Hhist , outdict[:Hhist ])
6667 set_solver_specific! (stats, :Time_hist , outdict[:Time_hist ])
@@ -313,6 +314,7 @@ function R2DH(
313314 :hk => hk,
314315 :sqrt_ξ_νInv => sqrt_ξ_νInv,
315316 :elapsed_time => elapsed_time,
317+ :sigma => σk
316318 )
317319
318320 return xk, k, outdict
Original file line number Diff line number Diff line change @@ -286,6 +286,7 @@ function R2N(
286286 set_residuals! (stats, zero (eltype (xk)), sqrt_ξ1_νInv)
287287 set_iter! (stats, k)
288288 set_time! (stats, elapsed_time)
289+ set_solver_specific! (stats, :sigma , σk)
289290 set_solver_specific! (stats, :Fhist , Fobj_hist[1 : k])
290291 set_solver_specific! (stats, :Hhist , Hobj_hist[1 : k])
291292 set_solver_specific! (stats, :NonSmooth , h)
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ function TRDH(
7575 set_residuals! (stats, zero (eltype (xk)), sqrt_ξ_νInv)
7676 set_iter! (stats, k)
7777 set_time! (stats, outdict[:elapsed_time ])
78+ set_solver_specific! (stats, :radius , outdict[:radius ])
7879 set_solver_specific! (stats, :Fhist , outdict[:Fhist ])
7980 set_solver_specific! (stats, :Hhist , outdict[:Hhist ])
8081 set_solver_specific! (stats, :NonSmooth , outdict[:NonSmooth ])
@@ -364,6 +365,7 @@ function TRDH(
364365 :hk => hk,
365366 :sqrt_ξ_νInv => sqrt_ξ_νInv,
366367 :elapsed_time => elapsed_time,
368+ :radius => Δk,
367369 )
368370
369371 return xk, k, outdict
Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ function TR(
283283 set_residuals! (stats, zero (eltype (xk)), sqrt_ξ1_νInv)
284284 set_iter! (stats, k)
285285 set_time! (stats, elapsed_time)
286+ set_solver_specific! (stats, :radius , Δk)
286287 set_solver_specific! (stats, :Fhist , Fobj_hist[1 : k])
287288 set_solver_specific! (stats, :Hhist , Hobj_hist[1 : k])
288289 set_solver_specific! (stats, :NonSmooth , h)
You can’t perform that action at this time.
0 commit comments