-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rudimentary Octave interface #9
Conversation
In the end, I decided to port the Matlab interface to Octave and added proper packaging (see
You can also directly download the zipped package here: https://github.com/PREDICT-EPFL/piqp/actions/runs/9497107452 if you want to give it a test. |
Wow, nice work - looks like you did a much more comprehensive job of adapting to Octave than the bare-bones pull request I did. Shall I close my pull request? |
This adds a basic Octave interface that exposes a function piqp(), that invokes the dense PIQP solver and returns the result. The integration mainly translates between Eigen3 data structures and Octave native data structs and then passes args & results back & forth between the C PIQP implementation and Octave.
This integration is not very polished and the CMake support is pretty basic.
I played around with it on Ubuntu 24.04 and Octave 8.4.0
If it looks ok, I think there's a way to merge and squash all the commits into one commit, but let me know if not, and I'll squash things on my end.