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

sys osqp-sys

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

13 releases

Uses old Rust 2015

0.6.3 Dec 1, 2024
0.6.2 Jan 7, 2021
0.6.0 Sep 5, 2019
0.5.0 Dec 11, 2018
0.2.1-pre.2 Dec 13, 2017

#2196 in Algorithms

Download history 110/week @ 2024-08-30 84/week @ 2024-09-06 162/week @ 2024-09-13 190/week @ 2024-09-20 294/week @ 2024-09-27 633/week @ 2024-10-04 732/week @ 2024-10-11 511/week @ 2024-10-18 625/week @ 2024-10-25 614/week @ 2024-11-01 627/week @ 2024-11-08 588/week @ 2024-11-15 403/week @ 2024-11-22 685/week @ 2024-11-29 489/week @ 2024-12-06 399/week @ 2024-12-13

2,121 downloads per month
Used in 8 crates (via osqp)

Apache-2.0

3.5MB
8K SLoC

C 6K SLoC // 0.3% comments Python 708 SLoC // 0.2% comments Rust 600 SLoC // 0.0% comments Bitbake 319 SLoC // 0.8% comments C++ 131 SLoC Shell 48 SLoC Batch 27 SLoC

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