Abstract
Resource-Constrained Job Scheduling (RCJS) is a critical optimization challenge in industrial logistics, particularly within the mining sector. While Constraint Programming (CP) offers a robust framework for solving these problems, its efficiency is heavily dependent on the selection of search heuristics. This paper presents Genetic-based Constraint Programming (GCP), a hybrid approach that utilizes Genetic Programming (GP) to automatically evolve high-performing variable selection heuristics. By optimizing for solution quality within strict time limits rather than search tree size, GCP produces strategies that significantly outperform standard solvers and specialized metaheuristics on large-scale industrial instances.
Introduction
In industrial environments such as mining, the efficient movement of ore from extraction sites to ports involves complex scheduling of limited fleets of trucks and trains. This is modeled as the Resource-Constrained Job Scheduling (RCJS) problem, where the primary objective is to minimize Total Weighted Tardiness (TWT)—the cumulative cost associated with delivery delays.
Constraint Programming (CP) is a standard approach for such combinatorial optimization problems. However, the performance of a CP solver is highly sensitive to its "search strategy"—the logic used to decide which variable to branch on next. While generic heuristics exist, they often struggle with the specific constraints of industrial RCJS. Conversely, manually designing custom heuristics is labor-intensive and requires niche expertise. This research introduces a method to automate this design process using Genetic Programming.
The GCP Framework
The core innovation of this work is the Genetic-based Constraint Programming (GCP) algorithm. Rather than relying on a human-coded rule, GCP treats the CP solver's search strategy as an evolvable program.
1. Genetic Programming for Heuristic Design
The system uses Genetic Programming to evolve expression trees that function as priority functions. These trees are built from various job characteristics (terminals), such as processing time or number of successors, and mathematical operators. The resulting evolved program acts as a sophisticated "tie-breaker." When the underlying CP solver (Google OR-Tools) encounters multiple variables that appear equally viable under standard domain-based strategies, the evolved GP function determines the priority.
2. Solution-Oriented Fitness Evaluation
A significant departure from previous GP-based scheduling research is the fitness function. Earlier methods often measured the fitness of a heuristic by how many nodes or branches the solver explored. In contrast, GCP evaluates heuristics based on the actual Total Weighted Tardiness (TWT) achieved within a fixed, practical time limit. This ensures that the evolved strategies are optimized for real-world operational constraints where finding a high-quality solution quickly is more valuable than proving mathematical optimality.
3. Computational Efficiency in Training
To manage the high computational cost of evolving heuristics, the authors implemented a pre-selection mechanism. Candidate programs are initially screened on small, computationally inexpensive instances. Only those that demonstrate potential are graduated to full evaluation on more complex training sets, significantly accelerating the evolutionary process.
Experimental Setup
The researchers validated GCP using two primary datasets:
- nd-rcjs: A comprehensive set of 1,755 synthetic instances featuring varying machine counts (3 to 25) and resource utilization levels.
- se-rcjs: A standard benchmark dataset used to compare GCP against established state-of-the-art scheduling methods.
To test the generalization of the evolved heuristics, the GP was trained on a small subset of 81 instances (limited to 6-machine problems) and then tested on much larger, unseen problems.
Key Results and Discussion
The experimental results demonstrate that GCP is highly effective at capturing the underlying structure of scheduling problems.
Performance Against Default Solvers
On the most challenging and largest instances, GCP achieved objective values (TWT) that were nearly 50% lower than the default search strategies provided by Google OR-Tools. This highlights the limitations of "off-the-shelf" heuristics for specialized industrial domains.
Comparison with Specialized Metaheuristics
One of the most notable findings was GCP's performance relative to highly specialized algorithms like Ant Colony Optimization (ACO). GCP achieved competitive results in just 60 seconds of execution time, whereas the specialized ACO algorithms required 60 minutes to reach similar solution qualities. This 60-fold increase in speed makes GCP particularly suitable for dynamic industrial environments.
Scalability and Generalization
A critical success of the GCP approach is its ability to generalize. Heuristics evolved on simple 6-machine problems maintained their superiority when applied to 20+ machine problems. The performance gap between GCP and other methods actually widened as the problem size increased, suggesting that the GP successfully discovered fundamental scheduling principles that scale effectively.
Conclusion and Future Work
Genetic-based Constraint Programming represents a significant step forward in automating the configuration of optimization solvers. By evolving tie-breaking heuristics that prioritize solution quality within time bounds, GCP offers a practical tool for complex industrial scheduling.
Future research will focus on adapting GCP for stochastic environments where processing times and resource availability are uncertain. Additionally, the authors aim to expand the "terminal set" of the GP to include higher-level problem-specific features and explore automated methods for extracting structural patterns directly from CP models to further guide the evolutionary process.
Summary updated