Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm

Similar documents
Reduce Total Distance and Time Using Genetic Algorithm in Traveling Salesman Problem

GENETIC ALGORITHM with Hands-On exercise

Parallel Genetic Algorithm to Solve Traveling Salesman Problem on MapReduce Framework using Hadoop Cluster

Fuzzy Inspired Hybrid Genetic Approach to Optimize Travelling Salesman Problem

Khushboo Arora, Samiksha Agarwal, Rohit Tanwar

Job Shop Scheduling Problem (JSSP) Genetic Algorithms Critical Block and DG distance Neighbourhood Search

Modified Order Crossover (OX) Operator

SIMULATION APPROACH OF CUTTING TOOL MOVEMENT USING ARTIFICIAL INTELLIGENCE METHOD

A NEW HEURISTIC ALGORITHM FOR MULTIPLE TRAVELING SALESMAN PROBLEM

Solving ISP Problem by Using Genetic Algorithm

Optimizing the Sailing Route for Fixed Groundfish Survey Stations

BI-OBJECTIVE EVOLUTIONARY ALGORITHM FOR FLEXIBLE JOB-SHOP SCHEDULING PROBLEM. Minimizing Make Span and the Total Workload of Machines

A Steady-State Genetic Algorithm for Traveling Salesman Problem with Pickup and Delivery

Genetic Algorithms with Oracle for the Traveling Salesman Problem

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

A Web-Based Evolutionary Algorithm Demonstration using the Traveling Salesman Problem

Two new variants of Christofides heuristic for the Static TSP and a computational study of a nearest neighbor approach for the Dynamic TSP

ISSN: (Online) Volume 3, Issue 5, May 2015 International Journal of Advance Research in Computer Science and Management Studies

Solving Travelling Salesman Problem and Mapping to Solve Robot Motion Planning through Genetic Algorithm Principle

A Parallel Architecture for the Generalized Traveling Salesman Problem

Using Genetic Algorithm with Triple Crossover to Solve Travelling Salesman Problem

A COMPARATIVE STUDY OF FIVE PARALLEL GENETIC ALGORITHMS USING THE TRAVELING SALESMAN PROBLEM

Travelling salesman problem using reduced algorithmic Branch and bound approach P. Ranjana Hindustan Institute of Technology and Science

Dynamic Capacity Routing in Networks with MTSP

Enhanced ABC Algorithm for Optimization of Multiple Traveling Salesman Problem

The study of comparisons of three crossover operators in genetic algorithm for solving single machine scheduling problem. Quan OuYang, Hongyun XU a*

Introduction to Genetic Algorithms. Genetic Algorithms

Evolutionary Computational Approaches to Solving the Multiple Traveling Salesman Problem Using a Neighborhood Attractor Schema

ABSTRACT I. INTRODUCTION. J Kanimozhi *, R Subramanian Department of Computer Science, Pondicherry University, Puducherry, Tamil Nadu, India

Solving Traveling Salesman Problem Using Parallel Genetic. Algorithm and Simulated Annealing

Genetic Algorithm for Finding Shortest Path in a Network

Hybridizing PSM and RSM Operator for Solving NP-Complete Problems: Application to Travelling Salesman Problem

Solving the Traveling Salesman Problem using Reinforced Ant Colony Optimization techniques

of optimization problems. In this chapter, it is explained that what network design

A HIGH PERFORMANCE ALGORITHM FOR SOLVING LARGE SCALE TRAVELLING SALESMAN PROBLEM USING DISTRIBUTED MEMORY ARCHITECTURES

Innovative Systems Design and Engineering ISSN (Paper) ISSN (Online) Vol.5, No.1, 2014

Solving Traveling Salesman Problem for Large Spaces using Modified Meta- Optimization Genetic Algorithm

Escaping Local Optima: Genetic Algorithm

A New Selection Operator - CSM in Genetic Algorithms for Solving the TSP

Adaptive Tabu Search for Traveling Salesman Problems

Introduction to Evolutionary Computation

Grid Scheduling Strategy using GA (GSSGA)

DETERMINING MAXIMUM/MINIMUM VALUES FOR TWO- DIMENTIONAL MATHMATICLE FUNCTIONS USING RANDOM CREOSSOVER TECHNIQUES

Optimal tree for Genetic Algorithms in the Traveling Salesman Problem (TSP).

