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

Online Regulation of Dynamical Systems to Solutions of Constrained Optimization Problems

Yiting Chen, Liliaokeawawa Cothren, Jorge Cortés, Emiliano Dall'Anese

Abstract

This paper presents a novel state-feedback control framework designed to steer dynamical systems toward the optimal solutions of non-convex optimization problems. Unlike traditional approaches, the proposed controller simultaneously handles both input and state constraints by leveraging a continuous approximation of projected gradient flow. By integrating Control Barrier Function (CBF) principles into a Quadratic Programming (QP) formulation, the authors ensure forward invariance of the safe set and local exponential stability of the optimal steady state. The efficacy of the approach is demonstrated through the regulation of a nonlinear unicycle robot under state constraints and unknown disturbances.

Introduction

In modern engineering domains—ranging from autonomous robotics and traffic management to the operation of smart power grids—there is an increasing need for systems to operate at an "optimal" steady state. This requirement has led to the development of Online Feedback Optimization (OFO), where a controller seeks to solve an optimization problem in real-time using direct measurements from the plant.

Despite the progress in OFO, a significant challenge remains: managing nonlinear constraints on the system's state. While input constraints (e.g., actuator limits) are common, state constraints (e.g., safety boundaries or thermal limits) are harder to enforce because they depend on the system's underlying dynamics. Existing methods often result in discontinuous control signals, which can lead to mathematical instability or "chattering." This paper addresses these gaps by proposing a smooth, measurement-based feedback controller that guarantees safety and convergence even in the presence of unknown constant disturbances.

Methodology

The Safe Gradient Flow

The core of the proposed approach is the Safe Gradient Flow. Rather than utilizing a standard gradient descent—which may violate constraints or become discontinuous at the boundary—the authors design a control input $u$ that evolves according to a specific vector field $F_\beta(x, u)$. This vector field is designed to be locally Lipschitz continuous, ensuring the existence and uniqueness of solutions for the closed-loop system.

Quadratic Programming (QP) Formulation

To determine the control direction at each time step, the controller solves a small-scale Quadratic Program. This QP aims to minimize the discrepancy between the proposed control direction and the ideal descent direction of the objective function. Crucially, the constraints of this QP are derived from Control Barrier Functions (CBFs). By enforcing these CBF-like conditions, the controller ensures that the system trajectory remains within the feasible region (forward invariance) at all times.

Multi-Timescale Stability Analysis

To prove that the system actually converges to the optimum, the authors employ Singular Perturbation Analysis. The interconnected system is viewed as a multi-timescale model where the controller dynamics are "fast" relative to the "slow" plant dynamics. The paper demonstrates that if the controller gain is sufficiently high, the fast dynamics will track the moving optimal point, eventually regulating the entire system to the Karush-Kuhn-Tucker (KKT) points of the original optimization problem.

Numerical Validation: Unicycle Robot Navigation

To validate the theoretical findings, the authors simulated a nonlinear unicycle robot tasked with reaching an optimal position while navigating around a circular obstacle.

  • Constraints: The robot faced both input constraints (velocity and steering limits) and state constraints (the physical boundary of the obstacle).
  • Robustness: A constant measurement error was introduced to simulate real-world disturbances.
  • Results: The controller successfully guided the robot to the optimal steady state. Notably, the robot was able to "hug" the boundary of the obstacle—effectively operating at the limit of the state constraint—without ever violating it. The feedback loop naturally compensated for the unknown disturbance without requiring an explicit model of the error.

Key Insights

  1. Smoothness and Stability: By using a continuous approximation of the projected gradient, the authors avoid the instabilities associated with discontinuous control laws. This ensures that the system is robust and amenable to standard Lyapunov-based stability analysis.
  2. Equilibrium Consistency: A critical contribution of this work is the proof that the equilibrium points of the dynamic controller align exactly with the KKT conditions of the optimization problem. This ensures that the controller does not settle at sub-optimal or arbitrary points.
  3. Integrated Safety: Unlike architectures that use a separate "safety filter" on top of an optimizer, this method integrates safety directly into the gradient flow. This prevents conflicts between the optimization objective and the safety constraints.

Conclusion and Future Work

The paper provides a rigorous foundation for regulating dynamical systems to optimal states under complex constraints. The authors prove local exponential stability and guarantee that constraints are never violated during the transient phase.

Future research directions include extending the stability proofs to accommodate time-varying disturbances and exploring global convergence conditions for specific classes of nonlinear systems. Additionally, while this work focuses on continuous-time formulations, the authors highlight the importance of developing sampled-data versions for implementation on digital hardware.

Summary updated

BibTeX
@inproceedings{chen2023online,
  author = {Yiting Chen and Liliaokeawawa Cothren and Jorge Cortés and Emiliano Dall'Anese},
  title = {{Online Regulation of Dynamical Systems to Solutions of Constrained Optimization Problems}},
  booktitle = {IEEE Control. Syst. Lett},
  year = {2023},
  url = {https://openreview.net/forum?id=Y9793u2ZQB},
}
Figure