Abstract In modern engineering scenarios, there is often a strict upper bound on the number of algorithm iterations that can be performed within a given time limit. This raises the question of optimal algorithmic configuration for a fixed and finite iteration budget. In this work, we introduce the framework of finite horizon optimization, which focuses on optimizing the algorithm performance under a strict iteration budget $T$. We apply this framework to linear programming (LP) and propose Finite Horizon stepsize rule for the primal-dual method. The main challenge in the stepsize design is controlling the singular values of $T$ cumulative product of non-symmetric matrices, which appears to be a highly nonconvex problem, and there are very few helpful tools. Fortunately, in the special case of the primal-dual method, we find that the optimal stepsize design problem admits hidden convexity, and we propose a convex semidefinite programming (SDP) reformulation. This SDP only involves matrix constraints of size $4 \times 4$ and can be solved efficiently in negligible time. Theoretical acceleration guarantee is also provided at the pre-fixed $T$-th iteration, but with no asymptotic guarantee. On more than 90 real-world LP instances, Finite Horizon stepsize rule reaches an average 3.9$\times$ speed-up over the optimal constant stepsize, saving 75% wall-clock time. Our numerical results reveal substantial room for improvement when we abandon asymptotic guarantees, and instead focus on the performance under finite horizon. We highlight that the benefits are not merely theoretical - they translate directly into computational speed-up on real-world problems.
Overview
Most optimization theory tells us how algorithms behave as iterations approach infinity, but real-world engineering often demands a result in just a few milliseconds. This paper introduces a "Finite Horizon" framework that optimizes stepsizes for a strict, pre-determined iteration budget $T$. By uncovering "hidden convexity" in the primal-dual method for linear programming, the authors achieve a 3.9× speedup on real-world problems—essentially getting "accelerated" performance without adding complex mechanics like momentum.
The Gap Between Theory and Practice
In fields like 5G communications, autonomous driving, and power grid management, solvers don't have the luxury of infinite time. An autonomous vehicle might need a path-planning solution in exactly 10 milliseconds; a 5G base station might only afford 5 to 15 iterations for channel decoding.
Classical optimization theory focuses on asymptotic convergence—ensuring the error eventually goes to zero as $T \to \infty$. However, the "optimal" hyperparameters for infinite iterations are often sub-optimal for a tiny, fixed budget. The challenge is that designing hyperparameters for a finite horizon is usually a nightmare: it involves minimizing the spectral norm of a product of non-symmetric matrices, which is a notoriously non-convex and difficult problem.
Methodology: Finite Horizon Stepsize Rule
The authors focus on the primal-dual method (a first-order method) for solving Linear Programming (LP) problems. Their core contribution is a novel Finite Horizon stepsize rule.
- Hidden Convexity: The authors prove that while the general problem of choosing $T$ different stepsizes looks non-convex, it can be reformulated as a Convex Semidefinite Program (SDP).
- Small-Scale SDP: Remarkably, this reformulation only requires solving matrix constraints of size $4 \times 4$, regardless of the original problem's size. This means the "meta-optimization" (finding the best stepsizes) takes negligible time.
- Polynomial Roots: After solving the SDP to find optimal polynomial coefficients, the actual stepsizes are derived by finding the roots of that polynomial.
- Cyclical Execution: For scenarios where the required precision isn't met in $T$ steps, the authors suggest "cyclically repeating" the $T$-step sequence, which they found to be an effective heuristic for longer runs.
Experimental Setup
The researchers evaluated their method using:
- Netlib LP Benchmark: A standard collection of over 90 real-world linear programming instances. These range from small problems to large-scale engineering models with thousands of constraints and variables.
- Toy LP Example: A simple 1D linear program used to visualize trajectories and provide intuition on why finite-horizon stepsizes outperform constant ones.
Key Insights: The "Sudden Surge"
One of the most striking findings is the behavior of the optimal stepsize sequence. To hit the target at exactly iteration $T$, the algorithm often takes smaller, stabilizing steps initially, followed by a massive "surge" in stepsize at the final iteration. This "surge" causes the error to drop sharply right at the deadline.
Usually, to get "accelerated" convergence (moving from a dependency on the condition number $\kappa$ to $\sqrt{\kappa}$), you need to add "momentum" terms to the algorithm. This paper shows you can achieve that same $\sqrt{\kappa}$ acceleration purely through clever stepsize scheduling, keeping the underlying algorithm simple. The paper argues that by "abandoning" the requirement that an algorithm must behave well forever, we unlock significant performance gains for the specific window we actually care about.
Results and Performance
- 3.9× Average Speedup: On the Netlib benchmark, the Finite Horizon rule was nearly four times faster than the theoretically optimal constant stepsize.
- 75% Time Savings: In terms of wall-clock time, the method saved an average of 75% of the computation time required to reach a specific precision.
- Negligible Overhead: The SDP sub-problem took an average of only 11.57 seconds to solve—less than 3.1% of the total computation time for large problems—and this cost is fixed regardless of the LP's dimensionality.
- Theoretical Match: The authors proved an upper bound of $O(\sqrt{\kappa} \log(1/\epsilon))$ at the $T$-th iteration, matching the complexity of more complex accelerated methods.
Limitations and Future Work
While the 11-second SDP solve is "negligible" for large LPs, it is still too slow for real-time systems with millisecond budgets unless the stepsizes are pre-computed. Additionally, as the iteration budget $T$ increases, the SDP solver can encounter numerical instability because it involves high-degree polynomials; currently, $T \leq 10$ is recommended.
The method also requires knowing the smallest and largest singular values ($\mu$ and $L$) of the constraint matrix. Future work could involve applying this "Finite Horizon" framework to more advanced methods (like those using momentum or preconditioning) or extending it beyond Linear Programming.
Summary updated