Data-Driven Control of Positive Linear Systems using Linear Programming

Jared Miller, Tianyu Dai, Mario Sznaier, Bahram Shafai

Abstract

This paper presents a novel framework for the data-driven control of positive linear systems, where state variables are constrained to non-negative values. By leveraging the Extended Farkas Lemma, the authors transform the robust stabilization problem—traditionally solved via computationally intensive Semidefinite Programming (SDP)—into a scalable Linear Programming (LP) problem. The proposed method simultaneously identifies a state-feedback controller and a Dual Linear Copositive Lyapunov Function (DLCLF) directly from noisy data. The approach is proven to be non-conservative and is extended to handle switched and linear parameter-varying (LPV) systems, offering a robust and efficient alternative for controlling complex, non-negative dynamical systems.

Introduction

In many critical real-world domains—including ecological population modeling, chemical reaction networks, and power grid management—system variables are inherently non-negative. These "positive systems" present unique challenges for control theory: a controller must not only ensure stability but also guarantee that the system's state never enters the negative orthant.

Traditionally, control design for such systems follows a two-step "System Identification" process: first, a mathematical model is estimated from data, and second, a controller is designed for that model. However, this separation can lead to performance degradation or instability if the initial modeling step fails to capture the full uncertainty of noisy data. Data-Driven Control (DDC) offers a more direct path by synthesizing controllers directly from observations. While previous DDC methods for positive systems relied on Semidefinite Programming (SDP), which scales poorly with system size, this research introduces a more efficient approach using Linear Programming (LP).

Methodology

The Extended Farkas Lemma

The core innovation of this work is the application of the Extended Farkas Lemma. In the context of data-driven control, the lemma provides a rigorous mathematical bridge to certify "polytope containment." Specifically, it allows the authors to ensure that the set of all possible systems consistent with the observed noisy data is entirely contained within the set of systems stabilized by a candidate controller. This transformation is what allows the complex robust stabilization task to be recast as a set of linear constraints.

Dual Linear Copositive Lyapunov Functions (DLCLF)

To prove stability for positive systems, the authors utilize Dual Linear Copositive Lyapunov Functions. Unlike standard quadratic Lyapunov functions, DLCLFs are specifically tailored to the geometry of positive systems. By integrating these functions into the LP framework, the algorithm can search for a stabilizing gain matrix $K$ and a stability certificate simultaneously.

Handling Noise and Constraints

The framework explicitly accounts for $L_\infty$-bounded noise (magnitude-bounded errors). This ensures that the resulting controller is robust against the worst-case noise present in the training data. Furthermore, the LP formulation allows for the easy inclusion of structural constraints, such as controller sparsity (ensuring specific sensors only communicate with specific actuators) or sign patterns on the gain matrix.

Extensions to Complex Systems

The authors extend their base algorithm to two more complex classes of systems:

  1. Switched Systems: Systems that transition between different modes of operation over time. The proposed method can synthesize controllers that maintain positivity and stability regardless of the switching sequence.
  2. Linear Parameter-Varying (LPV) Systems: Systems whose dynamics change based on measurable external parameters. The LP framework adapts to these variations, providing a flexible control law that responds to changing environmental conditions.

Key Insights and Results

Computational Efficiency

The shift from SDP to LP is the paper's most significant practical contribution. While the theoretical complexity is $O(n^{12.5})$, the authors demonstrate that the inherent sparsity and structure of the matrices involved lead to much faster real-world performance. This makes the method viable for high-dimensional systems where SDP-based methods would be computationally prohibitive.

Non-Conservatism

A critical theoretical finding is that the method is non-conservative. If there exists any linear Lyapunov function capable of stabilizing all systems consistent with the data, this LP-based algorithm is guaranteed to find it. This ensures that the transition to a more efficient optimization format does not come at the cost of finding a valid solution.

Numerical Validation

Through simulations of continuous-time and discrete-time systems (ranging from 3 to 5 states), the authors validated that:

  • The synthesized controllers successfully stabilized 100% of the systems consistent with the noisy data.
  • As the number of data samples ($T$) increases, the "worst-case" gain estimate shrinks, demonstrating that the controller becomes more refined as more information becomes available.

Conclusion and Future Work

This research provides a scalable, robust, and non-conservative pathway for the data-driven control of positive systems. By reducing the problem to Linear Programming, the authors have opened the door for real-time control applications in large-scale chemical and biological networks.

Future research directions include adapting the framework for dwell-time constraints in switched systems—accounting for physical limitations that prevent instantaneous mode switching—and extending the methodology to monotone systems, a broader class of dynamical systems that preserve partial orderings of states.

Summary updated

BibTeX
@inproceedings{miller2023data,
  author = {Jared Miller and Tianyu Dai and Mario Sznaier and Bahram Shafai},
  title = {{Data-Driven Control of Positive Linear Systems using Linear Programming}},
  booktitle = {CDC},
  year = {2023},
  doi = {10.1109/cdc49753.2023.10383859},
}
Figure