Metraipolis › archive › dc_bb53e9c66c03

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-03T06:00:37.795Z
SHA-256 of the archived text
464c397704e601ffb99f56520410ef8539e08dcd8b47831e9eb511da64a58640
Stable URL of this page
https://metraipolis.com/documento/dc_bb53e9c66c03

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_bb53e9c66c03 (Metraipolis archive dc_bb53e9c66c03, sha256 464c397704e601ffb99f56520410ef8539e08dcd8b47831e9eb511da64a58640)
BibTeX
@misc{dcbb53e9c66c03,
  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_bb53e9c66c03; sha256 464c397704e601ffb99f56520410ef8539e08dcd8b47831e9eb511da64a58640},
  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-03T05:42:21.134Z dalla pagina https://arxiv.org/list/eess.SY/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).