SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
© 2013, IJARCSSE All Rights Reserved Page | 376
Volume 3, Issue 6, June 2013 ISSN: 2277 128X
International Journal of Advanced Research in
Computer Science and Software Engineering
Research Paper
Available online at: www.ijarcsse.com
Solving Travelling Salesman Problem Using Genetic Algorithm
Saloni Gupta*, Poonam Panwar
Department of Computer Science & Engineering
Ambala College of Engineering & Applied Research,
Ambala-133101, India
Abstract---Travelling salesman problem (TSP) is a combinatorial optimization problem. It is NP hard problem and
TSP is the most intensively studied problem in the area of optimization. But with the increase in the number of cities,
the complexity of the problem goes on increasing. In this paper, we have solved Travelling Salesman Problem using
Genetic algorithm approach. System starts from a matrix of the calculated Euclidean distances between the cities to be
visited by the travelling salesman and randomly chosen city order as the initial population. Then new generations are
created repeatedly until the proper path is reached upon reaching a stopping criterion.
Keywords-TSP, GA, Fitness value, Selection, 2-point Crossover, Interchange Mutation.
I. INTRODUCTION
The travelling salesman problem (TSP) is the most well-known combinatorial optimization problem. TSP is used to find
a routing of a salesman who starts from a home location, visits a prescribed set of cities and returns to the original
location in such a way that the total distance travelled is minimized and each city is visited exactly once [1]. This
problem is known to be NP-hard, and cannot be solved exactly in polynomial time. Many exact and heuristic algorithms
have been developed in the field of operations research (OR) to solve this problem [2]. TSP is solved very easily when
there is less number of cities, but as the number of cities increases it is very hard to solve, as large amount of
computation time is required. The numbers of fields where TSP can be used very effectively are military and traffic.
Another approach is to use genetic algorithm to solve TSP because of its robustness and flexibility [3]. Some typical
applications of TSP include vehicle routing, computer wiring, cutting wallpaper and job sequencing. The main
application in statistics is combinatorial data analysis, e.g., reordering rows and columns of data matrices or identifying
clusters [4].
II. TRAVELLING SALESMAN PROBLEM
The Travelling Salesman Problem is one of the best known NP-hard problems, which means that there is no exact
algorithm to solve it in polynomial time. The minimal expected time to obtain optimal solution is exponential [5].TSP is
defined as a permutation problem with the objective of finding the path of the shortest length (or the minimum cost). TSP
can be modelled as an undirected weighted graph, such that cities are the graph’s vertices, paths are the graph’s edges,
and a path’s distance is the edge’s length. It is a minimization problem starting and finishing at a specified vertex after
having visited each other vertex only once. Often, the model is a complete graph. If no path exists between two cities,
adding an arbitrarily long edge will complete the graph without affecting the optimal tour. Mathematically, it can be
defined as given a set of n cities, named {c1, c2,…cn}, and permutations, σ1, ..., σn!, the objective is to choose σi such
that the sum of all Euclidean distances between each node and its successor is minimized. The successor of the last node
in the permutation is the first one. The Euclidean distance d, between any two cities with coordinate (x1, y1) and (x2, y2)
is calculated by equation 1 [6].
d=√(│X1-X2│)²+(│Y1-Y2│﴿² (1)
The most popular practical application of TSP are regular distribution of goods or resources, finding of the shortest of
costumer servicing route, planning bus lines etc., but also in the areas that have nothing to do with travel routes[5].
III. Various Approaches Used FOR SOLVING TSP
In 1997, Rong Yangintroduce several knowledge-augmented genetic operators which guide the genetic algorithm more
directly towards better quality of the population but are not trapped in local optima prematurely. The algorithm applies a
greedy crossover and two advanced mutation operations based on the 2-opt and 3-opt heuristics [7].In 2001, Chiung
Moon introduces the concept of topological sort (TS), which is defined as an ordering of vertices in a directed
graph.Also, a new crossover operation is developed for the proposed GA [8].In 2004, new knowledge based multiple
inversion operators and a neighbourhood swapping operator is proposed by ShubhraSankar Ray [9].In 2005, Lawrence
V. Snyder presents a heuristic to solve the generalized traveling salesman problem. The procedure incorporates a local
tour improvement heuristic into a random-key genetic algorithm. The algorithm performed quite well when tested on a
set of 41 standard problems with known optimal objective values [10]. In 2005, Milena Karova introduces the solution,
which includes a genetic algorithm implementation in order to give a maximal approximation of the problem, modifying
Gupta et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(6),
June - 2013, pp. 376-380
© 2013, IJARCSSE All Rights Reserved Page | 377
a generated solution with genetic operators [11].In 2006, PlamenkaBorovska investigates the efficiency of the parallel
computation of the travelling salesman problem using the genetic approach on a slack multicomputer cluster [12].In
2007, A two-level genetic algorithm (TLGA) was developed for the problem, which favours neither intra-cluster paths
nor inter-cluster paths, thus realized integrated evolutionary optimization for both levels of the CTSP [13].In 2007, A
novel particle swarm optimization (PSO)-based algorithm for the travelling salesman problem (TSP) is presented, and is
compared with the existing algorithms for solving TSP using swarm intelligence [14].In 2008, A software system is
proposed to determine the optimum route for a Travelling Salesman Problem using Genetic Algorithm technique [6].In
2009, S.N. Sivanandampresents two approaches i.e Genetic Algorithms and Particleswarm optimisation tofind solution to
a given objective function employing different procedures and computational techniques; as a result their performance
can be evaluated and compared [15].
In 2010, a novel hybrid discrete PSO algorithm has been presented by add heuristic factor, crossover operator
and adaptive disturbance factor into the approach. Numerical results show that the proposed algorithms are effective
[16].In 2011, Ivan Brezina Jr.discusses the Ant Colony Optimization (ACO), which belongs to the group of evolutionary
techniques and presents the approach used in the application of ACO to the TSP [5].In 2011, a comparative performance
of roulette wheel, Elitism and tournament selection method is presented to solve the Travelling Salesman problem [18].In
2012, different authors present a critical survey to solve TSP problem using genetic algorithm methods[17].
IV.PROPOSED GENETIC ALGORITHM
John Holland proposed Genetic Algorithm in 1975. In the field of artificial intelligence genetic algorithm is a search
heuristic that mimics the process of natural evolution. Genetic Algorithm belongs to class of evolutionary algorithm.GA
begin with various problem solution which are encoded into population, a fitness function is applied for evaluating the
fitness of each individual, after that a new generation is created through the process of selection, crossover and mutation.
After the termination of genetic algorithm, an optimal solution is obtained. If the termination condition is not satisfied
then algorithm continues with new population [3]. The flowchart for proposed GA is described in Fig 1.
Yes
No
Figure 1: Flowchart of the proposed technique
V. IMPLEMENTATION OF PROPOSED ALGORITHM
The algorithm is applied to a set of total five problems taken from the literature. We have explained the working of the
algorithm on a problem of 15 cities in the following section. The coordinates of 15 cities is shown in fig.2
Generate a population of
chromosomes.
Apply Tournament Selection to the
population.
Apply two point crossover to the
best selected parents
Apply interchange mutation to the
genes of selected chromosome.
No. of iterations
<=n
Display Result
Gupta et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(6),
June - 2013, pp. 376-380
© 2013, IJARCSSE All Rights Reserved Page | 378
Figure 2: Coordinates of 15 cities
The distance matrix of the problem is given in table 1. We have assumed the distance-matrix to be symmetric; therefore,
the part above the main diagonal contains all necessary information. The distance between the cities is considered to be
symmetric i.e. if the salesman moves from city 1 to city 5 than the distance is same if he moves from city 5 to city 1. Due
to this half of the matrix is empty. The information above the diagonal is enough to find the distance between different
cities. The first row and column denotes the city.
TABLE I DISTANCE MATRIX OF 15 CITIES PROBLEM [18]
A. Initial Population
Initial population of chromosomes is created randomly by using unique random number generator function in Matlab.
The initial population created is shown in following section. The population consist of ten chromosomes, where each
chromosome denotes the sequence in which cities have to be traversed and each gene represent the number assigned to a
city. Section A to E describes the various genetic operators applied to the initial population to obtain the optimal results.
Chromosome1 1 4 13 3 8 2 5 15 7 10 14 12 6 9 11
Chromosome 2 3 14 13 2 9 10 5 7 1 15 6 12 8 11 4
Chromosome 3 1 15 3 7 14 11 9 2 13 5 12 4 8 10 6
Chromosome 4 4 12 14 13 5 9 11 8 1 3 10 2 6 7 15
Chromosome 5 11 2 9 5 13 14 3 12 8 1 15 6 4 10 7
Chromosome 6 3 10 7 13 11 2 9 4 15 12 6 5 14 1 8
0, 0-29, 0
-79, 21
-15, 43
-65, -22
-29, 43
-72, 0
-36, 22
-50, -7
-50, 21
0, 29
-65, 36
-21, -7
-57, 43
-43, -14
-30
-20
-10
0
10
20
30
40
50
-90 -80 -70 -60 -50 -40 -30 -20 -10 0
City 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 0 29 82 46 68 52 72 42 51 55 29 74 23 72 46
2 0 55 46 42 43 43 23 23 31 41 51 11 52 21
3 0 68 46 55 23 43 41 29 79 21 64 31 51
4 0 82 15 72 31 62 42 21 51 51 43 64
5 0 74 23 52 21 46 82 58 46 65 23
6 0 61 23 55 31 33 37 51 29 59
7 0 42 23 31 77 37 51 46 33
8 0 33 15 37 33 33 31 37
9 0 29 62 46 29 51 11
10 0 51 21 41 23 37
11 0 65 42 59 61
12 0 61 11 55
13 0 62 23
14 0 59
15 0
Gupta et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(6),
June - 2013, pp. 376-380
© 2013, IJARCSSE All Rights Reserved Page | 379
Chromosome 7 11 5 2 9 15 13 7 8 4 1 3 12 6 10 14
Chromosome 8 3 4 13 14 11 7 10 2 8 15 1 5 9 12 6
Chromosome 9 10 11 7 8 15 1 5 9 12 4 14 6 2 13 3
Chromosome 10 10 11 4 7 12 1 6 3 9 5 15 14 13 8 2
B. Fitness Value
The Purpose of the fitness function is to decide if a chromosome is good then how good it is? In the travelling salesman
problem the criteria for good chromosome is its length. Calculation takes place during the creation of the chromosomes
as given in equation 2. Each chromosome is created and then its fitness function is calculated. The length of the
chromosome is measured in pixels by the scheme of the tour [11].
𝑓𝑖𝑡𝑛𝑒𝑠𝑠𝑐ℎ𝑟𝑜𝑠𝑜𝑚𝑒 = 𝑡𝑖
𝑡𝑜𝑤𝑛𝑐𝑜𝑢𝑛𝑡
𝑖=1
(2)
towncount = total number of cities
ti = distance between two cities.
C. Selection
Selection is used to select the chromosome whose fitness value is small. We have used the tournament selection by using
Sorting method.
D. Crossover
2-point crossover is applied to the pair of chromosomes so that new chromosomes will be generated which might have
better fitness value. In 2-point crossover, randomly two positions in the chromosomes are chosen and then replace the
gene with each other in both chromosomes.
E. Mutation
Mutation is applied to form a new generation. We apply interchange mutation. In interchange mutation, randomly select
two genes from a chromosome and then swap them.
F. Termination and Result
After completing the number of iterations the best tour will be obtained and the process will be terminated. The tour
obtained with minimum distance is 291 as shown in figure 3 for the problem of 15 cities.
Figure 3: Graph Denoting Best Path Obtained for 15 Cities Problem
VI.RESULTS AND ANALYSIS
We have solved a total of 5 problems using the proposed technique. The best and worst results obtained are shown in
table 2. The same table also denotes the best results of the problems present in literature. Looking at the results we can
show that GA is a fast technique to obtain the optimal results
-15, 43
0, 29
0, 0
-21, -7
-29, 0
-36, 22-50, 21
-50, -7
-43, -14
-65, -22
-72, 0
-79, 21
-65, 36
-57, 43 -29, 43 -15, 43
-30
-20
-10
0
10
20
30
40
50
-90 -80 -70 -60 -50 -40 -30 -20 -10 0
Gupta et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(6),
June - 2013, pp. 376-380
© 2013, IJARCSSE All Rights Reserved Page | 380
TABLE III
RESULTS OBTAINED BY PROPOSED TECHNIQUE FOR DIFFERENT PROBLEMS
VII. CONCLUSION AND FUTURE SCOPE
Combining the knowledge from heuristic methods and genetic algorithms is a promising approach for solving the TSP.
Genetic algorithms appear to find good solutions for the travelling salesman problem, however it depends very much on
the way the problem is encoded and which crossover and mutation methods are used. A number of genetic algorithm
techniques have been analysed and surveyed for solving TSP. The research work can be extended for different hybrid
selection, crossover and mutation operators. The proposed approach can be applied for various advanced network models
like logistic network, task scheduling models, vehicle navigation routing models etc. The same approach can also be used
for allocation of frequencies in cells of cellular network.
REFERENCES
[1] ChetanChudasama, S. M. Shah and Mahesh Panchal, “Comparison of Parents Selection Methods of Genetic
Algorithm for TSP”, International Conference on Computer Communication and Networks (CSI- COMNET),
2011.
[2] Dwivedi, TarunaChauhan,SanuSaxena and PrincieAgrawal, “Travelling Salesman Problem using Genetic
Algorithm”, International Journal of Computer Applications(IJCA), 2012, pp. 25-30.
[3] Naveen kumar, Karambir and Rajiv Kumar, “A Genetic Algorithm Approach To Study Travelling Salesman
Problem”, Journal of Global Research in Computer Science, 2012, Vol. 3, No. (3).
[4] Adewole Philip, AkinwaleAdioTaofiki and OtunbanowoKehinde, “A Genetic Algorithm for Solving Travelling
Salesman Problem”, International Journal of Advanced Computer Science and Applications, 2011, Vol. (2), No.
(1).
[5] Ivan Brezina Jr.,ZuzanaCickova, “Solving the Travelling Salesman Problem using the Ant colony Optimization”,
Management Information Systems, 2011, Vol. (6), No. (4).
[6] ButhainahFahran, Al-Dulaimi, and Hamza A. Ali, “Enhanced Traveling Salesman Problem Solving by Genetic
Algorithm Technique (TSPGA)”, World Academy of Science, Engineering and Technology, 2008, Vol. (14).
[7] Rong Yang, “Solving Large Travelling Salesman Problems with Small Populations”. IEEE 1997.
[8] Chiung Moon, Jongsoo Kim, GyunghyunChoi ,YoonhoSeo,” An efficient genetic algorithm for the traveling
salesman problem with precedence constraints”, European Journal of Operational Research 140 (2002) 606–617,
accepted 28 February 2001.
[9] ShubhraSankar Ray, SanghamitraBandyopadhyay and Sankar K. Pal,” New Operators of Genetic Algorithms for
Traveling Salesman Problem”, 2004 IEEE.
[10] Lawrence V. Snyder a,*, Mark S. Daskin ,” A random-key genetic algorithm for the generalized traveling
salesman problem”, European Journal of Operational Research 174 (2006) 38–53, 2005.
[11] Milena Karova,VassilSmarkov,StoyanPenev,” Genetic operators crossover and mutation in solving the TSP
problem”, International Conference on Computer Systems and Technologies - CompSysTech’ 2005.
[12] Plamenka Borovska,” Solving the Travelling Salesman Problem in Parallel by Genetic Algorithm on
Multicomputer Cluster”, International Conference on Computer Systems and Technologies - CompSysTech’06
[13] DING Chao, CHENG Ye , HE Miao,” Two-Level Genetic Algorithm for Clustered Traveling Salesman Problem
with Application in Large-Scale TSPs”, TSINGHUA SCIENCE AND TECHNOLOGY ISSN 1007-0214 15/20
pp459-465 Volume 12, Number 4, August 2007.
[14] X.H. Shi , Y.C. Liang, H.P. Lee, C. Lu, Q.X. Wang,” Particle swarm optimization-based algorithms for TSP and
generalized TSP”, Information Processing Letters 103 (2007) 169–176,2007.
[15] S.N. Sivanandam,S.N.Deepa,”A Comparative Study Using Genetic Algorithm and Particle Swarm Optimization
for Lower Order System Modelling,” International Journal of the Computer, the Internet and Management Vol. 17.
No.3 (September - December, 2009) pp 1 -10.
[16] Huilian FAN,” Discrete Particle Swarm Optimization for TSP based on Neighborhood”, Journal of Computational
Information Systems 6:10 (2010) 3407-3414.
[17] Alka Singh Bhagel and Ritesh Rastogi, “Effective Approaches for Solving Large Travelling Salesman Problems
with Small Populations”, International Journal of Advances in Engineering Research (IJAER), 2011, Vol. (1),
Issue (1).
[18] http://www.theprojectspot.com/#!/tutorial
No. of
Cities
Best
path
Worse
path
Best
known
result
15 291 341 291
17 2085 2219 2085
20 880 991 940
26 937 1141 937
42 792 1250 699

Weitere ähnliche Inhalte

Was ist angesagt?

autonomous-vehicles_final
autonomous-vehicles_finalautonomous-vehicles_final
autonomous-vehicles_final
Nicholas Jones
 

Was ist angesagt? (14)

Minimization of Assignment Problems
Minimization of Assignment ProblemsMinimization of Assignment Problems
Minimization of Assignment Problems
 
The Solution of Maximal Flow Problems Using the Method Of Fuzzy Linear Progra...
The Solution of Maximal Flow Problems Using the Method Of Fuzzy Linear Progra...The Solution of Maximal Flow Problems Using the Method Of Fuzzy Linear Progra...
The Solution of Maximal Flow Problems Using the Method Of Fuzzy Linear Progra...
 
Winner of EY NextWave Data Science Challenge 2019
Winner of EY NextWave Data Science Challenge 2019Winner of EY NextWave Data Science Challenge 2019
Winner of EY NextWave Data Science Challenge 2019
 
NON - EUCLIDEAN METRIC AND PATH PLANNING
NON - EUCLIDEAN METRIC AND PATH PLANNINGNON - EUCLIDEAN METRIC AND PATH PLANNING
NON - EUCLIDEAN METRIC AND PATH PLANNING
 
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
New Method for Finding an Optimal Solution of Generalized Fuzzy Transportatio...
 
710201909
710201909710201909
710201909
 
International Journal of Business and Management Invention (IJBMI)
International Journal of Business and Management Invention (IJBMI)International Journal of Business and Management Invention (IJBMI)
International Journal of Business and Management Invention (IJBMI)
 
autonomous-vehicles_final
autonomous-vehicles_finalautonomous-vehicles_final
autonomous-vehicles_final
 
tAn improved genetic algorithm with a
tAn improved genetic algorithm with atAn improved genetic algorithm with a
tAn improved genetic algorithm with a
 
50120140503015
5012014050301550120140503015
50120140503015
 
A hybrid sine cosine optimization algorithm for solving global optimization p...
A hybrid sine cosine optimization algorithm for solving global optimization p...A hybrid sine cosine optimization algorithm for solving global optimization p...
A hybrid sine cosine optimization algorithm for solving global optimization p...
 
A Probabilistic Hough Transform for Opportunistic Crowd-Sensing of Moving Tra...
A Probabilistic Hough Transform for Opportunistic Crowd-Sensing of Moving Tra...A Probabilistic Hough Transform for Opportunistic Crowd-Sensing of Moving Tra...
A Probabilistic Hough Transform for Opportunistic Crowd-Sensing of Moving Tra...
 
APPLICATION OF FUZZY LOGIC IN TRANSPORT PLANNING
APPLICATION OF FUZZY LOGIC IN TRANSPORT PLANNINGAPPLICATION OF FUZZY LOGIC IN TRANSPORT PLANNING
APPLICATION OF FUZZY LOGIC IN TRANSPORT PLANNING
 
Solving Assembly Line Balancing Problem Using A Hybrid Genetic Algorithm With...
Solving Assembly Line Balancing Problem Using A Hybrid Genetic Algorithm With...Solving Assembly Line Balancing Problem Using A Hybrid Genetic Algorithm With...
Solving Assembly Line Balancing Problem Using A Hybrid Genetic Algorithm With...
 

Andere mochten auch

10 facts about Novedge
10 facts about Novedge10 facts about Novedge
10 facts about Novedge
barbarazelasco
 

Andere mochten auch (15)

Funciones en excel
Funciones en excelFunciones en excel
Funciones en excel
 
Terefic presentation
Terefic presentationTerefic presentation
Terefic presentation
 
10 facts about Novedge
10 facts about Novedge10 facts about Novedge
10 facts about Novedge
 
Precentacion Final t7
Precentacion Final t7Precentacion Final t7
Precentacion Final t7
 
Converción a decimal
Converción a decimalConverción a decimal
Converción a decimal
 
Etiqueta en la red
Etiqueta en la redEtiqueta en la red
Etiqueta en la red
 
Herramientas ofimáticas online
Herramientas ofimáticas onlineHerramientas ofimáticas online
Herramientas ofimáticas online
 
Provisionator 3000
Provisionator 3000Provisionator 3000
Provisionator 3000
 
La web
La webLa web
La web
 
Desarrollo de formatos en excel
Desarrollo de formatos en excelDesarrollo de formatos en excel
Desarrollo de formatos en excel
 
swarmmode-dojo
swarmmode-dojoswarmmode-dojo
swarmmode-dojo
 
Revitalizacion Urbana Coban a.v
Revitalizacion Urbana Coban a.vRevitalizacion Urbana Coban a.v
Revitalizacion Urbana Coban a.v
 
Metabuscadores
MetabuscadoresMetabuscadores
Metabuscadores
 
Converción a decimal
Converción a decimalConverción a decimal
Converción a decimal
 
Vertrauen als Schlüssel zu einer höheren Conversion-Rate
Vertrauen als Schlüssel zu einer höheren Conversion-RateVertrauen als Schlüssel zu einer höheren Conversion-Rate
Vertrauen als Schlüssel zu einer höheren Conversion-Rate
 

Ähnlich wie With saloni in ijarcsse

Ähnlich wie With saloni in ijarcsse (20)

Hybrid iterated local search algorithm for optimization route of airplane tr...
Hybrid iterated local search algorithm for optimization route of  airplane tr...Hybrid iterated local search algorithm for optimization route of  airplane tr...
Hybrid iterated local search algorithm for optimization route of airplane tr...
 
Algorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSPAlgorithms And Optimization Techniques For Solving TSP
Algorithms And Optimization Techniques For Solving TSP
 
The Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
The Optimizing Multiple Travelling Salesman Problem Using Genetic AlgorithmThe Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
The Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
 
A STUDY AND IMPLEMENTATION OF THE TRANSIT ROUTE NETWORK DESIGN PROBLEM FOR A ...
A STUDY AND IMPLEMENTATION OF THE TRANSIT ROUTE NETWORK DESIGN PROBLEM FOR A ...A STUDY AND IMPLEMENTATION OF THE TRANSIT ROUTE NETWORK DESIGN PROBLEM FOR A ...
A STUDY AND IMPLEMENTATION OF THE TRANSIT ROUTE NETWORK DESIGN PROBLEM FOR A ...
 
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
 
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
 
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic Flow
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic FlowUsing Genetic Algorithm for Shortest Path Selection with Real Time Traffic Flow
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic Flow
 
INTEGRATION OF GIS AND OPTIMIZATION ROUTINES FOR THE VEHICLE ROUTING PROBLEM
INTEGRATION OF GIS AND OPTIMIZATION ROUTINES FOR THE VEHICLE ROUTING PROBLEMINTEGRATION OF GIS AND OPTIMIZATION ROUTINES FOR THE VEHICLE ROUTING PROBLEM
INTEGRATION OF GIS AND OPTIMIZATION ROUTINES FOR THE VEHICLE ROUTING PROBLEM
 
Integration Of Gis And Optimization Routines For The Vehicle Routing Problem
Integration Of Gis And Optimization Routines For The Vehicle Routing ProblemIntegration Of Gis And Optimization Routines For The Vehicle Routing Problem
Integration Of Gis And Optimization Routines For The Vehicle Routing Problem
 
2213ijccms02.pdf
2213ijccms02.pdf2213ijccms02.pdf
2213ijccms02.pdf
 
Traveling Eco-Salesman
Traveling Eco-SalesmanTraveling Eco-Salesman
Traveling Eco-Salesman
 
Solving capacity problems as asymmetric
Solving capacity problems as asymmetricSolving capacity problems as asymmetric
Solving capacity problems as asymmetric
 
Operation research model for solving TSP
Operation research model for solving TSPOperation research model for solving TSP
Operation research model for solving TSP
 
FOLLOWING CAR ALGORITHM WITH MULTI AGENT RANDOMIZED SYSTEM
FOLLOWING CAR ALGORITHM WITH MULTI AGENT RANDOMIZED SYSTEMFOLLOWING CAR ALGORITHM WITH MULTI AGENT RANDOMIZED SYSTEM
FOLLOWING CAR ALGORITHM WITH MULTI AGENT RANDOMIZED SYSTEM
 
Solving real world delivery problem using improved max-min ant system with lo...
Solving real world delivery problem using improved max-min ant system with lo...Solving real world delivery problem using improved max-min ant system with lo...
Solving real world delivery problem using improved max-min ant system with lo...
 
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
 
Solving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithmSolving the traveling salesman problem by genetic algorithm
Solving the traveling salesman problem by genetic algorithm
 
A heuristic approach for optimizing travel planning using genetics algorithm
A heuristic approach for optimizing travel planning using genetics algorithmA heuristic approach for optimizing travel planning using genetics algorithm
A heuristic approach for optimizing travel planning using genetics algorithm
 
A heuristic approach for optimizing travel planning using genetics algorithm
A heuristic approach for optimizing travel planning using genetics algorithmA heuristic approach for optimizing travel planning using genetics algorithm
A heuristic approach for optimizing travel planning using genetics algorithm
 
K046036367
K046036367K046036367
K046036367
 

Mehr von satish rana (9)

biomolecule.pptx
biomolecule.pptxbiomolecule.pptx
biomolecule.pptx
 
ECOFRIENDLY CULTIVATION.ppt
ECOFRIENDLY  CULTIVATION.pptECOFRIENDLY  CULTIVATION.ppt
ECOFRIENDLY CULTIVATION.ppt
 
ECOFRIENDLY CULTIVATION.ppt
ECOFRIENDLY  CULTIVATION.pptECOFRIENDLY  CULTIVATION.ppt
ECOFRIENDLY CULTIVATION.ppt
 
KEY TO NATURAL FARMING.ppt
KEY TO NATURAL FARMING.pptKEY TO NATURAL FARMING.ppt
KEY TO NATURAL FARMING.ppt
 
ECOFRIENDLY MANNURE
ECOFRIENDLY MANNUREECOFRIENDLY MANNURE
ECOFRIENDLY MANNURE
 
Earthworm.ppt
Earthworm.pptEarthworm.ppt
Earthworm.ppt
 
vemicompost final rlo.ppt.ppt
vemicompost final rlo.ppt.pptvemicompost final rlo.ppt.ppt
vemicompost final rlo.ppt.ppt
 
CRYOPRESERVATION.pptx
CRYOPRESERVATION.pptxCRYOPRESERVATION.pptx
CRYOPRESERVATION.pptx
 
CRYOPRESERVATION.pptx
CRYOPRESERVATION.pptxCRYOPRESERVATION.pptx
CRYOPRESERVATION.pptx
 

Kürzlich hochgeladen

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Kürzlich hochgeladen (20)

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 

With saloni in ijarcsse

  • 1. © 2013, IJARCSSE All Rights Reserved Page | 376 Volume 3, Issue 6, June 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Solving Travelling Salesman Problem Using Genetic Algorithm Saloni Gupta*, Poonam Panwar Department of Computer Science & Engineering Ambala College of Engineering & Applied Research, Ambala-133101, India Abstract---Travelling salesman problem (TSP) is a combinatorial optimization problem. It is NP hard problem and TSP is the most intensively studied problem in the area of optimization. But with the increase in the number of cities, the complexity of the problem goes on increasing. In this paper, we have solved Travelling Salesman Problem using Genetic algorithm approach. System starts from a matrix of the calculated Euclidean distances between the cities to be visited by the travelling salesman and randomly chosen city order as the initial population. Then new generations are created repeatedly until the proper path is reached upon reaching a stopping criterion. Keywords-TSP, GA, Fitness value, Selection, 2-point Crossover, Interchange Mutation. I. INTRODUCTION The travelling salesman problem (TSP) is the most well-known combinatorial optimization problem. TSP is used to find a routing of a salesman who starts from a home location, visits a prescribed set of cities and returns to the original location in such a way that the total distance travelled is minimized and each city is visited exactly once [1]. This problem is known to be NP-hard, and cannot be solved exactly in polynomial time. Many exact and heuristic algorithms have been developed in the field of operations research (OR) to solve this problem [2]. TSP is solved very easily when there is less number of cities, but as the number of cities increases it is very hard to solve, as large amount of computation time is required. The numbers of fields where TSP can be used very effectively are military and traffic. Another approach is to use genetic algorithm to solve TSP because of its robustness and flexibility [3]. Some typical applications of TSP include vehicle routing, computer wiring, cutting wallpaper and job sequencing. The main application in statistics is combinatorial data analysis, e.g., reordering rows and columns of data matrices or identifying clusters [4]. II. TRAVELLING SALESMAN PROBLEM The Travelling Salesman Problem is one of the best known NP-hard problems, which means that there is no exact algorithm to solve it in polynomial time. The minimal expected time to obtain optimal solution is exponential [5].TSP is defined as a permutation problem with the objective of finding the path of the shortest length (or the minimum cost). TSP can be modelled as an undirected weighted graph, such that cities are the graph’s vertices, paths are the graph’s edges, and a path’s distance is the edge’s length. It is a minimization problem starting and finishing at a specified vertex after having visited each other vertex only once. Often, the model is a complete graph. If no path exists between two cities, adding an arbitrarily long edge will complete the graph without affecting the optimal tour. Mathematically, it can be defined as given a set of n cities, named {c1, c2,…cn}, and permutations, σ1, ..., σn!, the objective is to choose σi such that the sum of all Euclidean distances between each node and its successor is minimized. The successor of the last node in the permutation is the first one. The Euclidean distance d, between any two cities with coordinate (x1, y1) and (x2, y2) is calculated by equation 1 [6]. d=√(│X1-X2│)²+(│Y1-Y2│﴿² (1) The most popular practical application of TSP are regular distribution of goods or resources, finding of the shortest of costumer servicing route, planning bus lines etc., but also in the areas that have nothing to do with travel routes[5]. III. Various Approaches Used FOR SOLVING TSP In 1997, Rong Yangintroduce several knowledge-augmented genetic operators which guide the genetic algorithm more directly towards better quality of the population but are not trapped in local optima prematurely. The algorithm applies a greedy crossover and two advanced mutation operations based on the 2-opt and 3-opt heuristics [7].In 2001, Chiung Moon introduces the concept of topological sort (TS), which is defined as an ordering of vertices in a directed graph.Also, a new crossover operation is developed for the proposed GA [8].In 2004, new knowledge based multiple inversion operators and a neighbourhood swapping operator is proposed by ShubhraSankar Ray [9].In 2005, Lawrence V. Snyder presents a heuristic to solve the generalized traveling salesman problem. The procedure incorporates a local tour improvement heuristic into a random-key genetic algorithm. The algorithm performed quite well when tested on a set of 41 standard problems with known optimal objective values [10]. In 2005, Milena Karova introduces the solution, which includes a genetic algorithm implementation in order to give a maximal approximation of the problem, modifying
  • 2. Gupta et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(6), June - 2013, pp. 376-380 © 2013, IJARCSSE All Rights Reserved Page | 377 a generated solution with genetic operators [11].In 2006, PlamenkaBorovska investigates the efficiency of the parallel computation of the travelling salesman problem using the genetic approach on a slack multicomputer cluster [12].In 2007, A two-level genetic algorithm (TLGA) was developed for the problem, which favours neither intra-cluster paths nor inter-cluster paths, thus realized integrated evolutionary optimization for both levels of the CTSP [13].In 2007, A novel particle swarm optimization (PSO)-based algorithm for the travelling salesman problem (TSP) is presented, and is compared with the existing algorithms for solving TSP using swarm intelligence [14].In 2008, A software system is proposed to determine the optimum route for a Travelling Salesman Problem using Genetic Algorithm technique [6].In 2009, S.N. Sivanandampresents two approaches i.e Genetic Algorithms and Particleswarm optimisation tofind solution to a given objective function employing different procedures and computational techniques; as a result their performance can be evaluated and compared [15]. In 2010, a novel hybrid discrete PSO algorithm has been presented by add heuristic factor, crossover operator and adaptive disturbance factor into the approach. Numerical results show that the proposed algorithms are effective [16].In 2011, Ivan Brezina Jr.discusses the Ant Colony Optimization (ACO), which belongs to the group of evolutionary techniques and presents the approach used in the application of ACO to the TSP [5].In 2011, a comparative performance of roulette wheel, Elitism and tournament selection method is presented to solve the Travelling Salesman problem [18].In 2012, different authors present a critical survey to solve TSP problem using genetic algorithm methods[17]. IV.PROPOSED GENETIC ALGORITHM John Holland proposed Genetic Algorithm in 1975. In the field of artificial intelligence genetic algorithm is a search heuristic that mimics the process of natural evolution. Genetic Algorithm belongs to class of evolutionary algorithm.GA begin with various problem solution which are encoded into population, a fitness function is applied for evaluating the fitness of each individual, after that a new generation is created through the process of selection, crossover and mutation. After the termination of genetic algorithm, an optimal solution is obtained. If the termination condition is not satisfied then algorithm continues with new population [3]. The flowchart for proposed GA is described in Fig 1. Yes No Figure 1: Flowchart of the proposed technique V. IMPLEMENTATION OF PROPOSED ALGORITHM The algorithm is applied to a set of total five problems taken from the literature. We have explained the working of the algorithm on a problem of 15 cities in the following section. The coordinates of 15 cities is shown in fig.2 Generate a population of chromosomes. Apply Tournament Selection to the population. Apply two point crossover to the best selected parents Apply interchange mutation to the genes of selected chromosome. No. of iterations <=n Display Result
  • 3. Gupta et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(6), June - 2013, pp. 376-380 © 2013, IJARCSSE All Rights Reserved Page | 378 Figure 2: Coordinates of 15 cities The distance matrix of the problem is given in table 1. We have assumed the distance-matrix to be symmetric; therefore, the part above the main diagonal contains all necessary information. The distance between the cities is considered to be symmetric i.e. if the salesman moves from city 1 to city 5 than the distance is same if he moves from city 5 to city 1. Due to this half of the matrix is empty. The information above the diagonal is enough to find the distance between different cities. The first row and column denotes the city. TABLE I DISTANCE MATRIX OF 15 CITIES PROBLEM [18] A. Initial Population Initial population of chromosomes is created randomly by using unique random number generator function in Matlab. The initial population created is shown in following section. The population consist of ten chromosomes, where each chromosome denotes the sequence in which cities have to be traversed and each gene represent the number assigned to a city. Section A to E describes the various genetic operators applied to the initial population to obtain the optimal results. Chromosome1 1 4 13 3 8 2 5 15 7 10 14 12 6 9 11 Chromosome 2 3 14 13 2 9 10 5 7 1 15 6 12 8 11 4 Chromosome 3 1 15 3 7 14 11 9 2 13 5 12 4 8 10 6 Chromosome 4 4 12 14 13 5 9 11 8 1 3 10 2 6 7 15 Chromosome 5 11 2 9 5 13 14 3 12 8 1 15 6 4 10 7 Chromosome 6 3 10 7 13 11 2 9 4 15 12 6 5 14 1 8 0, 0-29, 0 -79, 21 -15, 43 -65, -22 -29, 43 -72, 0 -36, 22 -50, -7 -50, 21 0, 29 -65, 36 -21, -7 -57, 43 -43, -14 -30 -20 -10 0 10 20 30 40 50 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 City 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 0 29 82 46 68 52 72 42 51 55 29 74 23 72 46 2 0 55 46 42 43 43 23 23 31 41 51 11 52 21 3 0 68 46 55 23 43 41 29 79 21 64 31 51 4 0 82 15 72 31 62 42 21 51 51 43 64 5 0 74 23 52 21 46 82 58 46 65 23 6 0 61 23 55 31 33 37 51 29 59 7 0 42 23 31 77 37 51 46 33 8 0 33 15 37 33 33 31 37 9 0 29 62 46 29 51 11 10 0 51 21 41 23 37 11 0 65 42 59 61 12 0 61 11 55 13 0 62 23 14 0 59 15 0
  • 4. Gupta et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(6), June - 2013, pp. 376-380 © 2013, IJARCSSE All Rights Reserved Page | 379 Chromosome 7 11 5 2 9 15 13 7 8 4 1 3 12 6 10 14 Chromosome 8 3 4 13 14 11 7 10 2 8 15 1 5 9 12 6 Chromosome 9 10 11 7 8 15 1 5 9 12 4 14 6 2 13 3 Chromosome 10 10 11 4 7 12 1 6 3 9 5 15 14 13 8 2 B. Fitness Value The Purpose of the fitness function is to decide if a chromosome is good then how good it is? In the travelling salesman problem the criteria for good chromosome is its length. Calculation takes place during the creation of the chromosomes as given in equation 2. Each chromosome is created and then its fitness function is calculated. The length of the chromosome is measured in pixels by the scheme of the tour [11]. 𝑓𝑖𝑡𝑛𝑒𝑠𝑠𝑐ℎ𝑟𝑜𝑠𝑜𝑚𝑒 = 𝑡𝑖 𝑡𝑜𝑤𝑛𝑐𝑜𝑢𝑛𝑡 𝑖=1 (2) towncount = total number of cities ti = distance between two cities. C. Selection Selection is used to select the chromosome whose fitness value is small. We have used the tournament selection by using Sorting method. D. Crossover 2-point crossover is applied to the pair of chromosomes so that new chromosomes will be generated which might have better fitness value. In 2-point crossover, randomly two positions in the chromosomes are chosen and then replace the gene with each other in both chromosomes. E. Mutation Mutation is applied to form a new generation. We apply interchange mutation. In interchange mutation, randomly select two genes from a chromosome and then swap them. F. Termination and Result After completing the number of iterations the best tour will be obtained and the process will be terminated. The tour obtained with minimum distance is 291 as shown in figure 3 for the problem of 15 cities. Figure 3: Graph Denoting Best Path Obtained for 15 Cities Problem VI.RESULTS AND ANALYSIS We have solved a total of 5 problems using the proposed technique. The best and worst results obtained are shown in table 2. The same table also denotes the best results of the problems present in literature. Looking at the results we can show that GA is a fast technique to obtain the optimal results -15, 43 0, 29 0, 0 -21, -7 -29, 0 -36, 22-50, 21 -50, -7 -43, -14 -65, -22 -72, 0 -79, 21 -65, 36 -57, 43 -29, 43 -15, 43 -30 -20 -10 0 10 20 30 40 50 -90 -80 -70 -60 -50 -40 -30 -20 -10 0
  • 5. Gupta et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(6), June - 2013, pp. 376-380 © 2013, IJARCSSE All Rights Reserved Page | 380 TABLE III RESULTS OBTAINED BY PROPOSED TECHNIQUE FOR DIFFERENT PROBLEMS VII. CONCLUSION AND FUTURE SCOPE Combining the knowledge from heuristic methods and genetic algorithms is a promising approach for solving the TSP. Genetic algorithms appear to find good solutions for the travelling salesman problem, however it depends very much on the way the problem is encoded and which crossover and mutation methods are used. A number of genetic algorithm techniques have been analysed and surveyed for solving TSP. The research work can be extended for different hybrid selection, crossover and mutation operators. The proposed approach can be applied for various advanced network models like logistic network, task scheduling models, vehicle navigation routing models etc. The same approach can also be used for allocation of frequencies in cells of cellular network. REFERENCES [1] ChetanChudasama, S. M. Shah and Mahesh Panchal, “Comparison of Parents Selection Methods of Genetic Algorithm for TSP”, International Conference on Computer Communication and Networks (CSI- COMNET), 2011. [2] Dwivedi, TarunaChauhan,SanuSaxena and PrincieAgrawal, “Travelling Salesman Problem using Genetic Algorithm”, International Journal of Computer Applications(IJCA), 2012, pp. 25-30. [3] Naveen kumar, Karambir and Rajiv Kumar, “A Genetic Algorithm Approach To Study Travelling Salesman Problem”, Journal of Global Research in Computer Science, 2012, Vol. 3, No. (3). [4] Adewole Philip, AkinwaleAdioTaofiki and OtunbanowoKehinde, “A Genetic Algorithm for Solving Travelling Salesman Problem”, International Journal of Advanced Computer Science and Applications, 2011, Vol. (2), No. (1). [5] Ivan Brezina Jr.,ZuzanaCickova, “Solving the Travelling Salesman Problem using the Ant colony Optimization”, Management Information Systems, 2011, Vol. (6), No. (4). [6] ButhainahFahran, Al-Dulaimi, and Hamza A. Ali, “Enhanced Traveling Salesman Problem Solving by Genetic Algorithm Technique (TSPGA)”, World Academy of Science, Engineering and Technology, 2008, Vol. (14). [7] Rong Yang, “Solving Large Travelling Salesman Problems with Small Populations”. IEEE 1997. [8] Chiung Moon, Jongsoo Kim, GyunghyunChoi ,YoonhoSeo,” An efficient genetic algorithm for the traveling salesman problem with precedence constraints”, European Journal of Operational Research 140 (2002) 606–617, accepted 28 February 2001. [9] ShubhraSankar Ray, SanghamitraBandyopadhyay and Sankar K. Pal,” New Operators of Genetic Algorithms for Traveling Salesman Problem”, 2004 IEEE. [10] Lawrence V. Snyder a,*, Mark S. Daskin ,” A random-key genetic algorithm for the generalized traveling salesman problem”, European Journal of Operational Research 174 (2006) 38–53, 2005. [11] Milena Karova,VassilSmarkov,StoyanPenev,” Genetic operators crossover and mutation in solving the TSP problem”, International Conference on Computer Systems and Technologies - CompSysTech’ 2005. [12] Plamenka Borovska,” Solving the Travelling Salesman Problem in Parallel by Genetic Algorithm on Multicomputer Cluster”, International Conference on Computer Systems and Technologies - CompSysTech’06 [13] DING Chao, CHENG Ye , HE Miao,” Two-Level Genetic Algorithm for Clustered Traveling Salesman Problem with Application in Large-Scale TSPs”, TSINGHUA SCIENCE AND TECHNOLOGY ISSN 1007-0214 15/20 pp459-465 Volume 12, Number 4, August 2007. [14] X.H. Shi , Y.C. Liang, H.P. Lee, C. Lu, Q.X. Wang,” Particle swarm optimization-based algorithms for TSP and generalized TSP”, Information Processing Letters 103 (2007) 169–176,2007. [15] S.N. Sivanandam,S.N.Deepa,”A Comparative Study Using Genetic Algorithm and Particle Swarm Optimization for Lower Order System Modelling,” International Journal of the Computer, the Internet and Management Vol. 17. No.3 (September - December, 2009) pp 1 -10. [16] Huilian FAN,” Discrete Particle Swarm Optimization for TSP based on Neighborhood”, Journal of Computational Information Systems 6:10 (2010) 3407-3414. [17] Alka Singh Bhagel and Ritesh Rastogi, “Effective Approaches for Solving Large Travelling Salesman Problems with Small Populations”, International Journal of Advances in Engineering Research (IJAER), 2011, Vol. (1), Issue (1). [18] http://www.theprojectspot.com/#!/tutorial No. of Cities Best path Worse path Best known result 15 291 341 291 17 2085 2219 2085 20 880 991 940 26 937 1141 937 42 792 1250 699