A Computationally Efficient Hamilton-Jacobi-based Formula for State-Constrained Optimal Control Problems

Donggun Lee, Claire J. TomlinarXiv 2021

Introduction

Hamilton-Jacobi (HJ) analysis serves as a cornerstone in the mathematical theory of optimal control and safety verification for dynamic systems. By solving the HJ partial differential equation (PDE), researchers can derive optimal control policies and determine reachable sets for complex systems like autonomous vehicles and robotic manipurers. However, traditional numerical methods for HJ PDEs rely on grid-based approaches, which are notoriously susceptible to the "curse of dimensionality." As the number of state variables increases, the computational cost and memory requirements grow exponentially, typically limiting these methods to systems with fewer than six dimensions.

To circumvent this bottleneck, researchers have turned to Lax-Hopf theory. This approach replaces the grid-based PDE solver with a more efficient optimization problem. While promising, existing Lax-Hopf methods have historically been constrained by significant limitations: they generally require linear dynamics, state-independent costs, and—most critically—cannot accommodate state constraints (e.g., ensuring a robot does not collide with an obstacle). This paper introduces a generalized Lax formula designed to bridge this gap, enabling the efficient solution of high-dimensional, state-constrained optimal control problems.

Methodology: The Generalized Lax Formula

The authors propose a novel framework that transforms the optimal control problem into a computationally tractable format through three primary steps:

  1. Control Space Transformation: The method mathematically transforms the control space based on the system's underlying dynamics. By applying Legendre-Fenchel transformations, the authors rewrite the Hamiltonian—the core function of HJ analysis—in a way that facilitates optimization.
  2. Convexification: The central innovation of this work is the identification of conditions under which the problem becomes convex. The authors prove that if the system dynamics are affine with respect to the state, and the state-dependent costs and constraints are convex, the temporally discretized Lax formula can be reformulated as a purely convex optimization problem.
  3. Numerical Optimization: By leveraging standard gradient-based optimization techniques (such as interior-point methods), the algorithm solves the convex problem to find the optimal state trajectory. This solution is then mapped back to the original control space to determine the necessary control signals.

Notably, this method does not require the dynamics to be affine in the control variables, nor does it require the control constraints to be convex, providing significant flexibility for real-world applications.

Key Theoretical Insights

Bypassing Non-Convexity

The generalized Lax formula can take an inherently non-convex optimal control problem—often caused by discrete control constraints or nonlinear control dynamics—and transform it into a convex one. This ensures that the algorithm can find a global optimum efficiently without getting stuck in local minima.

Handling Hybrid Systems

Because the framework relaxes the requirement for convex control constraints, it is uniquely suited for hybrid systems that involve both continuous and discrete states or controls. The method converts discrete control constraints into continuous convex constraints without the need for approximation, bypassing the heavy computational burden of Mixed-Integer Programming (MIP).

Decoupling State and Control

The mathematical derivation shows that the stage cost of the generalized Lax formula can be decomposed into a control-independent component and a control-dependent component. This decoupling allows the algorithm to exploit the convexity of state-dependent variables while managing the complexities of the control variables independently.

Numerical Results

The efficiency and scalability of the proposed algorithm were validated across three distinct simulated systems:

  • 12D Multi-Agent Formation: The authors solved a 12-dimensional nonlinear formation control problem involving three vehicles in just 152 seconds. For context, traditional grid-based methods are incapable of handling a 12D state space due to memory exhaustion.
  • 4D Hybrid Gear System: A problem involving a hybrid system with discrete control constraints was solved in 6.36 seconds, demonstrating the algorithm's ability to avoid the complexities of mixed-integer programming.
  • 2D Nonlinear Vehicle: To verify accuracy, the method was tested against a known analytic solution. It achieved a solution in 1.29 seconds with a state trajectory error bounded by $1 \times 10^{-6}$.

Limitations and Future Work

While the generalized Lax formula offers a significant leap in computational efficiency, it introduces a practical challenge: "control chattering." Mapping the generalized solution back to the original control space requires a fine temporal discretization, which often results in high-frequency switching in the control signal. While mathematically optimal, such rapid switching is frequently impractical for physical hardware.

Future research will focus on developing methods to smooth these control signals to ensure they are hardware-compatible. Additionally, the authors plan to extend the formula to time-optimal problems, infinite-horizon control, and two-player differential games, further broadening the applicability of this efficient HJ framework.

Summary updated

BibTeX
@misc{lee2021computationally,
  author = {Donggun Lee and Claire J. Tomlin},
  title = {{A Computationally Efficient Hamilton-Jacobi-based Formula for State-Constrained Optimal Control Problems}},
  year = {2021},
  eprint = {2106.13440},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.13440},
}
Figure