Metraipolis › archive › dc_7508d220ca4b
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-03T08:32:41.957Z
- SHA-256 of the archived text
98e31730e66980d2631d3ffa4a6714255b5f32603fbe2aac1dee7cd5641bbcdf- Stable URL of this page
https://metraipolis.com/documento/dc_7508d220ca4b
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_7508d220ca4b (Metraipolis archive dc_7508d220ca4b, sha256 98e31730e66980d2631d3ffa4a6714255b5f32603fbe2aac1dee7cd5641bbcdf)
BibTeX
@misc{dc7508d220ca4b,
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_7508d220ca4b; sha256 98e31730e66980d2631d3ffa4a6714255b5f32603fbe2aac1dee7cd5641bbcdf},
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-03T08:15:24.233Z dalla pagina https://arxiv.org/list/eess.SY/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).