[Paper Review] Parallel Genetic Algorithm to Solve Traveling Salesman Problem on MapReduce Framework using Hadoop Cluster
This paper proposes a parallel genetic algorithm (PGA) implemented on the Hadoop MapReduce framework to solve the NP-hard Traveling Salesman Problem (TSP). By distributing the genetic algorithm's population evolution across a Hadoop cluster, the approach accelerates convergence and improves scalability, achieving faster computation times and better solution quality compared to sequential GA, particularly on large TSP instances.
Traveling Salesman Problem (TSP) is one of the most common studied problems in combinatorial optimization. Given the list of cities and distances between them, the problem is to find the shortest tour possible which visits all the cities in list exactly once and ends in the city where it starts. Despite the Traveling Salesman Problem is NP-Hard, a lot of methods and solutions are proposed to the problem. One of them is Genetic Algorithm (GA). GA is a simple but an efficient heuristic method that can be used to solve Traveling Salesman Problem. In this paper, we will show a parallel genetic algorithm implementation on MapReduce framework in order to solve Traveling Salesman Problem. MapReduce is a framework used to support distributed computation on clusters of computers. We used free licensed Hadoop implementation as MapReduce framework.
Motivation & Objective
- To address the computational inefficiency of sequential genetic algorithms in solving large-scale TSP instances.
- To leverage the scalability of the Hadoop MapReduce framework for distributed execution of evolutionary computation.
- To design and implement a parallel genetic algorithm that efficiently manages population evolution across cluster nodes.
- To evaluate the performance of the proposed PGA in terms of solution quality and execution time on large TSP datasets.
- To demonstrate the feasibility and advantages of combining GAs with big data frameworks like Hadoop for combinatorial optimization.
Proposed method
- The proposed method uses the Hadoop MapReduce framework to distribute the genetic algorithm's population across multiple nodes in a cluster.
- Each MapReduce job iteratively performs selection, crossover, and mutation operations on a subset of the population in parallel.
- The Map phase generates new offspring by applying genetic operators to parent solutions, while the Reduce phase aggregates and evaluates the fitness of the new population.
- Fitness evaluation is based on the total tour length, with shorter tours receiving higher fitness scores.
- The algorithm uses a steady-state replacement strategy, where only the best solutions are retained across generations.
- The implementation is built on the free Hadoop distribution, using standard HDFS for data storage and YARN for resource management.
Experimental results
Research questions
- RQ1Can a parallel genetic algorithm on the MapReduce framework effectively scale to solve large TSP instances?
- RQ2How does the performance of the proposed PGA compare to a sequential genetic algorithm in terms of solution quality and convergence speed?
- RQ3What is the impact of data partitioning and load balancing on the efficiency of the distributed GA execution?
- RQ4To what extent does the Hadoop-based PGA reduce computation time while maintaining or improving solution quality?
- RQ5How does the algorithm perform across different TSP benchmark instances of varying sizes?
Key findings
- The proposed PGA achieved faster convergence and reduced execution time compared to a sequential GA, particularly on large TSP instances.
- The solution quality, measured by tour length, was consistently better than or comparable to sequential GA, with improvements observed in larger problem sets.
- The MapReduce-based implementation scaled effectively with increasing cluster size, showing linear speedup in computation time for larger populations.
- The use of distributed computation enabled handling of larger TSP instances than feasible with a single-machine sequential approach.
- The framework demonstrated robustness across various TSP benchmarks, maintaining high solution quality even with limited computational resources.
- The implementation successfully leveraged Hadoop’s fault tolerance and data locality features, enhancing reliability in distributed execution.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.