pub fn solve_cls<const NU: usize, const NC: usize>(
a: &MatA<NC, NU>,
b: &VecN<NC>,
umin: &VecN<NU>,
umax: &VecN<NU>,
us: &mut VecN<NU>,
ws: &mut [i8; NU],
imax: usize,
) -> SolverStatsExpand description
General box-constrained least-squares solver.
Solves min ‖Au − b‖² subject to umin ≤ u ≤ umax using an active-set
method with incremental QR updates (Givens rotations).
Unlike solve, this function does not require NC == NU + NV and
accepts any NC ≥ NU. Use it with the unregularised setup functions
(setup_a_unreg / setup_b_unreg) or with a custom A / b.