Vectorized Sparse Second-Order Forward Automatic Differentiation for Optimal Control Direct Methods
Yilin Zou, Fanghua Jiang

TL;DR
This paper introduces a vectorized sparse second-order forward automatic differentiation framework tailored for direct collocation methods in optimal control, significantly improving the efficiency of derivative computations by exploiting problem sparsity.
Contribution
The paper presents a novel framework that combines vectorization and sparsity exploitation for second-order automatic differentiation in optimal control, enabling faster and more scalable computations.
Findings
Efficient derivative computation across multiple mesh points.
Enhanced parallelization and memory access patterns.
Open-source implementation supporting complex multi-phase problems.
Abstract
Direct collocation methods are widely used numerical techniques for solving optimal control problems. The discretization of continuous-time optimal control problems transforms them into large-scale nonlinear programming problems, which require efficient computation of first- and second-order derivatives. To achieve computational efficiency, these derivatives must be computed in sparse and vectorized form, exploiting the problem's inherent sparsity structure. This paper presents a vectorized sparse second-order forward automatic differentiation framework designed for direct collocation methods in optimal control. The method exploits the problem's sparse structure to efficiently compute derivatives across multiple mesh points. By incorporating both scalar and vector nodes within the expression graph, the approach enables effective parallelization and optimized memory access patterns while…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Optimization Algorithms Research · Matrix Theory and Algorithms · Advanced Control Systems Optimization
