Abstract This paper explores the application of Linear Programming (LP) to the structural analysis of Petri nets. By relaxing the integrality constraints typically associated with Petri net markings, the authors demonstrate that critical properties such as boundedness and liveness can be analyzed in polynomial time. This approach offers a computationally efficient alternative to exhaustive state-space searches and NP-hard integer programming methods, particularly for large-scale distributed systems.
Introduction
Petri nets serve as a robust mathematical framework for modeling discrete event systems, including manufacturing processes, communication protocols, and complex computer architectures. However, the analysis of these nets is often hampered by the "state-explosion problem," where the number of reachable states grows exponentially with the system's complexity. Traditional methods, such as building reachability trees or employing Integer Programming (IP), are often computationally intractable for large-scale models.
In their 1989 work, Jean B. Lasserre and Philippe Mahey propose a more efficient approach by leveraging Linear Programming. By shifting the focus from discrete state transitions to continuous optimization over polyhedral sets, they provide a framework for verifying structural properties in polynomial time.
Methodology: The Integrality Relaxation
The core of the proposed method lies in the "fundamental relationship" of Petri nets:
$$M' = M + Cs$$
where $M$ is the initial marking, $M'$ is the resulting marking, $C$ is the incidence matrix, and $s$ is the firing vector representing the number of times each transition occurs.
While markings and firing vectors are inherently discrete (integer-valued), Lasserre and Mahey demonstrate that for many structural properties, the integrality constraint can be relaxed. They prove that if a solution exists in the domain of real numbers ($\mathbb{R}$), an equivalent integer solution ($\mathbb{N}$) must also exist. This equivalence stems from the properties of polyhedral cones generated by matrices with integer coefficients; specifically, the extreme rays of these sets have rational coordinates that can be scaled to integers.
By transforming discrete search problems into continuous LP problems, the analysis can be performed rapidly using standard algorithms like the Simplex method.
Key Insights and Results
The application of LP to Petri nets yields several critical diagnostic tools:
1. Boundedness and Token Limits
A Petri net is bounded if the number of tokens in any place remains finite for all reachable markings. The authors provide an LP formulation to verify boundedness. Furthermore, they derive a corollary that calculates the maximum possible number of tokens in a specific place $p$, providing a "safety ceiling" for system designers to prevent buffer overflows.
2. Liveness and Deadlock Detection
The paper provides a necessary condition for liveness. By solving $n$ linear programs (where $n$ is the number of transitions), researchers can identify if a net is not live. While this serves as a filter rather than a definitive guarantee of liveness, it is a powerful tool for early-stage deadlock detection in massive networks.
3. Model Reduction
The authors show that "implicit places"—redundant components that do not affect the net's behavior—can be identified using LP. This allows for the simplification of complex models before more intensive analysis is performed.
Discussion and Limitations
While the transition from IP to LP significantly reduces computational complexity, it introduces certain trade-offs. The LP approach provides an over-approximation of the reachable set. This makes it highly effective for safety properties (proving a state cannot be reached) but less definitive for reachability properties (proving a state will be reached).
Despite these limitations, the work remains a foundational contribution to formal verification. By providing a polynomial-time alternative to NP-hard problems, Lasserre and Mahey enabled the analysis of "very large nets" that were previously mathematically intractable, bridging the gap between theoretical modeling and practical system engineering.
Summary updated