Introduction
Automated planning and scheduling often rely on Simple Temporal Networks (STNs) to manage task timing. However, real-world scenarios involve "Nature"—uncontrollable events with durations that fall within a range rather than being fixed. This introduces the challenge of Simple Temporal Networks with Uncertainty (STNUs), where an agent must manage constraints without full control over every event's timing.
The Controllability Spectrum
Traditionally, researchers have balanced two extremes when handling uncertainty:
- Strong Controllability: Finding a single, fixed schedule that works for all possible outcomes of Nature. While safe, this is often too rigid to find a solution.
- Weak Controllability: Ensuring that for any specific set of outcomes Nature chooses, a valid schedule exists. This is flexible but computationally expensive and difficult to use in real-time.
While Strong Controllability is solvable in polynomial time, Weak Controllability has long been conjectured to be computationally intractable.
Proving NP-Hardness
This paper settles a long-standing conjecture by proving that determining Weak Controllability is NP-hard. The authors achieve this through a reduction from the 3-Coloring Problem. By constructing specific "widgets"—graphical components representing nodes and mutual exclusion constraints—they show that solving a 3-coloring problem is equivalent to identifying a negative cycle in a specific temporal network projection.
Waypoint Controllability: A Middle Ground
To bridge the gap between rigidity and complexity, the authors introduce Waypoint Controllability. This framework allows planners to designate specific events as "waypoints"—fixed synchronization points or "islands of certainty." While waypoints are assigned fixed times, other events remain flexible, adapting to the outcomes of uncontrollable causal links.
By strategically placing waypoints (such as at the end of a "wait" period), a planner can partition a complex plan into smaller, manageable compartments that are insulated from each other’s uncertainty. This formalizes the common practice of "padding" uncertain intervals to maintain plan stability.
The Tagged Propagation Algorithm
The authors propose a novel algorithm based on the Bellman-Ford-Moore approach to solve for Waypoint Controllability. To manage the exponential number of potential outcomes from Nature, they employ a tagging mechanism. Tags track which uncontrollable links have been traversed and which boundary values were used, allowing the algorithm to merge similar paths and prune redundancies.
The algorithm's complexity is $O(M^2 2^{2M} |N||E|)$, where $M$ is the maximum number of uncontrollable links between waypoints. This ensures the problem remains polynomial in the size of the network ($N$ nodes, $E$ edges) as long as the number of interconnected uncertain links is kept small.
Conclusion
By formalizing the NP-hardness of Weak Controllability and providing the Waypoint Controllability framework, this work provides both a theoretical foundation and a practical path forward for real-time scheduling. Future work will focus on automated strategies for the judicious placement of waypoints to optimize plan robustness with minimal overhead.
Summary updated