Paper record

W2782618081

Embedded code generation using the OSQP solver

Goran Banjac, Bartolomeo Stellato, Nicholas Moehle, Paul J. Goulart, Alberto Bemporad, Stephen Boyd

Year
2017
Venue
IEEE Conference on Decision and Control (CDC)
References
32
Cited by
98

Details and counts from OpenAlex.

Abstract

We introduce a code generation software package that accepts a parametric description of a quadratic program (QP) as input and generates tailored C code that compiles into a fast and reliable optimization solver for the QP that can run on embedded platforms. The generated code is based on OSQP, a novel open-source operator splitting solver for quadratic programming. Our software supports matrix factorization caching and warm starting, and allows updates of the problem parameters during runtime. The generated C code is library-free and has a very small compiled footprint. Examples arising in real-world applications show that the generated code outperforms state-of-the-art embedded and desktop QP solvers.