A comparative study of five parallel genetic algorithms using the traveling salesman problem

L. Wang, Anthony A. Maciejewski, Howard Jay Siegel, Vwani Roychowdhury2002

Abstract

Parallel genetic algorithms (PGAs) have been developed to reduce the large execution times that are associated with serial genetic algorithms (SGAs). They have also been used to solve larger problems and to find better solutions. A comparative analysis of five different coarse-grained PGAs is conducted using the traveling salesman problem as the basis of this case study. To make fair comparisons, all of these PGAs are based on the same baseline SGA, implemented on the same parallel machine (IBM SP2), tested on the same set of traveling salesman problem instances, and started from the same set of initial populations. As a result of the experiments conducted in this study, a particular PGA that combines a new subtour technique with a known migration approach is identified to be the best for the traveling salesman problem among the five PGAs being compared.

The Challenge of the Traveling Salesman

The Traveling Salesman Problem (TSP) is a foundational NP-hard problem in combinatorial optimization. The goal is simple: find the shortest possible route that visits a set of cities exactly once and returns to the origin. While Serial Genetic Algorithms (SGAs) are effective at finding "near-optimal" solutions by simulating evolutionary processes, they struggle with scalability. As the number of cities increases, the search space grows exponentially, leading to prohibitive execution times.

Parallel Genetic Algorithms (PGAs) offer a solution by distributing the evolutionary process across multiple processors. This study investigates five distinct coarse-grained PGA architectures to determine which strategy best balances solution quality with computational efficiency.

Parallel Architectures Evaluated

The researchers implemented five architectures on an IBM SP2 parallel machine using 16 nodes. Each was built upon a common baseline SGA that utilized standard heuristics like 2-opt and Or-opt for local refinement.

  1. Independent PGA: Each processor runs an isolated SGA with a unique starting population. No communication occurs between nodes.
  2. Migration PGA: Processors periodically exchange their best chromosomes (tours), helping the entire system converge on global optima more quickly.
  3. Partitioned PGA: The search space is divided into disjoint subspaces, restricting each processor to a specific region of the problem.
  4. Segmentation PGA: A novel "divide and conquer" approach where the 100-city tour is broken into smaller subtours. These are evolved independently and then recursively recombined into full tours.
  5. Segmentation-Migration PGA (Hybrid): Combines the hierarchical efficiency of the segmentation technique with the global search capabilities of the migration strategy.

Experimental Results and Analysis

The algorithms were tested against five standard 100-city TSP instances from the TSPLIB library: KA, KC, KD, RE, and LT. Performance was measured by solution quality—the percentage difference from the optimal tour length ($D\%$)—and execution time.

The performance of the serial baseline is summarized in the table below. These results highlight the significant computational overhead of non-parallelized search, with execution times often approaching 500 seconds for complex instances.

Baseline performance of the Serial Genetic Algorithm (SGA) showing mean quality difference (D%) and execution time.

The comparative performance of the five parallel architectures is detailed in the following comprehensive table. The data reveals that the Segmentation-Migration PGA consistently delivers the best results, achieving an average speedup of 13.83x over the serial baseline while maintaining high solution quality.

Comparative performance of the five PGA architectures across five TSP instances, showing solution quality (top) and execution time (bottom).

Key Insights

  • The Power of Migration: Sharing high-quality chromosomes prevents processors from getting stuck in local optima. Migration acts as a "force multiplier," ensuring that breakthroughs in one node benefit the entire system within a few steps.
  • Efficiency via Segmentation: By evolving subtours first, the Segmentation PGA reduces the computational cost of early iterations when the population is still highly unoptimized.
  • The Failure of Partitioning: Restricting search to specific subspaces proved counterproductive, as processors often wasted time in regions that did not contain high-quality solutions, leading to the worst performance among the parallel variants.

Conclusion

The study identifies the hybrid Segmentation-Migration PGA as the superior approach for solving the Traveling Salesman Problem. By combining hierarchical problem decomposition with periodic information exchange, this architecture achieves significant speedups without sacrificing the quality of the final tour. While modern solvers now handle much larger datasets, the principles of segmentation and migration established here remain central to the design of efficient parallel evolutionary algorithms.

Summary updated

BibTeX
@misc{wang2002comparative,
  author = {L. Wang and Anthony A. Maciejewski and Howard Jay Siegel and Vwani Roychowdhury},
  title = {{A comparative study of five parallel genetic algorithms using the traveling salesman problem}},
  year = {2002},
  doi = {10.1109/ipps.1998.669938},
}
Figure