Skip to main content
v2026.11,986 entries · CC-BY 4.0

acados: Open-Source Solver Framework for Embedded Optimal Control

acados is a BSD-licensed C solver framework for real-time nonlinear optimal control, with a citation map for researchers.

Written and maintained by CASRAI Editorial Board

Published

On this page

acados is open-source software for solving nonlinear optimal control problems quickly enough to run inside real-time and embedded controllers. It is a collection of modular solvers with a core written in C and interfaces for Python, MATLAB, Simulink and Octave, and it is released under the BSD 2-Clause licence. Researchers use it to run nonlinear model predictive control (NMPC) and related methods on hardware with tight time and memory budgets.

Definition and scope

The acados project describes itself as software for nonlinear optimal control problems with optimal control problem (OCP) structure, providing fast embedded solvers for real-time applications. The GitHub repository repeats the design target: the package is built for real-time applications and embedded systems. The reference paper, acados: a modular open-source framework for fast embedded optimal control, frames the package as a collection of solvers for fast embedded optimization whose interfaces to higher-level languages let a user assemble and interchange algorithmic components when designing an optimization-based control algorithm.

Three terms recur in the documentation and are worth separating.

  • Optimal control problem (OCP). A problem in which a system’s inputs over a time horizon are chosen to minimise a cost while respecting the system’s dynamics and constraints. acados exploits the stage-by-stage structure of this problem rather than treating it as one unstructured optimisation. See the CASRAI guide to control theory for the broader field.
  • Nonlinear model predictive control (NMPC). A control approach that repeatedly solves an OCP online. The acados documentation lists nonlinear MPC and economic MPC among its supported uses.
  • Moving horizon estimation (MHE). The estimation counterpart, also supported by acados according to its documentation, which also lists differential-algebraic equations (DAEs) and multiple shooting as supported formulations.

The scope is deliberately narrow. acados is a solver framework, not a modelling environment: the documentation says symbolic expressions are written with CasADi, a separate open-source tool that CASRAI covers in its CasADi guide. General-purpose numerical optimisation in Python, such as the routines described in the SciPy optimize guide, addresses a different need and is not tuned for embedded real-time use.

How acados is used in practice

The documentation describes a workflow in which the user defines an OCP in a high-level language and acados turns it into a solver. The interfaces generate self-contained C code intended for embedded deployment, so the same problem definition that was prototyped in Python or MATLAB can end up as compiled code on a controller. The OCP is described with the AcadosOcp class, and a separate AcadosMultiphaseOcp class covers problems that are split into multiple phases.

Algorithmic building blocks named in the documentation

  • Integrators with first- and second-order sensitivities, including a structure-exploiting Runge-Kutta integrator.
  • Quadratic programming (QP) solvers tailored to the OCP structure, such as HPIPM, together with condensing.
  • BLASFEO linear algebra, designed for small and medium-sized matrices, which is the size range typical of embedded control problems.
  • Solution sensitivities, which the documentation presents as useful for combining MPC with reinforcement learning.

The paper’s abstract states the design aim as providing both flexibility and performance through modularity, without relying on automatic code generation for the numerical core, which it says supports maintainability and extensibility.

Installation facts that affect reproducibility

The installation page states that building acados needs git, make and cmake, with an out-of-source build and a submodule step (git submodule update --recursive --init). Several QP solvers are optional and are switched on at build time with flags such as -DACADOS_WITH_QPOASES=ON; the page lists qpOASES, DAQP, OSQP, HPMPC and Clarabel as options, all off by default. For the Python interface the page says shared libraries should be built (BUILD_SHARED_LIBS on). On macOS the default clang lacks OpenMP and the page recommends gcc installed through Homebrew, and on Windows the MSVC route is described as preliminary and not thoroughly tested. Because results can depend on which solver options were compiled in, a methods section should record them.

acados sits inside a small ecosystem, and the same names appear in its own documentation.

CasADi

CasADi supplies symbolic expressions and automatic differentiation tooling that acados interfaces consume; the paper lists compatibility with the CasADi modelling language as a main feature. Think of CasADi as the language in which the model is written and acados as the engine that solves the resulting control problem fast.

HPIPM and BLASFEO

These are the QP solver and the linear algebra library named by the documentation as parts of the acados stack. They are separate components that a methods description may need to mention if the solver choice matters to the result.

qpOASES and other optional QP solvers

Because the documentation treats additional QP solvers as build options, “which QP solver” is a configuration question rather than a property of acados itself.

Interfaces

The core is C. Python, MATLAB, Simulink and Octave interfaces sit on top of it. The Python interface is the one whose installation notes call for shared libraries.

Where it matters for research software choice and citation

