pysolver_view.diagnostics.slsqp_audit module#
Independent mathematical checks adapted from Turbodash’s audit approach.
These post-solve helpers audit the bundled, unscaled StudyProblem models, which have inequality constraints and expose unrecorded values() calls. They perform additional model work outside solver counters. They do not estimate multipliers and never call the production KKT assessor. Supplied multipliers are reconstructed using fresh model values and analytical or finite-difference rows.
- pysolver_view.diagnostics.slsqp_audit.audit_solution(problem, solver, assessment)[source]#
Check final metrics, histories, and half-step derivative sensitivity.
An audit can pass for a correctly rejected optimization. Audit failure means inconsistent reporting/math, not merely failure to meet an optimization target.