pysolver_view.optimization.kkt_adapter module#
Translate same-point optimization data into the shared KKT mathematics.
- pysolver_view.optimization.kkt_adapter.kkt_from_cache(self, x_norm, tol, *, optimality_tol=None)[source]#
Assess public-sign KKT residuals using only same-point cached arrays.
The legacy dual-feasibility field remains a signed minimum multiplier. Shared diagnostics additionally expose the nonnegative dual residual and infinity-norm stationarity. Multiplier indices are user inequalities, then all lower-bound slots, then all upper-bound slots.