pympcc.active_row_labels¶
- pympcc.active_row_labels(result, problem, *, active_tol=1e-06)[source]¶
Return active-row labels in the order
sensitivity()expectsdc_dp.Useful for assembling the
dc_dpmatrix without first callingsensitivity().- Parameters:
result (MPCCResult, MPCCProblem) – Solved result and its source problem.
problem (MPCCResult, MPCCProblem) – Solved result and its source problem.
active_tol (float) – Constraint tolerance for active-set detection (default
1e-6).
- Returns:
Per-row labels. See
SensitivityResult.active_row_labels.- Return type: