Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

sqp-craft

Optimization ecosystem · Shared solver-selection and agent guide

Problem, callback, solver and result contracts for SQP on smooth constrained problems with sparse (CSR) constraint Jacobians (ProblemSpec, NlpProblem, SqpSolver, SolveResult), KKT residuals, the QP seam for backends and a finite-difference derivative checker. No dependencies; the solver is sqp-craft-solver, whose README has a complete example:

cargo add sqp-craft sqp-craft-solver sqp-craft-clarabel

Part of SQP-craft, which also holds the Python package and the job worker. To build from source:

git clone https://github.com/dietmarwo/SQP-craft
cd SQP-craft
cargo test -p sqp-craft --locked

MIT license.