ACCELERATING THE ANT COLONY OPTIMIZATION

Introduction to Genetic Algorithms. Based on Chapter 10 of Marsland Chapter 9 of Mitchell

Solving the Capacitated Vehicle Routing Problem with a Genetic Algorithm

Solving Travelling Salesmen Problem using Ant Colony Optimization Algorithm

A data-driven approach for solving route & fleet optimization problems

Advanced Search Genetic algorithm

A HYBRID GENETIC ALGORITHM A NEW APPROACH TO SOLVE TRAVELING SALESMAN PROBLEM

A Memetic Algorithm for the Generalized Traveling Salesman Problem

Meta- Heuristic based Optimization Algorithms: A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

Optimal Solving Large Scale Traveling Transportation Problems by Flower Pollination Algorithm

A memetic algorithm for symmetric traveling salesman problem

A New Algorithm for Solving the Operation Assignment Problem in 3-Machine Robotic Cell Scheduling

Comparison of TSP Algorithms

Introduction to Approximation Algorithms

Using Genetic Algorithms to optimize ACS-TSP

The Generalized Traveling Salesman Problem: A New Genetic Algorithm Approach

Optimization of Association Rule Mining through Genetic Algorithm

Improved Genetic Algorithm to Solve Asymmetric Traveling Salesman Problem

JHPCSN: Volume 4, Number 1, 2012, pp. 1-7

Sparse Matrices Reordering using Evolutionary Algorithms: A Seeded Approach

Solving Traveling Salesman Problem Using Combinational Evolutionary Algorithm

CHAPTER 4 GENETIC ALGORITHM

SOLVING TRAVELING SALESMAN PROBLEMS USING HEURISTIC LEARNING APPROACH

Combining Two Local Searches with Crossover: An Efficient Hybrid Algorithm for the Traveling Salesman Problem

A Genetic Algorithm for Graph Matching using Graph Node Characteristics 1 2

Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem

Genetic Algorithms in Traveling Salesman Problem

Metaheuristic Development Methodology. Fall 2009 Instructor: Dr. Masoud Yaghini

New Genetic Operators for Solving TSP: Application to Microarray Gene Ordering

The k-means Algorithm and Genetic Algorithm

A GENETIC ALGORITHM FOR CLUSTERING ON VERY LARGE DATA SETS

Mutations for Permutations

A combination of clustering algorithms with Ant Colony Optimization for large clustered Euclidean Travelling Salesman Problem

Analysis of the impact of parameters values on the Genetic Algorithm for TSP

Time Complexity Analysis of the Genetic Algorithm Clustering Method

AN OPTIMAL SOLUTION TO MULTIPLE TRAVELLING SALESPERSON PROBLEM USING MODIFIED GENETIC ALGORITHM

Traveling Salesman Problem with Time Windows Solved with Genetic Algorithms

Improvement heuristics for the Sparse Travelling Salesman Problem

SOLVING THE JOB-SHOP SCHEDULING PROBLEM WITH A SIMPLE GENETIC ALGORITHM

Topological Machining Fixture Layout Synthesis Using Genetic Algorithms

Massively Parallel Approximation Algorithms for the Traveling Salesman Problem

Heuristic Approaches to Solve Traveling Salesman Problem

The Genetic Algorithm for finding the maxima of single-variable functions

Comparison of Heuristics for the Colorful Traveling Salesman Problem

State Space Reduction for the SYMMETRIC Traveling Salesman Problem through Halves Tours Complement

Solving the Travelling Salesman Problem in Parallel by Genetic Algorithm on Multicomputer Cluster

METAHEURISTICS. Introduction. Introduction. Nature of metaheuristics. Local improvement procedure. Example: objective function

State Space Reduction for the Symmetric Traveling Salesman Problem through Halves Tour Complement

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

Evolutionary Computation Algorithms for Cryptanalysis: A Study

Hybrid approach for solving TSP by using DPX Cross-over operator

Genetic Programming: A study on Computer Language

Hybrid of Genetic Algorithm and Continuous Ant Colony Optimization for Optimum Solution

Optimal Facility Layout Problem Solution Using Genetic Algorithm

MSc Robotics and Automation School of Computing, Science and Engineering

Clustering Evolutionary Computation for Solving Travelling Salesman Problems

Transcription:

