A New Semidefinite Relaxation for Linear and Piecewise-Affine Optimal Control with Time Scaling
Lujie Yang, Tobia Marcucci, Pablo A. Parrilo, Russ Tedrake
TL;DR
This work tackles nonconvex optimal control problems for linear and piecewise-affine systems with time scaling by developing a specialized semidefinite relaxation (SDR) that preserves key problem structure to achieve tight, computationally efficient relaxations. It introduces a time-flexible relaxation (TFR) and a sparse variant to handle bilinear terms involving the time step, while extending the approach to PWA systems via a Graph of Convex Sets (GCS) formulation that jointly optimizes mode sequences and trajectories. The framework yields spectrahedra-based convex sets for each mode and leverages a GCS relaxation to identify promising mode sequences, subsequently refined with nonlinear programming to recover feasible, time-scaled trajectories. Experimental results on an inverted pendulum with elastic walls and a 7-DoF robot arm demonstrate tighter relaxations, competitive numerical performance, and the ability to handle mode switches and obstacle constraints that challenge traditional NLP or MICP methods. Overall, the method provides a scalable, globally-minded alternative for time-scaled trajectory optimization in linear and PWA systems, with potential impact on robotics and time-critical control tasks.
Abstract
We introduce a semidefinite relaxation for optimal control of linear systems with time scaling. These problems are inherently nonconvex, since the system dynamics involves bilinear products between the discretization time step and the system state and controls. The proposed relaxation is closely related to the standard second-order semidefinite relaxation for quadratic constraints, but we carefully select a subset of the possible bilinear terms and apply a change of variables to achieve empirically tight relaxations while keeping the computational load light. We further extend our method to handle piecewise-affine (PWA) systems by formulating the PWA optimal-control problem as a shortest-path problem in a graph of convex sets (GCS). In this GCS, different paths represent different mode sequences for the PWA system, and the convex sets model the relaxed dynamics within each mode. By combining a tight convex relaxation of the GCS problem with our semidefinite relaxation with time scaling, we can solve PWA optimal-control problems through a single semidefinite program.
