Fast C solvers for nonlinear model predictive control and moving horizon estimation, with Python, MATLAB, and Octave interfaces for real-time and embedded use.
Overview
acados is modular software for nonlinear programs that have an optimal control problem structure, the kind solved repeatedly in model predictive control and moving horizon estimation. It targets high-frequency control loops and embedded hardware where compute budgets are tight.
The package supports nonlinear and economic MPC, state and parameter estimation via moving horizon estimation, differential-algebraic equation models, multiple shooting discretization, and dedicated integrators with sensitivity information. SQP-type solvers and interchangeable NLP, QP, integration, and regularization pieces let you tailor a pipeline for simulation, estimation, or control.
High-level interfaces use CasADi for problem setup through AcadosOcp and AcadosMultiphaseOcp, and can generate standalone C for deployment on embedded targets. The back end relies on structure-exploiting linear algebra such as BLASFEO and HPIPM. Sensitivities can feed reinforcement-learning pipelines or act as differentiable layers in machine-learning stacks.
Documented application areas include robotics, assisted driving stacks such as openpilot, energy systems, biomechanics, and aerospace trajectory work.
Key features
- Nonlinear and economic MPC
- Moving horizon estimation
- Differential-algebraic equation support
- Multiple shooting discretization
- SQP-type optimal control solvers
- Modular NLP and QP components
- CasADi-based language interfaces
- Solution sensitivity computation
Use cases
- Real-time robot control
- Autonomous vehicle assistance
- Microgrid and turbine control
- Embedded optimal control deployment
- Differentiable MPC in ML pipelines