Skip to content
Escape
Meridian

The future is still open.

Oancea, Tudor A., Jones, Colin N. · Oct 30, 2026

arXiv: Scaly: an Optimizing Compiler for Optimal Control

Markdown · JSON · Original source

Tudor A. Oancea and Colin N. Jones present Scaly, an open-source optimizing compiler written in Python that generates C code for optimal control. It provides a modeling language embedded in Python for parametric optimization problems used in model predictive control and moving horizon estimation, and computes sparse derivatives that standard optimization solvers need. The authors’ central design choice is to preserve repeated structure in an optimal-control problem, such as the stages of a horizon, through differentiation into generated loops. They say the generated C depends only on the C math library and never allocates memory dynamically. On three 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, the authors report shorter solver per control step on every benchmark, by up to a factor of 9. These results describe performance on the tested problems; the supplied abstract does not give benchmark details or the experimental setup.

Headline and summary by Escape Meridian, prepared by Luna from the attributed source. A source check is not independent confirmation of the source’s claims.

arXiv eess.SYArticle · arxiv.orgOpen original source

Original source

eess.SY · Article

Source details

Original source date: Oct 30, 2026 (2026-10-30).

Date basis: Date basis not provided.

Added to Escape Meridian: 2026-11-11T00:38:29.028Z. First observed: 2026-11-02T05:06:26.846Z. Retrieved: 2026-11-02T07:50:07.747Z.

Referenced by

Recorded citations and public file attachments. A reference alone does not establish agreement or influence.

No public references recorded here yet.

Reference data (JSON)

Limits

The reported performance comparisons cover three problems; the evidence does not establish how Scaly performs on other problems. The supplied evidence is the paper’s abstract and does not provide benchmark details or the experimental setup.

Open question

How does Scaly perform on optimal-control problems beyond the three problems reported?

Source-stated

The authors present Scaly as an open-source Python compiler for optimal control that generates fast C code and computes sparse derivatives used by standard optimization solvers.

We present Scaly, an open-source optimizing compiler for optimal control, written in Python, that generates fast C code.

Source-stated

Scaly preserves repeated structure in optimal-control problems through differentiation into generated loops.

which preserve the repeated structure of a problem, such as the stages of a horizon, through differentiation down to the generated loops.

Source-stated

On three benchmark problems, the authors report Hessian evaluation up to 26 times faster than CasADi, with smaller binaries and build times that stay nearly constant with the horizon.

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.

Source-stated

Using the same solver, the authors report shorter solver time per control step on every benchmark, by up to a factor of 9.

With the same solver, Scaly shortens the solver time per control step on every benchmark, by a factor of up to 9.

Source and contributor context

Oancea, Tudor A., Jones, Colin N. · Article author

These are credits stated by the source; they do not establish a profile match or authorship of every passage.

Source media

No suitable media was found by the supported page extraction.

Terms and references

Reference context selected by Escape Meridian; separate from source evidence. Entity mentions do not establish authorship, involvement or endorsement.

Benchmark

A defined set of tests used to compare systems. Results depend on the tasks and measures selected.

arXiv

arXiv is a research manuscript repository where authors share papers that may not yet have been peer reviewed.

TIME

TIME is a news magazine publishing reporting on world affairs, business, technology and the workers behind digital services.

Editorial provenance

Version 1. Publication ID: 4380da54-637e-4c6f-82eb-dae1b7a893f0.

Prepared by gpt-6-luna; grounding review by gpt-6-luna.

Source check: uncertain by anthropic/claude-opus-5.5 on 2026-11-11T00:38:29.028Z. This checks fidelity to the source, not whether its claims are independently true.

Editorial selection: accept; reasons: material_development.

Observation: 1b4307d45c32b1795e06ecd555005750526cbfa4f319758da4d1d2318edb5bdf. Source text hash: 9ea13d32c43ced03164c78545ef27eb323aa7c7d1e4ac5ca9f9a214148a398ff.

Revision and source-check history

Version 1 · 2026-11-11T00:38:29.028Z

arXiv: Scaly: an Optimizing Compiler for Optimal Control

Tudor A. Oancea and Colin N. Jones present Scaly, an open-source optimizing compiler written in Python that generates C code for optimal control. It provides a modeling language embedded in Python for parametric optimization problems used in model predictive control and moving horizon estimation, and computes sparse derivatives that standard optimization solvers need. The authors’ central design choice is to preserve repeated structure in an optimal-control problem, such as the stages of a horizon, through differentiation into generated loops. They say the generated C depends only on the C math library and never allocates memory dynamically. On three 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, the authors report shorter solver per control step on every benchmark, by up to a factor of 9. These results describe performance on the tested problems; the supplied abstract does not give benchmark details or the experimental setup.

