NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Real-Time Sequential Convex Programming for Optimal Control Applications

Quoc Tran-Dinh, Dinh Quoc Tran, Carlo Savorgnan, Moritz DiehlarXiv 2011

Introduction

Nonlinear Model Predictive Control (NMPC) is a powerful tool for controlling complex physical systems, but it faces a significant "real-time bottleneck." Controllers must solve non-convex optimization problems within millisecond intervals to determine optimal control actions. Traditional methods like Sequential Quadratic Programming (SQP) often require multiple iterations to reach convergence, which can be computationally prohibitive for high-speed applications.

This paper introduces Real-Time Sequential Convex Programming (RTSCP), an algorithm designed to overcome these latency issues. Instead of iterating to full convergence at every time step, RTSCP performs a single convex optimization step per measurement. This approach "tracks" the optimal solution as the system evolves, providing a computationally efficient yet theoretically grounded alternative for real-time control.

Methodology

RTSCP combines the strengths of Sequential Convex Programming (SCP) and the Real-Time Iteration (RTI) strategy. While SCP approximates non-convex problems as a sequence of convex subproblems, RTI limits the solver to exactly one iteration per time increment.

The RTSCP algorithm follows a structured process:

  1. Initialization: The algorithm starts with an initial guess for the system state.
  2. Real-Time Step: At each new time step $k$, the algorithm solves exactly one convex approximation of the original problem, using the solution from the previous step as the linearization point.
  3. Handling Convex Substructures: Unlike standard SQP, which typically relies on quadratic approximations, RTSCP can directly incorporate general convex structures. This allows it to handle non-smooth costs, second-order cones, and semidefinite constraints—features common in modern robotics but difficult for traditional solvers.

Theoretical Foundation: The Contraction Estimate

The primary contribution of this work is a rigorous mathematical proof of local convergence for the RTSCP scheme. The authors demonstrate that even with only one iteration per step, the algorithm remains stable and tracks the optimal solution.

Geometric interpretation of the RTSCP tracking error and contraction estimate.

The core insight is captured in a "contraction estimate" (Theorem 1). The proof shows that the error between the approximate real-time solution ($z^k$) and the true optimal solution ($\bar{z}^k$) remains bounded. Specifically, the error at step $k+1$ is bounded by a fraction of the error at step $k$, plus a term proportional to the change in the system's parameters (the state $\xi$). By utilizing Robinson’s theory of "strong regularity," the authors provide a robust theoretical foundation that ensures the algorithm does not diverge as long as the system is "weakly nonlinear" or the state changes are sufficiently small.

Numerical Evaluation

To validate the algorithm, the authors conducted a numerical simulation of an underactuated hovercraft. The task involved driving a 2D radio-controlled hovercraft from an initial position to a "parked" state at the origin while respecting strict physical boundaries and thrust constraints.

The simulation utilized a sampling time of 0.05 seconds and a prediction horizon of 15 steps. The results demonstrated that the RTSCP controller successfully maneuvered the craft to its target while satisfying all nonlinear constraints. By solving only one convex subproblem per step, the method avoided the unpredictable computational "tail" of standard iterative solvers, making it highly suitable for deterministic real-time hardware.

Conclusion and Future Work

RTSCP offers a promising path forward for high-speed nonlinear control. By shifting the focus from finding an exact solution for a stale measurement to finding a "good enough" solution for the most recent measurement, it enables real-time performance on hardware with limited computational budgets.

However, the method has limitations. It relies on the assumption of "weak nonlinearity"; in highly chaotic systems with extreme curvature, the single-step approach might lose track of the optimal path. Additionally, a reasonably close initial guess is required to start the tracking process. Future research may explore applying RTSCP to more complex scenarios, such as friction cones in legged locomotion or safety-critical constraints in autonomous driving.

Summary updated

BibTeX
@misc{trandinh2011real,
  author = {Quoc Tran-Dinh and Dinh Quoc Tran and Carlo Savorgnan and Moritz Diehl},
  title = {{Real-Time Sequential Convex Programming for Optimal Control Applications}},
  year = {2011},
  eprint = {1105.3427},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1105.3427},
}
Figure