1 unstable release

0.6.2 Mar 7, 2023

#1500 in Math

32 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

1.5MB
32K SLoC

Rust 24K SLoC // 0.0% comments C 6K SLoC // 0.3% comments Python 700 SLoC // 0.2% comments Bitbake 319 SLoC // 0.8% comments Shell 243 SLoC // 0.2% comments Batch 127 SLoC // 0.2% comments

osqp.rs

Rust wrapper for OSQP: the Operator Splitting QP Solver.

The OSQP (Operator Splitting Quadratic Program) solver is a numerical optimization package for solving problems in the form

minimize        0.5 x' P x + q' x

subject to      l <= A x <= u

where x in R^n is the optimization variable.

The objective function is defined by a positive semidefinite matrix P in S^n_+ and vector q in R^n.

The linear constraints are defined by matrix A in R^{m x n} and vectors l in R^m U {-inf}^m, u in R^m U {+inf}^m.

Rust Interface Documentation

Solver Documentation

No runtime deps