pounce-qp 0.3.0

Sparse parametric active-set quadratic programming subproblem solver for POUNCE. Drives the active-set SQP NLP path and the parametric corrector inside pounce-sensitivity.
Documentation
//! Sparse parametric active-set quadratic programming solver for
//! POUNCE.
//!
//! # Algorithm
//!
//! The solver family is **sparse Schur-complement parametric
//! active-set** — the qpOASES lineage extended to sparse Hessian and
//! Jacobian, after Kirches 2011 (*Fast Numerical Methods for
//! Mixed-Integer Nonlinear Model-Predictive Control*) and Janka,
//! Kirches, Sager, Schlöder 2016 (*Math. Prog. Comp.* **8**). It is
//! the only QP family in the literature combining sparse storage,
//! indefinite-Hessian handling, and true parametric warm starting
//! across solves — the trio required for the SQP / MPC / parametric-
//! continuation workloads pounce targets.
//!
//! See [`docs/research/active-set-sqp-warm-start.md`] (§4.2) for the
//! literature pinning and [§5](`docs/research/active-set-sqp-warm-start.md`)
//! for the type-level design this module realizes.
//!
//! # Status
//!
//! Phase 5a scaffold. Types and trait surface are stable; the
//! solver internals (Schur-complement factor maintenance, EXPAND
//! anti-cycling, l1-elastic phase-1, parametric homotopy, inertia
//! control) are stubbed and land in subsequent commits.
//!
//! [`docs/research/active-set-sqp-warm-start.md`]: ../../../../docs/research/active-set-sqp-warm-start.md

#![cfg_attr(test, allow(clippy::unwrap_used, clippy::expect_used))]

pub mod elastic;
pub mod error;
pub mod factor;
pub mod kkt;
pub mod options;
pub mod problem;
pub mod qps;
pub mod schur;
pub mod solver;
pub mod working_set;

#[cfg(test)]
mod tests;

pub use elastic::ElasticReformulation;
pub use error::{QpError, QpStatus};
pub use factor::LinearSolver;
pub use kkt::{
    a_times_x, assemble_active_set_kkt, assemble_box_with_active, assemble_equality_plus_bounds,
    h_times_x, is_all_equality_constraints, is_pure_box, is_pure_equality_no_bounds,
    rhs_equality_only, KktTriplet,
};
pub use options::{AntiCyclingChoice, QpAlgorithm, QpOptions};
pub use problem::{HessianInertia, QpProblem, QpSolution, QpStats, QpWarmStart};
pub use qps::{parse_qps, QpsModel};
pub use solver::{ParametricActiveSetSolver, QpSolver};
pub use working_set::{BoundStatus, ConsStatus, WorkingSet};