A Genetic Algorithm for Truck Dispatching in Mining

Wesley Cox, Tim French, Mark Reynolds, Lyndon WhileGcai 2017

Introduction

In open-pit mining operations, truck haulage represents a significant financial burden, typically accounting for 50-60% of total operating costs. Given the scale of these operations, even marginal improvements in throughput can result in millions of dollars in additional annual profit. Traditionally, the industry has relied on linear programming (LP) and greedy heuristics to manage truck dispatching. However, these methods often struggle with the dynamic complexities and traffic contention inherent in modern mine layouts. This paper explores an alternative approach: using Genetic Algorithms (GAs) to evolve efficient, cyclic dispatching schedules.

The Truck Dispatching Problem

The core challenge of the Truck Dispatching Problem (TDP) is to manage a fleet of trucks as they cycle between shovels (loading points) and crushers (unloading points). The objective is to maximize total throughput while minimizing the idle time of expensive loading and crushing machinery.

Existing solutions generally fall into two categories:

  1. Greedy Heuristics: These use simple local rules, such as sending a truck to the shovel with the shortest current queue. While easy to implement, they lack a global perspective and can lead to "traffic pulses" that overwhelm specific nodes.
  2. Linear Programming (LP): Industry-standard algorithms like DISPATCH use mathematical optimization to set flow rates. While powerful, these models often fail to accurately account for contention—the delays caused by traffic jams on one-lane roads or at busy intersections.

Methodology: Timed Automata and Genetic Evolution

To address these limitations, the researchers developed a discrete-event simulator based on Timed Automata (TA). This model captures the stochastic nature of mining, including variable loading times and travel durations.

Timed Automata model of the truck cycle within the mine simulator.

The Genetic Algorithm Approach

Rather than building a complex real-time decision engine, the researchers employed a GA to evolve a controller consisting of cyclic finite automata.

  • Genotype: Each "chromosome" represents a set of variable-length integer strings. Each string is a pre-defined list of destinations for a specific crusher or shovel.
  • Phenotype: In operation, when a truck arrives at a location, the controller simply assigns the next destination from that location's list, cycling back to the start once the end is reached.
  • Fitness Function: The GA evaluates candidates by running multiple stochastic simulations of a 500-minute shift. The fitness score is defined as the average number of truckloads delivered during that period.

By utilizing crossover and mutation (inserting, deleting, or swapping destinations), the GA searches for a global "rhythm" that naturally balances the load across the mine without requiring real-time re-calculation for every truck movement.

Experimental Environments

The approach was tested across three synthetic mining environments generated by a custom Java simulator, ranging from simple to highly constrained layouts.

Layouts for Problem 1 (1 crusher, 4 shovels) and Problem 2 (2 crushers, 6 shovels).
  • Problem 1: A basic setup with 4 shovels, 1 crusher, and simple two-lane roads.
  • Problem 2: A larger environment with 6 shovels and 2 crushers.
  • Problem 3: A complex environment featuring 6 shovels, 2 crushers, and one-lane road segments managed by traffic lights.

Key Results and Analysis

The GA-based approach demonstrated significant advantages, particularly in complex scenarios:

  • Superiority in Bottleneck Scenarios: In Problem 3 (one-lane roads), the GA reached 98% of peak performance with significantly fewer trucks than DISPATCH or greedy heuristics. In one instance, the GA achieved a target with 31 trucks that other algorithms could not reach even with an unlimited fleet.
  • Global Optimization: Unlike greedy heuristics that are "short-sighted," the evolved GA schedules prevent traffic pulses. By discovering sequences that minimize waiting at traffic lights, the GA effectively manages contention that traditional LP models struggle to quantify.
  • Resource Utilization: The GA successfully matched shovel and crusher service rates within 5% for nearly all machines, ensuring high utilization across the entire network.

Conclusion

This research demonstrates that an evolutionary approach to truck dispatching can outperform traditional industry standards in complex mining environments. By evolving a global rhythm rather than relying on local reactive rules, the GA effectively navigates the challenges of one-lane bottlenecks and traffic contention. Future work may involve real-time evolution to allow these cyclic schedules to adapt to major disruptions, such as equipment failure, and extending the model to include ore blending and fuel management constraints.

Summary updated

BibTeX
@inproceedings{cox2017genetic,
  author = {Wesley Cox and Tim French and Mark Reynolds and Lyndon While},
  title = {{A Genetic Algorithm for Truck Dispatching in Mining}},
  booktitle = {Gcai},
  year = {2017},
  doi = {10.29007/n11t},
}
Figure