Optimization Engine (OpEn) is a solver for embedded nonconvex optimization.
Documentation available at alphaville.github.io/optimization-engine
Features
OpEn is the counterpart of CVXGen for nonconvex problems.
- Fast nonconvex parametric optimization
- Numerical algorithm written in Rust
- Provably safe memory management
- Ideal for nonlinear MPC applications (e.g., autonomous navigation)
Demos
Code generation
Code generation? Piece of cake!
OpEn generates parametric optimizer modules in Rust - it's blazingly fast - it's safe - it can run on embedded devices.
You can use the MATLAB or Python interface of OpEn to generate Rust code for your parametric optimizer.
This can then be called directly, using Rust, or, it can be consumed as a service over a UDP socket.
You can generate a parametric optimizer in just very few lines of code and in no time.
OpEn allows application developers and researchers to focus on the challenges of the application, rather than the tedious task of solving the associated parametric optimization problems (as in nonlinear model predictive control).
Embedded applications
OpEn can run on embedded devices; here we see it running on an intel Atom for the autonomous navigation of a lab-scale micro aerial vehicle - the controller runs at 20Hz using only 15% CPU!
Getting started
- More information about OpEn
- Quick installation guide
- OpEn in Rust
- OpEn in MATLAB (Examples)
- OpEn in Python (Examples)
- Frequently asked questions
Contact us
Do you like OpEn?
Show us with a star on github...
License
OpEn is a free open source project. You can use it under the terms of either Apache license v2.0 or MIT license.
Core Team
Contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Before you contribute to Optimization Engine, please read our contributing guidelines.
A list of contributors is automatically generated by github here.