Skip to main content

Module custom_family_error

Module custom_family_error 

Source
Expand description

Custom-family error type and its String conversions.

Structs§

RayRestoration
The block-level reading of a ray the joint Newton was descending when it stopped: along the last accepted step δ, the likelihood term slopes down by likelihood_slope = ∇(−ℓ)·δ < 0 while block block’s penalty slopes up by only penalty_slope = (λ_b S_b β)·δ > 0. The penalized objective is stationary along δ at the strength ratio r = −likelihood_slope / penalty_slope > 1, so raising every log strength of that block by log_strength_ratio = ln r closes the ray at the iterate the solve stopped on. The ratio is read off the two slopes the solve already had; nothing here is a step size.

Enums§

CustomFamilyError
InnerConvergenceTerminalState
JointNewtonTerminalReason

Functions§

relative_stationarity
The blockwise inner loop’s terminal decision variables — the quantities its convergence verdict is actually taken on.