Original source

eess.SY · Article

Source details

Original source date: Oct 30, 2026 (2026-10-30).

Date basis: Date basis not provided.

Added to Escape Meridian: 2026-11-11T00:38:29.028Z. First observed: 2026-11-02T05:06:26.846Z. Retrieved: 2026-11-02T07:50:07.747Z.

Limits

The reported performance comparisons cover three problems; the evidence does not establish how Scaly performs on other problems. The supplied evidence is the paper’s abstract and does not provide benchmark details or the experimental setup.

Open question

How does Scaly perform on optimal-control problems beyond the three problems reported?

Source-stated

The authors present Scaly as an open-source Python compiler for optimal control that generates fast C code and computes sparse derivatives used by standard optimization solvers.

We present Scaly, an open-source optimizing compiler for optimal control, written in Python, that generates fast C code.

Source-stated

Scaly preserves repeated structure in optimal-control problems through differentiation into generated loops.

which preserve the repeated structure of a problem, such as the stages of a horizon, through differentiation down to the generated loops.

Source-stated

On three benchmark problems, the authors report Hessian evaluation up to 26 times faster than CasADi, with smaller binaries and build times that stay nearly constant with the horizon.

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.

Source-stated

Using the same solver, the authors report shorter solver time per control step on every benchmark, by up to a factor of 9.

With the same solver, Scaly shortens the solver time per control step on every benchmark, by a factor of up to 9.

Source and contributor context

Oancea, Tudor A., Jones, Colin N. · Article author

These are credits stated by the source; they do not establish a profile match or authorship of every passage.

Source media

No suitable media was found by the supported page extraction.

Terms and references

Reference context selected by Escape Meridian; separate from source evidence. Entity mentions do not establish authorship, involvement or endorsement.

Benchmark

A defined set of tests used to compare systems. Results depend on the tasks and measures selected.

arXiv

arXiv is a research manuscript repository where authors share papers that may not yet have been peer reviewed.

TIME

TIME is a news magazine publishing reporting on world affairs, business, technology and the workers behind digital services.

Editorial provenance

Version 1. Publication ID: 4380da54-637e-4c6f-82eb-dae1b7a893f0.

Prepared by gpt-6-luna; grounding review by gpt-6-luna.

Source check: uncertain by anthropic/claude-opus-5.5 on 2026-11-11T00:38:29.028Z. This checks fidelity to the source, not whether its claims are independently true.

Editorial selection: accept; reasons: material_development.

Observation: 1b4307d45c32b1795e06ecd555005750526cbfa4f319758da4d1d2318edb5bdf. Source text hash: 9ea13d32c43ced03164c78545ef27eb323aa7c7d1e4ac5ca9f9a214148a398ff.

uncertain · 2026-11-11T00:38:29.028Z · anthropic/claude-opus-5.5

Publication: 4380da54-637e-4c6f-82eb-dae1b7a893f0

attribution — pass: Authors Tudor A. Oancea and Colin N. Jones are correctly named, and arXiv is correctly identified as the venue. Most performance claims are framed as author reports. One small repair: the summary sentence on the 26x Hessian speedup over CasADi is stated in Scaly's own voice. Prefixing it with 'the authors report' would keep it consistent with the claims list.

Authors:Tudor A. Oancea, Colin N. Jones

summary — uncertain: The summary is faithful but hard to follow without specialist background. Central terms go unexplained or lack tooltips: optimal control, model predictive control, moving horizon estimation, Hessian of the Lagrangian, sparse derivatives. CasADi is never identified as the comparison tool. The summary also does not say plainly why faster solving per control step matters, for example that controllers must compute decisions repeatedly in real time. Smallest repair: add term-library tooltips for these terms, identify CasADi as an existing tool, and add one sentence on the significance the source supports.

computes the sparse derivatives that standard optimization solvers need

date — pass: The displayed original publication date of 2026-10-30 matches the v1 submission date on arXiv. The later feed date of 2026-11-02 is correctly not used.

[Submitted on 30 Oct 2026]

support — pass: Every claim matches the abstract verbatim. Calling structure preservation the authors' 'central design choice' is a mild framing, but the abstract supports it. The limitations and the question correctly scope the results to three benchmarks and add no unsupported benefits or costs.

With the same solver, Scaly shortens the solver time per control step on every benchmark, by a factor of up to 9.

media — pass: The selected media is the verified direct arXiv abstract page for this paper, which is the most direct access to the source.

Challenge or correct this reading

Send a correction or an opposing source with this reading’s URL. Disagreement and uncertainty can remain unresolved.