Overview
The Job Shop Scheduling Problem (JSSP) is a cornerstone of operations research, requiring the coordination of tasks across multiple machines to minimize the total completion time, or makespan. In the preemptive version (pJSSP), machines can interrupt a task to work on another and resume the original task later. While preemption can significantly reduce makespan, it is notoriously difficult to model efficiently in Constraint Programming (CP).
The Challenge: The Curse of Dimensionality
Standard CP models for preemption typically decompose every task into unit-length fragments. For example, a task with a duration of 100 minutes would be split into 100 separate variables. This approach leads to a massive explosion in the number of variables and creates "symmetry" issues, where the solver wastes time exploring functionally identical schedules that do not change the final outcome.
A "Less is More" Approach
Presented at the 29th International Conference on Principles and Practice of Constraint Programming (CP 2023), this paper introduces a highly efficient CP model that avoids explicit fragmentation. The authors, Carla Juvin, Emmanuel Hebrard, Laurent Houssin, and Pierre Lopez, leverage a key mathematical insight: if resources are disjoint (meaning a task only requires one machine at a time), the specific timing of internal fragments does not need to be determined during the search process.
Key Technical Innovations
- Start and End Variables: Instead of unit-length fragments, each task is represented by only two variables: its earliest start time ($s$) and its latest end time ($e$).
- Edge-Finding Propagation: The model uses the "Edge-Finding" rule to ensure feasibility. The authors prove that for preemptive problems with disjoint resources, an "overload check" (ensuring total work fits within a time window) is sufficient to guarantee that a valid fragmentation exists.
- Dominance Rules: The search space is simplified by forcing "no-gap" schedules within jobs. Since any optimal schedule can be transformed into one where a job's tasks follow each other immediately (unless blocked by a machine), the solver can prune solutions that leave unnecessary idle time.
Performance and Results
The authors implemented their model in the Mistral solver and tested it against 63 standard JSSP benchmark instances, including classic sets from Fisher and Thompson (1963) and Lawrence (1984).
The results demonstrate that this streamlined model outperforms both dedicated algorithms and commercial solvers:
- Optimality: Mistral solved 80% of the benchmark instances to proven optimality within a one-hour cutoff, compared to 60% for state-of-the-art dedicated Branch-and-Bound (B&B) algorithms.
- Speed: For the easier 50% of instances, the model found optimal solutions in under 10 seconds.
- Commercial Comparison: The proposed model significantly outperformed IBM’s CP Optimizer (CPO), proving that a clever model can beat raw solver power.
Limitations and Future Directions
The primary limitation of this approach is the requirement for disjoint resources. If a task requires multiple machines simultaneously, the mathematical guarantee that "overload check equals feasibility" no longer holds.
Future Work: The authors propose a hybrid "lazy decomposition" scheme. In this setup, the solver would use the efficient start/end model by default and only add unit-length fragments when it detects a conflict between how a task needs to be sliced across different resources.
This research provides a powerful new tool for large-scale preemptive scheduling, demonstrating that reducing model complexity is often the key to solving high-dimensional problems.
Summary updated