Fast integrators with sensitivity propagation for use in CasADi

Jonathan Frey, Jochem De Schutter, Moritz Diehl
11/3/2022
math.OC

Official code: FreyJo/casados-integrators (24 stars, Python, last commit 2026-10-23).

Abstract

Efficient integrators with sensitivity propagation are an essential ingredient for the numerical solution of optimal control problems. This paper gives an overview on the acados integrators, their Python interface and presents a workflow that allows using them with their sensitivities within a nonlinear programming (NLP) solver interfaced by CasADi.

Show full abstract

The implementation is discussed, demonstrated and provided as open-source software. The computation times of the proposed integrator and its sensitivity computation are compared to the native CasADi collocation integrator, CVODES and IDAS on different examples. A speedup of one order of magnitude for simulation and of up to three orders of magnitude for the forward sensitivity propagation is shown for an airborne wind energy system model.

View on arXivView PDF

Code Implementations(1)

A CasADi Python wrapper for the acados integrators.

249PythonOct 21, 20221 months agoNOASSERTION

Similar Papers

Cite this paper

@article{frey2022fast,
  title  = {Fast integrators with sensitivity propagation for use in CasADi},
  author = {Jonathan Frey and Jochem De Schutter and Moritz Diehl},
  year   = {2022},
  eprint = {2211.01982},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.01982}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.01982.svg)](https://codeofpaper.com/paper/2211.01982)

Discussion