Metraipolis › archive › dc_837ecfa44e91

Scaly: an Optimizing Compiler for Optimal Control — arXiv:2610.41762

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.41762
License (as archived)
CC0-1.0
Archived
2026-11-02T08:13:53.900Z
SHA-256 of the archived text
cd90372abbd0f7714d91dab00275bb8b65e9b74b76c24b3192f9d038852e633c
Stable URL of this page
https://metraipolis.com/documento/dc_837ecfa44e91

How to cite

Scaly: an Optimizing Compiler for Optimal Control — arXiv:2610.41762 — arXiv (en), https://arxiv.org/abs/2610.41762 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_837ecfa44e91 (Metraipolis archive dc_837ecfa44e91, sha256 cd90372abbd0f7714d91dab00275bb8b65e9b74b76c24b3192f9d038852e633c)
BibTeX
@misc{dc837ecfa44e91,
  title = {Scaly: an Optimizing Compiler for Optimal Control — arXiv:2610.41762},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.41762},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_837ecfa44e91; sha256 cd90372abbd0f7714d91dab00275bb8b65e9b74b76c24b3192f9d038852e633c},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.41762. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

We present Scaly, an open-source optimizing compiler for optimal control, written in Python, that generates fast C code. Scaly provides a modeling language embedded in Python for the parametric optimization problems that arise in model predictive control and moving horizon estimation, and computes the sparse derivatives that standard optimization solvers need. Scaly accepts general nonlinear programs but applies optimizations specific to optimal control, which preserve the repeated structure of a problem, such as the stages of a horizon, through differentiation down to the generated loops. The generated C depends only on the C math library and never allocates memory dynamically. On three benchmark problems, Scaly evaluates the Hessian of the Lagrangian up to 26 times faster than CasADi, with smaller binaries and build times that stay nearly constant with the horizon. With the same solver, Scaly shortens the solver time per control step on every benchmark, by a factor of up to 9.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv eess.SY, nuovi lavori del giorno).
Categorie arXiv: Systems and Control (eess.SY).
Pagina del lavoro: https://arxiv.org/abs/2610.41762 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-02T07:52:46.314Z dalla pagina https://arxiv.org/list/eess.SY/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).