#solver #splitting #operator #quadratic #optimization #variables #osqp

sys osqp-sys

FFI bindings to the OSQP (Operator Splitting Quadratic Program) solver

11 releases

Uses old Rust 2015

0.6.2 Jan 7, 2021
0.6.0 Sep 5, 2019
0.5.0 Dec 11, 2018
0.4.1 Oct 17, 2018
0.2.1-pre.2 Dec 13, 2017

#2261 in Algorithms

Download history 20/week @ 2023-11-30 36/week @ 2023-12-07 42/week @ 2023-12-14 13/week @ 2023-12-21 11/week @ 2023-12-28 67/week @ 2024-01-04 153/week @ 2024-01-11 77/week @ 2024-01-18 16/week @ 2024-01-25 11/week @ 2024-02-01 24/week @ 2024-02-08 28/week @ 2024-02-15 47/week @ 2024-02-22 83/week @ 2024-02-29 76/week @ 2024-03-07 48/week @ 2024-03-14

258 downloads per month
Used in 7 crates (via osqp)

Apache-2.0

1MB
8K SLoC

C 6K SLoC // 0.3% comments Rust 754 SLoC // 0.0% comments Python 700 SLoC // 0.2% comments Bitbake 319 SLoC // 0.8% comments Shell 244 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

Dependencies