Reliably Learn to Trim Multiparametric Quadratic Programs via Constraint Removal

Zhinan Hou, Keyou YouarXiv 2024 · OpenReview

TL;DR

This paper introduces a novel method to significantly speed up the solution of multiparametric quadratic programs (mp-QPs) by learning to remove redundant linear inequality constraints. By leveraging previously solved mp-QPs, the proposed technique reliably "trims" new mp-QPs, making them computationally cheaper to solve, with direct applications to Model Predictive Control (MPC).

What Problem Does This Paper Address?

Many real-world applications, particularly in control and optimization, require solving sequences of convex multiparametric quadratic programs (mp-QPs) on resource-constrained hardware. The primary computational bottleneck in existing mp-QP solvers is the handling of a large number of linear inequality constraints. However, a significant portion of these constraints are often redundant, meaning their removal doesn't alter the optimal solution. This redundancy presents an opportunity for computational acceleration, but reliably identifying and removing these constraints without compromising optimality is a challenging problem. The paper aims to address this by developing a learning-based approach to trim mp-QPs.

Methods

The core of the paper's contribution lies in a learning-theoretic approach to remove redundant constraints. Instead of relying on system-theoretic properties (which are often limited to specific system types like linear MPC), this method learns from the results of previously solved mp-QPs.

  1. Constraint Trimming via Learning: The method uses the optimal solution and active set of a solved mp-QP to construct a "trimmed" version of a new, unsolved mp-QP. This trimming process involves identifying a subset of constraints that can be safely removed. The key is to ensure that the trimmed mp-QP retains the same optimal solution as the original.
  2. Reliable Redundancy Check: A novel method is proposed to check constraint redundancy, which involves a small number of scalar comparisons, making it efficient for embedded systems.
  3. Global Lipschitz Constant (GLC): The paper derives explicit formulas to compute a global Lipschitz constant for the mp-QP minimizer. This constant is crucial for quantifying the "closeness" of parameter vectors and bounding the number of remaining constraints.
  4. Adaptive Trimming for MPC: The method is extended to Model Predictive Control (MPC). For MPC, where parameter vectors are system states that typically converge to the origin, the paper shows that the trimmed mp-QP can eventually become constraint-free after a finite number of steps.
  5. Hybrid Learning: The approach can leverage both online (previously solved in the closed-loop system) and offline (pre-computed) mp-QPs to further enhance constraint removal.

Datasets

Not explicitly discussed in terms of "datasets" for training in the traditional machine learning sense. Instead, the method learns from solved mp-QPs. For evaluation, the paper uses an oscillating mass system example, and for the MPC application, it generates data sets (D1, D2, D3) by selecting offline solved mp-QPs based on Voronoi diagrams of the state space.

Key Insights and Ideas

  • Learning from Solutions, Not Just Structure: The paper shifts focus from exploiting the inherent structure of mp-QPs (like in system-theoretic approaches) to learning from the outcomes of solved problems. This makes the method more general.
  • Redundancy is the Key: The core insight is that many inequality constraints in mp-QPs are redundant, and their removal is the primary path to computational efficiency.
  • Guaranteed Optimality: The proposed trimming method comes with theoretical guarantees that the optimal solution is preserved, which is a significant advantage over heuristic warm-start approaches.
  • MPC Convergence to Constraint-Free: For MPC, the adaptive trimming method leads to a remarkable result: the mp-QP eventually becomes constraint-free as the system state converges to the origin. This means the MPC controller can eventually operate with a fixed, simple linear gain.
  • Quantifiable Performance: The paper provides theoretical bounds on the number of remaining constraints, allowing for performance analysis and comparison.

Key Results

  • Significant Constraint Reduction: Simulations demonstrate that the proposed trimming method can drastically reduce the number of inequality constraints in mp-QPs. For the oscillating mass system example, the trimmed MPC achieved a significant reduction in computation time and constraints compared to standard MPC and MPC with warm-start.
  • MPC Becomes Constraint-Free: For the MPC application, the adaptive trimming method was shown to reduce the number of constraints to zero after a finite number of steps, as predicted by the theory.
  • Efficiency for Resource-Constrained Systems: The method's reliance on simple computations (scalar comparisons) makes it suitable for embedded systems.
  • Comparison with Existing Methods: The paper shows superior performance compared to a "ca-MPC" method from prior work, particularly in terms of constraint removal and computational efficiency.

Limitations and Future Work

  • Conservative Bounds: The theoretical bounds on the number of remaining constraints are noted as being conservative, meaning the empirical performance is often better than predicted.
  • Monotone Matrix Selection: The paper mentions that selecting a "monotone matrix" to minimize the GLC is beyond the scope of the current work, suggesting this as a future research direction.
  • Generalization to Non-Linear Systems: While the paper focuses on linear systems and quadratic programs, extending the trimming concept to more general non-linear systems or non-quadratic objectives could be a future avenue.
  • Further Exploitation of Offline Data: The paper suggests that more sophisticated ways to leverage offline solved mp-QPs, potentially using Voronoi diagrams for parameter selection, could lead to even better trimming.

Summary updated

Abstract

In a wide range of applications, we are required to rapidly solve a sequence of convex multiparametric quadratic programs (mp-QPs) on resource-limited hardwares. This is a nontrivial task and has been an active topic for decades in control and optimization communities. Observe that the main computational cost of existing solution algorithms lies in addressing many linear inequality constraints, though their majority are redundant and removing them will not change the optimal solution. This work learns from the results of previously solved mp-QP(s), based on which we propose novel methods to reliably trim (unsolved) mp-QPs via constraint removal, and the trimmed mp-QPs can be much cheaper to solve. Then, we extend to trim mp-QPs of model predictive control (MPC) whose parameter vectors are sampled from linear systems. Importantly, both online and offline solved mp-QPs can be utilized to adaptively trim mp-QPs in the closed-loop system. We show that the number of linear inequalities in the trimmed mp-QP of MPC decreases to zero in a finite timestep, which also can be reduced by increasing offline computation. Finally, simulations are performed to demonstrate the efficiency of our trimming method in removing redundant constraints.
BibTeX
@misc{hou2024reliably,
  author = {Zhinan Hou and Keyou You},
  title = {{Reliably Learn to Trim Multiparametric Quadratic Programs via Constraint Removal}},
  year = {2024},
  eprint = {2412.11098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.11098},
}
Figure