Coverage for src/cvx/linalg/kkt/__init__.py: 100%
3 statements
« prev ^ index » next coverage.py v7.15.0, created at 2026-07-03 18:56 +0000
« prev ^ index » next coverage.py v7.15.0, created at 2026-07-03 18:56 +0000
1"""Equality-constrained linear algebra: bordered KKT solves and affine projections.
3Two operator- and constraint-level building blocks for active-set and path-tracing
4solvers:
6- :func:`bordered_solve` -- the range-space (Schur complement) solution of a
7 bordered KKT system ``[[H_FF, C.T], [C, 0]] @ [x; nu] = [rhs; d]``, reaching the
8 Hessian block only through a :class:`~cvx.linalg.SymmetricOperator`.
9- :class:`AffineProjection` -- Euclidean projection onto ``{x : C x = d}``, caching
10 the Gram matrix ``C C.T`` for repeated use.
11"""
13from .bordered import bordered_solve as bordered_solve
14from .projection import AffineProjection as AffineProjection
16__all__ = [
17 "AffineProjection",
18 "bordered_solve",
19]