#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

#2405 in Algorithms

Download history 145/week @ 2024-07-21 75/week @ 2024-07-28 61/week @ 2024-08-04 67/week @ 2024-08-11 87/week @ 2024-08-18 114/week @ 2024-08-25 104/week @ 2024-09-01 77/week @ 2024-09-08 162/week @ 2024-09-15 205/week @ 2024-09-22 445/week @ 2024-09-29 660/week @ 2024-10-06 617/week @ 2024-10-13 555/week @ 2024-10-20 667/week @ 2024-10-27 613/week @ 2024-11-03

2,529 downloads per month
Used in 8 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