IOSR Journal of Computer Engineering (IOSR-JCE) e-issn: 2278-661, p- ISSN: 2278-8727Volume 13, Issue 3 (Jul. - Aug. 213), PP 17-22 Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm Shalini Singh 1, Md. Ejaz Aslam Lodhi 2 1,2 Indira Gandhi Technical University for Women Abstract: Multiple traveling salesman problems (MTSP) are a typical computationally complex combinatorial optimization problem, which is an extension of the famous traveling salesman problem (TSP). The MTSP can be generalized to a wide variety of routing and scheduling problems. The paper makes the attempt to show how Genetic Algorithm (GA) can be applied to the MTSP with ability constraint. In this paper, we compare MTSP in term of distance and iteration by considering several set of cities. The computational results show that the proposed algorithm can find competitive solutions within rational time, especially for large scale problems. Keywords: Genetic Algorithm, GA Operator, MTSP, TGA, TSP I. INTRODUCTION The TSP is classified as Symmetric Traveling salesman problem (STSP), asymmetric traveling salesman problem (ATSP), and multi traveling salesman problem (MTSP). In this paper we present description about these three widely studied TSP [1]. The STSP is the problem of finding a minimal length closed tour that visits each city once. In this case cities are given by their coordinates (xi, yi) and drs is the Euclidean distance between r and s then we have an Euclidean TSP. ATSP: If drs dsr for at least one (r, s) then the TSP becomes an ATSP. MTSP: The MTSP is defined as: In a given set of nodes, let there are m salesmen located at a single depot node. The remaining nodes (cities) that are to be visited are intermediate nodes. Then, the MTSP consists of finding tours for all m salesmen, who all start and end at the depot, such that each intermediate node is visited exactly once and the total cost of visiting all nodes is minimized. The cost metric can be defined in terms of distance, time, etc. MTSP problem is defined on a graph G=(V,A)[2] V is the set of n nodes A is the set of edges (cities) i,j are indices for each cities xij is a binary variable xij=1 if arc(i,j) used on the tour xij= if arc(i,j) otherwise cij distance between city-i and city-j Objective: Min cijxij Constraints: Every salesman must start and end at the same node Next two constraints assure that m number of salesmen must depart and return back to starting point (node 1): x1j = m j=2 xj1 = m j=2 xij = 1, j=2... n i=1 xij = 1,i=2,...,n j=1 xij,1,ұ(i,j) A 17 Page

Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm Sub-tour elimination constraints (Secs): With the constraint we've so far, sub-tours will be present in our solution which will result in unconnected/disjoint loops. To assure impose connectivity, we add SEC constrains. p denotes the maximum number of nodes that can be visited by a salesman. ui uj+p*xi j p 1for2 i/j n II. RELATED PROBLEM An equivalent formulation in terms of graph theory is: Given a complete weighted graph (where the vertices would represent the cities, the edges would represent the roads, and the weights would be the cost or distance of that road), find a Hamiltonian cycle with the least weight. The basic search procedure is as follows [9]: S1. Select any single node as initial path. S2. Test the path for admissibility S3. If the path so far is admissible, list the successors of last node chosen, and extend the path to the first of these. Repeat step 2. S4. If the path so far is inadmissible, delete the last node chosen and choose the next listed successors of preceding node. Repeat step 2. S. If all the extension of given node have been shown inadmissible, repeat step 4. S6. If all the extension from initial node has been shown inadmissible, then no circuit exists S7. If the successors of last node are the origin, a Hamilton circuit is formed; if all Hamilton circuit is required, and then list the circuit found, mark the partial path inadmissible, and repeat step 4. The test for admissibility in step 2 is made by Deduction rule: Testing the Partial Path, P, for admissibility consists of classifying the edges of the graph into three sets: D= Deleted edge-those edge which cannot be in any Hamilton Path [3] containing the partial path; R= Required Edges-those edges which must be in every Hamilton path containing the partial path; U= Undecided edges-those edges which cannot yet be classified. The edge in D, R, and U are mutually exclusive, D V R V U = E and edges in P are also in R. Another related problem is the bottleneck traveling salesman problem (bottleneck TSP): Find a Hamiltonian cycle in a weighted graph with the minimal weight of the weightiest edge [1]. The problem is of considerable practical importance, apart from evident transportation and logistics areas. A classic example is in printed circuit manufacturing: scheduling of a route of the drill machine to drill holes in a PCB. In robotic machining or drilling applications, the "cities" are parts to machine or holes (of different sizes) to drill, and the "cost of travel" includes time for retooling the robot (single machine job sequencing problem). The generalized traveling salesman problem deals with "states" that have (one or more) "cities" and the salesman has to visit exactly one "city" from each "state". Also known as the traveling politician problem". One application is encountered in ordering a solution to the cutting stock problem in order to minimize knife changes. The cutting-stock problem is often highly degenerate, in that multiple solutions with the same waste are possible. This degeneracy arises because it is possible to move items around, creating new patterns, without affecting the waste. The sequential ordering problem [] deals with the problem of visiting a set of cities where precedence relations between the cities exist. III. PROPOSED ALGORITHM Genetic Algorithms are the heuristic search and optimization techniques that mimic the process of natural evolution [3]. Genetic algorithms are a part of evolutionary computing, which is a rapidly growing area of artificial intelligence. Genetic algorithms are inspired by Darwin's theory about evolution. Genetic algorithms are not too hard to program or understand, since they are biological based. Thinking in terms of real-life evolution may help you understand. Here is the general algorithm for a GA [1]: Create a Random Initial State An initial population is created from a random selection of solutions (which are analogous to chromosomes). Evaluate Fitness A value for fitness is assigned to each solution (chromosome) depending on how close it actually is to solving the problem. Reproduce (& Children Mutate) Those chromosomes with a higher fitness value are more likely to reproduce offspring (which can mutate after reproduction). The offspring is a product of the father and mother, whose composition consists of a combination of genes from them (this process is known as "crossing over". Next Generation 18 Page

Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm If the new generation contains a solution that produces an output that is close enough or equal to the desired answer then the problem has been solved. If this is not the case, then the new generation will go through the same process as their parents did. This will continue until a solution is reached [6]. Fig. 1. Genetic Algorithm Work flow The traveling salesman problem: given a finite number of 'cities' along with the cost of travel between each pair of them, find the cheapest way of visiting all the cities and returning to your starting point [11]. Genome and Algorithm: The traditional algorithm for the TSP problem, every city must be unique in a gene, and can't be duplicated. Genes are presented in sequential representation where the cities are listed in the order in which they are visited. Example: [9 4 3 1 2 4 6 8 7] For a crossover operation we selected the Greedy Crossover : Greedy crossover [12] selects the first city of one parent, compares the cities leaving that city in both parents, and chooses the closer one to extend the tour. If one city has already appeared in the tour, we choose the other city. If both cities have already appeared, we randomly select a non-selected city. Mutation: Unlike traditional mutation, we swap the order of cities. Example Before mutation [ 1 2 3 4 6] After mutation [ 1 3 2 4 6] There are a lot of ways of doing such a swapping operation. Easiest way in using random swap. But such a strategy is unable to achieve local optimum. Thus, we used a greedy-swap mutation: The basic idea of greedyswap [7] is to randomly select two cities from one chromosome and swap them if the new (swapped) tour length is shorter than the old one. IV. PERFORMANCE EVALUATION Experiments are conducted to evaluate the performance of GA-based Technique. The performance is compared with TSP with Single Salesmen and also the variation in MTSP has been studied. All Algorithms are executed 1 times on each 4 dataset. The experiments focus 2 aspects: quality of solution and computation time. Fig. no. 2,3,4 shows the performance of GA based Multiple traveling salesmen with variable point, closed path and open path giving the city location, distance matrix, best solution history and total distance. Here, we are considering Salesmen with minimum tour is 2. After analyzing all the result of different variations in MTSP, we are now comparing it with TGA. 19 Page

Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm 1.1 Variation in TSP with Multiple Salesmen with variable points, closed path and open path using GA 1 City Locations Distance Matrix 1 1 1 2 1 1 2 1 Total Distance = 37.3789 Best Solution History 8 6 4 2 1. 1 1. 2 Fig. 2. Result of MTSP using GA x 1 4 1 City Locations Distance Matrix 1 1 1 2 1 1 2 1 Total Distance = 38.448 8 Best Solution History 6 4 2 1. 1 1. 2 Fig. 3. Result of MTSPFO using GA x 1 4 1 City Locations Distance Matrix 1 1 1 2 1 1 2 1 Total Distance = 68.411 Best Solution History 1 1. 1 1. 2 Fig. 4. Result of MTSPFC using GA x 1 4 Table 1: Comparison of Different MTSP w.r.t Distance No.of cities MTSPV Dist. MTSPFO Dist. MTSPFC Dist. 2 37.3789 38.448 67.49 4 6.34 63.1839 7.667 6 7.4647 7.961 91.1436 8 97.91 83.689 16.214 This is the comparison table of MTSP with 4 dataset after taking 1 iterations. Here in Fig. we have studied different MTSP in term of their distance and plot a graph to evaluate their performance. In this Fig., as we increase number of input i.e. cities, variation in different MTSP take place and we observe that MTSP with variable point give optimal result. 2 Page

Iteration Distance Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm Distance Vs City 12 1 8 6 4 2 2 No. of cities 4 6 MTSPV Dist. MTSPFO Dist. MTSPFC Dist. No. of cities Fig..Comparison graph of Variation in MTSP Distance Table 2: Comparison of Variation in MTSP w.r.t Iteration MTSPV Iter. MTSPFO Iter. MTSPFC Iter. 2 179 8699 416 4 17136 1663 7136 6 17244 9443 177 8 1239 14266 17329 This is the comparison table of MTSP with 4 dataset after taking 1 iterations. Here in Fig. 6 we have studied different MTSP in term of their iteration with increase in number of cities and plot a graph to evaluate their performance. In both the Fig.,6 we have seen that MTSPV justifies our performance evaluation in term of reduce computation time and improved quality against MTSPFO and MTSPFC. 2 Iteration Vs City 1 MTSPV Iter. 1 MTSPFO Iter. MTSPFC Iter. 2 No. of cities 4 6 Fig. 6.Comparison graph of Variation in MTSP Iteration Table 3: Comparison of MTSP_GA and TSP_GA No. Cities of MTSP_GA TSP_GA 2 37.3789 37.4493 4 6.34 4.114 6 7.4647 76.1812 8 97.91 99.1776 This is the comparison table of MTSP with 4 dataset after taking 1 iterations. Here in Fig. 7 we compared Mtsps with TSP in term of their distance and plot a graph to evaluate their performance. 21 Page

Distance Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm 1 Distance Vs City 1 MTSPV Dist. 2 No. of cities 4 6 TSP_GA Dist. Fig. 7.Comparison graph of TSP_GA and MTSP_GA V. CONCLUSION This paper represents a simple but efficient technique for enhancing the performance of traditional GA. Our simulation result showed that the proposed algorithm outperform TGA in term of not only the computation time but also the accuracy of end result. Evolutionary algorithms like Genetic Algorithms are very successful in solving the TSP. These techniques with some variation can be applied to most of the NP-hard problems in general NP-hard problems can be modeled as graph problems. Moreover, we evaluate the performance of MTSP Variations in term of distance and iteration which shows optimum results and also compare Single Salesmen TSP with Multiple Salesmen TSP. Thus, the result showed that we can significantly reduce the computation time of GA-based algorithm, especially in cases where dataset are large. REFERENCES Journals: [1] Gerard Reinelt. The Traveling Salesman: Computational Solutions for TSP Applications. Springer-Verlag, 1994. Books: [2] E.L. Lawler, J.K. Lenstra, A.H.G. Rinnooy Kan, and D.B. Shmoys. The Traveling Salesman. John Wiley and Sons, 1986. [3] Bektas,T.(26).The multiple traveling salesman problem: an overview of formulations and solution procedures. OMEGA: The International Journal of Management Science, 34(3), 29-219. [4] Hamilton Paths in grid graphs by Alon Itai,Christos H. PapaDimitriou and Jayme Luis schwarchifter in 1982 Society for Industrial and Applied Science,Vol.11,no.4,November 1982. [] An Inexact Algorithm for the Sequential Ordering Problem, by Escudero in 1988. [6] Immune-Genetic Algorithm for Traveling Salesman Problem by Jingui Lu and Min Xie. Nanjing University of Technology,P. R. China. [7] Introduction to Genetic Algorithm by Dr. Rajib Kumar Bhattachariya Department of Civil Engineering IIT Guwahati [8] A Search Procedure from Hamilton path and circuits by Frank Rubin IBM Corporation,Poughkeepsie,New York. Websites: [9] www.cs.unr.edu. [1] www.math.princeton.edu/tsp. [11] Gaslab.cs.unr.edu/docs/tech reports/gong/node3.html [12] www.generation.org/ga.shtml. 22 Page