pympcc.TNLPResult¶
- class pympcc.TNLPResult(x, obj, status, message, success, mult_comp_G, mult_comp_H, mult_ineq, mult_eq, kkt_residual, stationarity, n_iter, solve_time, active_set, n_violations=0)[source]¶
Bases:
objectResult of a TNLP active-set refinement re-solve (§2.6).
- Parameters:
- x¶
Solution of the tightened NLP.
- Type:
ndarray
- mult_comp_G¶
MPCC multipliers
μ_G = −λ_G(literature sign convention). Non-negative at S-stationary points for pairs withG_i = 0.- Type:
ndarray, shape (n_comp,)
- mult_comp_H¶
MPCC multipliers
μ_H = −λ_H. Non-negative at S-stationary points for pairs withH_i = 0.- Type:
ndarray, shape (n_comp,)
- mult_ineq¶
Inequality-constraint multipliers (IPOPT sign convention, ≤ 0).
- Type:
ndarray or None
- mult_eq¶
Equality-constraint multipliers (IPOPT sign convention, free).
- Type:
ndarray or None
- kkt_residual¶
∞-norm of the MPCC stationarity residual
‖∇f + Jᵀμ‖at the TNLP solution.- Type:
float or None
- active_set¶
(I_G_active, I_H_active)— integer index arrays of comp pairs withG_ipinned to 0 andH_ipinned to 0 respectively.- Type:
- n_violations¶
Number of pairs whose equality-side MPCC multiplier was negative (<
-1e-6) in the final TNLP solve. Zero at an S-stationary point. Non-zero indicates pairs where the active-set assignment was wrong (typically from a poorly converged relaxation iterate).- Type:
- __init__(x, obj, status, message, success, mult_comp_G, mult_comp_H, mult_ineq, mult_eq, kkt_residual, stationarity, n_iter, solve_time, active_set, n_violations=0)¶
- Parameters:
- Return type:
None
Methods
__init__(x, obj, status, message, success, ...)Attributes