File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ mutable struct QuasiNewtonLimitedMemoryBoxDirectionUpdate{
5050 last_gcd_stepsize:: F
5151end
5252
53+ function status_summary (d:: QuasiNewtonLimitedMemoryBoxDirectionUpdate )
54+ s = " limited memory direction update with support for box constraints; "
55+ s *= " internal direction update status: $(status_summary (d. qn_du)) "
56+ return s
57+ end
58+
5359function get_parameter (d:: QuasiNewtonLimitedMemoryBoxDirectionUpdate , :: Val{:max_stepsize} )
5460 if d. last_gcd_result === :found_limited
5561 return d. last_gcd_stepsize
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ using RecursiveArrayTools
9898 st = QuasiNewtonState (M)
9999
100100 @test startswith (repr (ha), " QuasiNewtonLimitedMemoryBoxDirectionUpdate with internal state:" )
101+ @test startswith (Manopt. status_summary (ha), " limited memory direction update with support for box constraints; internal direction update status: " )
101102
102103 f (M, p) = sum (p .^ 2 )
103104 grad_f (M, p) = 2 * p
You can’t perform that action at this time.
0 commit comments