Abstract
This paper presents an algorithm to solve the infinite horizon constrained linear quadratic regulator (CLQR) problem using operator splitting methods. First, the CLQR problem is reformulated as a (finite-time) model predictive control (MPC) problem without terminal constraints. Second, the MPC problem is decomposed into smaller subproblems of fixed dimension independent of the horizon length. Third, using the fast alternating minimization algorithm to solve the subproblems, the horizon length is estimated online, by adding or removing subproblems based on a periodic check on the state of the last subproblem to determine whether it belongs to a given control invariant set. We show that the estimated horizon length is bounded and that the control sequence computed using the proposed algorithm is an optimal solution of the CLQR problem. Compared to state-of-the-art algorithms proposed to solve the CLQR problem, our design solves at each iteration only unconstrained least-squares problems and simple gradient calculations. Furthermore, our technique allows the horizon length to decrease online (a useful feature if the initial guess on the horizon is too conservative). Numerical results on a planar system show the potential of our algorithm.
Introduction
In control theory, the Linear Quadratic Regulator (LQR) is the standard for stabilizing systems, but it faces significant challenges when physical constraints—such as actuator limits or safety boundaries—are introduced. Model Predictive Control (MPC) was developed to handle these constraints by optimizing over a "prediction horizon." However, to guarantee stability and mimic infinite-horizon behavior, traditional MPC requires the pre-computation of terminal sets and costs. These sets are often difficult to compute and can make the controller overly conservative, shrinking the range of initial conditions the system can handle. This research introduces a novel algorithm that solves the constrained LQR problem directly and efficiently by adaptively estimating the necessary prediction horizon on the fly, eliminating the need for complex terminal constraints.
Methodology: Adaptive-Horizon MPC
The proposed Adaptive-Horizon MPC (AH-MPC) framework is built upon three technical pillars:
- Time-Splitting Decomposition: Instead of solving a single large optimization problem, the algorithm breaks the prediction horizon into $N+1$ smaller subproblems. Crucially, the computational complexity of these subproblems remains constant regardless of the total horizon length.
- Fast Alternating Minimization Algorithm (FAMA): This operator-splitting method is used to solve the subproblems. It is computationally "cheap," requiring only simple unconstrained least-squares solutions and basic gradient calculations per iteration.
- Online Horizon Estimation with Backtracking: The algorithm dynamically adjusts the horizon length $N$. It periodically checks if the predicted terminal state has entered a "control invariant set" (a region where unconstrained LQR is safe). If not, the horizon is increased; if it has, the algorithm can decrease the horizon—a process known as backtracking—to reduce unnecessary computation.
Experimental Results
The algorithm was evaluated using a numerical simulation of a planar (2D) linear system across 1,592 different initial conditions. The benchmarks compared performance with and without backtracking across various initial horizon guesses ($N^0 \in \{2, 8, 20\}$).
As illustrated in Figure 1, the backtracking feature significantly reduces the final horizon length compared to standard methods. For an initial guess of $N^0=20$, the backtracking algorithm successfully reduced the mean horizon length, correcting for overly conservative initial estimates and saving processing power during execution.
Computational efficiency is further detailed in Figure 3, which shows how the average number of iterations scales with the horizon length. The use of "warm-starting" the horizon length allows the algorithm to find optimal solutions reliably within fixed iteration limits, demonstrating the practical feasibility of the decomposition approach.
Discussion and Conclusion
The AH-MPC approach offers several key advantages. First, the mathematical structure ensures convergence to the true optimal infinite-horizon CLQR solution with a guaranteed finite and bounded horizon. Second, the algorithm is "embarrassingly parallel"; each time-step subproblem can theoretically be solved on a separate processor with minimal communication between neighbors. Finally, the independence of dual variables in this decomposition allows for efficient backtracking without invalidating previous optimization progress.
Future work will focus on optimizing the backtracking implementation further and exploring asynchronous update strategies to improve performance in high-dimensional systems and complex physical hardware.
Summary updated