pympcc.degeneracy_report¶
- pympcc.degeneracy_report(result, problem, *, tol=1e-06, zero_tol=1e-10)[source]¶
Combined degeneracy summary at
result.x.Aggregates signals already produced by
active_sets(),jac_norms(), andmerit_cross_check()into a single structured dict for one-glance health assessment.- Returns:
Result dict with keys:
n_biactive— biactive-pair count|I_00|.n_zero_rows— rows of the active Jacobian at norm ≤zero_tol.n_zero_cols— columns at norm ≤zero_tol.min_singular_value— smallest singular value of the active Jacobian (Nonewhen the active matrix is empty / not converged).merit_disagreement_ratio— seemerit_cross_check().
- Return type:
- Parameters:
result (MPCCResult)
problem (MPCCProblem)
tol (float)
zero_tol (float)