osqp / osqp.rs

Rust interface to OSQP: The Operator Splitting QP Solver

Home Page:https://osqp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update to OSQP 0.4.1

bstellato opened this issue · comments

Just keeping track of it. Version 0.4.1 improves some minor things that we should include in Rust.

This is not quite so simple as osqp_setup can now error if the problem is non-convex but this library has assumed (incorrectly) that osqp_setup only returns NULL on memory allocation failure - some settings validity is checked on assignment and data validity is checked in this library as otherwise it can lead to some nasty memory safety bugs.

Probably for the moment the answer is document and fix in the 0.5 release (next breaking change version).