$ show gbionics/osqp-eigen
osqp-eigen is a C++ wrapper library for the OSQP (Operator Splitting Quadratic Program) solver. It provides an intuitive interface for formulating and solving quadratic programming problems using Eigen data types for matrices and vectors. The library handles the conversion between Eigen's sparse matrix format and OSQP's internal CSC format, manages solver initialization and configuration, and supports advanced features like warm-starting and iterative problem updates without full reinitialization. The architecture is modular with separate Data, Settings, and Solver classes, and includes robust version compatibility handling for different OSQP releases.
The LLM identified 1 files worth highlighting for reuse:
Provides conversion utilities between Eigen sparse matrices and OSQP's CSC format. This isolated component handles memory allocation, format conversion, and triplet extraction with proper error checking. It demonstrates non-obvious skill in managing the complexities of sparse matrix representations and memory ownership between Eigen and OSQP, making it safely reusable in other projects requiring similar integration.