pympcc.active_sets¶
- pympcc.active_sets(result, problem, *, tol=1e-06)[source]¶
Partition constraint indices into active subsets at
result.x.Returns a dict with the integer index arrays:
I_g— active inequality rows (g_j(x*) ≥ -tol)I_G— comp pairs withG_i(x*) ≤ tolI_H— comp pairs withH_i(x*) ≤ tolI_00— biactive pairsI_G ∩ I_HI_xL— variables at active lower bound (x_j ≈ xl_j)I_xU— variables at active upper bound (x_j ≈ xu_j)
- Return type:
- Parameters:
result (MPCCResult)
problem (MPCCProblem)
tol (float)