For research groups the practical question is how to describe the software so that others can reproduce a result. acados has an official citing page that names a primary reference and separate references for specific advanced features. The primary reference is Verschueren, Frison, Kouzoupis, Frey, van Duijkeren, Zanelli, Novoselnik, Albin, Quirynen and Diehl, “acados: a modular open-source framework for fast embedded optimal control”, Mathematical Programming Computation, volume 14, issue 1, pages 147-183 (DOI 10.1007/s12532-021-00208-8). The citing page then lists feature papers, for example for the casados integrator, the multi-phase OCP formulation, advanced-step real-time iteration, a Gauss-Newton Runge-Kutta method, zero-order robust optimisation and the GNSF integrator. The data table below maps each feature to its reference as listed on that page.

A citation and reporting checklist

  1. Cite the primary Mathematical Programming Computation paper whenever acados was used.
  2. If you used an advanced feature, also cite the paper the citing page lists for that feature.
  3. Record the acados version or repository state you built, since the project publishes source and build options rather than a fixed binary.
  4. Record optional QP solver flags and the interface (Python, MATLAB, Simulink or Octave) used.
  5. State the licence when redistributing code. The repository licence file reads “Copyright (c) The acados authors” under the 2-Clause BSD License, a permissive open-source software licence.
  6. Follow the broader principles for software citation if your journal or funder asks for them.

Taken together, the reference paper, the installation page and the citing page give a methods section three things to state: which published work the solver comes from, how the build was configured, and which interface produced the generated code. A reader who knows those three facts can rebuild the same solver from the open repository, which is the practical meaning of reproducibility for a control-software result. The data table below the checklist is limited to what the official citing page and the paper record, so it can be checked line by line against those pages.

Common misunderstandings

“acados is a modelling tool”

It is not. Modelling is delegated to CasADi expressions; acados provides solvers, integrators and code generation around them.

“Embedded means it only runs on microcontrollers”

Embedded here describes the design target: solvers generated as self-contained C code for real-time and embedded deployment. The documentation also describes Python, MATLAB and Simulink interfaces for prototyping, so it is used on ordinary computers as well.

“Open source means no citation is needed”

The BSD 2-Clause licence governs reuse of the code. Scholarly credit is a separate matter, and the project explicitly asks for citations on its citing page.

“A newer solver option is always on”

Optional QP solvers such as qpOASES, DAQP and OSQP are off by default and must be enabled at build time.

Frequently asked questions

What is acados used for?

Solving nonlinear optimal control problems in real time, including nonlinear MPC, economic MPC and moving horizon estimation, with code that can be deployed on embedded hardware.

What licence is acados released under?

The 2-Clause BSD License, as shown in the repository licence file and stated in the reference paper.

Which languages and tools does it work with?

The core is written in C. Interfaces exist for Python, MATLAB, Simulink and Octave, and symbolic models are written with CasADi.

How do I cite acados?

Cite the Mathematical Programming Computation paper by Verschueren and colleagues, plus the feature-specific papers listed on the official citing page for any advanced feature you used.

Do I need to install extra solvers?

Not necessarily. HPIPM is part of the tailored QP stack described in the documentation, while qpOASES, DAQP, OSQP, HPMPC and Clarabel are optional build flags that default to off.

Sources

  • acados documentation, https://docs.acados.org/ (read 2026-11-14)
  • acados repository, https://github.com/acados/acados, and licence file, https://raw.githubusercontent.com/acados/acados/master/LICENSE (read 2026-11-14)
  • acados installation guide, https://docs.acados.org/installation/index.html (read 2026-11-14)
  • acados citing page, https://docs.acados.org/citing (read 2026-11-14)
  • Verschueren et al., acados: a modular open-source framework for fast embedded optimal control, arXiv:1910.13753, https://arxiv.org/abs/1910.13753 (read 2026-11-14)

Data: acados features and the references its citing page lists for them

Maps advanced acados features to the publication the official acados citing page asks users to cite, compiled from that page and the reference paper metadata read on 2026-11-14.

Period covered: 2019/2025.

acados features and the references its citing page lists for them
Feature or useReference listed on citing pageVenue or identifier
Primary citation (the framework as a whole)Verschueren, Frison, Kouzoupis, Frey, van Duijkeren, Zanelli, Novoselnik, Albin, Quirynen, DiehlMathematical Programming Computation, 2021 (DOI 10.1007/s12532-021-00208-8)
casados integratorFrey, De Schutter, DiehlECC 2023
Multi-phase OCPFrey, Baumgartner, Frison, DiehlarXiv:2408.07382 (2024)
Advanced-step real-time iteration (four levels)Listed on citing pagearXiv:2403.07101 (2024)
Gauss-Newton Runge-Kutta integratorListed on citing pagearXiv:2310.00618
Zero-order robust optimization (zoRO)Listed on citing pageECC 2024
Riccati-ZOROListed on citing pagearXiv:2511.10473
GNSF integratorListed on citing pageECC 2019

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about acados: Open-Source Solver Framework for Embedded Optimal Control

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →