TL;DR
This paper introduces the first "explaining" version of the Time-Table-Edge-Finding (TTEF) propagator, a powerful tool for solving complex scheduling problems. By allowing modern solvers to understand why certain scheduling choices are impossible, the authors were able to close several long-standing open problems in the standard PSPLib benchmark and significantly improve the performance of Resource-Constrained Project Scheduling (RCPSP) solvers.
What Problem Does This Paper Address?
Scheduling is hard. Specifically, the Resource-Constrained Project Scheduling Problem (RCPSP) is NP-hard, meaning as the number of tasks and constraints grows, the time to find an optimal solution can explode.
In Constraint Programming (CP), we use "propagators"—algorithms that prune the search space by removing values from variable domains that cannot possibly lead to a solution. One of the most effective recent propagators is Time-Table-Edge-Finding (TTEF), which combines two different reasoning styles: "time-table" (looking at fixed parts of tasks) and "edge-finding" (determining if a task must precede a set of others).
However, the current "gold standard" for high-performance CP is Lazy Clause Generation (LCG). LCG solvers learn from their mistakes by creating "nogoods"—logical explanations of why a certain path failed. To work with LCG, a propagator must be able to provide a concise, generalized explanation for every pruning decision it makes. Until this paper, TTEF lacked an efficient way to generate these explanations, limiting its use in state-of-the-art solvers.
Methods
The authors developed a formal framework to explain TTEF's logic. Their approach involves:
- Clausal Explanations: They derived mathematical proofs to translate TTEF's internal consistency checks and start-time pruning into Boolean clauses that an LCG solver can digest.
- Energetic Reasoning Generalization: Instead of just explaining a failure based on the exact current time bounds of tasks, they generalized the explanations using "energetic reasoning." They explain failures in terms of the total "energy" (resource usage × time) required by tasks in a specific window. This makes the learned "nogoods" much more powerful because they apply to a wider range of future search states.
- Bounds Widening: They implemented a "greedy" mechanism to widen the bounds in their explanations. By making the explanation as general as possible (e.g., "this fails because these tasks require too much energy between time A and B"), the solver avoids re-exploring similar failing branches.
Datasets
The authors evaluated their approach on several well-known benchmark suites for scheduling:
- PSPLib (j30, j60, j90, j120): The industry standard for RCPSP.
- AT (Alvarez-Valdés and Tamarit): A suite of 48 instances.
- BL (Baptiste and Le Pape): Highly cumulative problems where many tasks can run at once.
- PACK & PACK_D: Problems focused on the packing/cutting dimensions of scheduling.
- KSD15_D: A large suite of 480 instances based on j30.
Key Insights and Ideas
- The Power of "Why": The core "aha moment" is that a propagator's raw pruning power is only half the story in modern solvers. Its ability to explain that pruning is what allows the solver's learning engine to skip massive portions of the search tree.
- Hybrid Logic: TTEF is a hybrid, and its explanation must be too. By bridging the gap between time-table and edge-finding logic through the lens of energetic reasoning, the authors found a way to create explanations that are simpler and more effective than explaining each component separately.
- Closing the Gap: The most striking insight is that even if a more complex propagator (like TTEF) is slower per search node, the massive reduction in the number of nodes (thanks to better learning) leads to an overall faster and more robust solver.
Key Results
- Closing Open Instances: The authors successfully closed 6 previously open instances in the PSPLib benchmark (3 in j60, 1 in j90, and 2 in j120). These are problems that researchers have been trying to solve optimally for years.
- Lower Bound Improvements: They improved the best-known lower bounds for approximately 60% of the remaining open instances in the PSPLib suite.
- Speedups: On "highly cumulative" problems (like the BL suite), the explaining TTEF propagator was roughly 8 times faster than standard time-table propagation.
- Search Space Reduction: In many cases, the number of failures (search nodes) was reduced by orders of magnitude compared to simpler propagation methods.
Limitations and Future Work
- Overhead on Simple Problems: For "highly disjunctive" problems (where tasks are mostly sequential), the computational overhead of TTEF sometimes outweighs the benefits of the learned nogoods. In these cases, simpler propagators can still be faster.
- Extended Edge-Finding: The current work focuses on standard TTEF. The authors suggest that integrating "extended edge-finding" into the explaining framework could provide even stronger pruning.
- Heuristic Tuning: The "bounds widening" generalisation is currently done greedily. The authors note that further study is needed to find the most "appropriate" way to widen bounds to maximize the impact of learned nogoods.
- Broader Application: While focused on RCPSP, the authors see potential for this explaining TTEF approach in other domains like 2D/3D packing and cutting stock problems.
Summary updated