SlideShare a Scribd company logo
1 of 22
Shruti Gandhi
(06913502809)
Sonal Doomra
(06513502809)
Indira Gandhi Institute of Technology
Department of Electronics and
Communication Engineering
Definition:
Given a set of cities and the
distance between each possible
pair, the Travelling Salesman
Problem is to find the best
possible way of ‘visiting all the
cities exactly once and returning
to the starting point’
TRAVELLING SALESMAN
PROBLEM
An Introduction
•.
TSP: An NP Hard
Problem
TSP is an NP-
hard problem
in
combinatorial
optimization
studied in
theoretical
computer
science.
In many
applications,
additional
constraints
such as limited
resources or
time windows
make the
problem
considerably
harder.
Removing
the
constraint of
visiting each
city exactly
one time
also doesn't
reduce
complexity
of the
problem
In spite of the
computational
difficulty of the
problem, a
large number of
heuristics and
exact methods
are known,
which can
solve
instances with
• In these applications, the concept city represents, for
example, customers, soldering
In these applications, the concept city represents, for
example, customers, soldering points, or DNA
fragments
• The concept distance represents travelling times or
cost, or a similarity measure between DNA fragments.
Even in its purest form
the TSP, has several
applications such as
planning, logistics,
DNA sequencing
and the
manufacture of
microchips.
Applications of TSP
• When a mechanical arm is used to fasten the nuts for
assembling parts, it moves through each nut in proper
order and returns to the initial position.
• The most economical travelling route will enable the
mechanical arm to finish its work within the shortest
time.
Mechanical
arm
• Inserting electrical elements in the manufacturing of
integrated circuits consumes certain energy when
moving from one electrical element to the other
during manufacturing.
• We need to arrange the manufacturing order to
minimize the energy consumption.
Integrated
circuit
Brief Summary of the
Project
Solving the TSP was an interesting problem during recent decades.
Almost every new approach for solving engineering and optimization
problems has been tested on the TSP as a general test bench. First
steps in solving the TSP were classical methods. These methods
consist of heuristic and exact methods. These classical methods for
solving the TSP usually result in exponential computational
complexities. Hence, new methods are required to overcome this
shortcoming. These methods include different kinds of optimization
techniques, nature based optimization algorithms i.e. Genetic
Algorithm, Ant Colony Optimization ,etc.
Metaheuristics , which represent a family of approximate optimization
techniques that have gained a lot of popularity in the past two decades,
are the tools we have used for solving TSP. They provide “acceptable”
solutions in a reasonable time for solving hard and complex problems
in science and engineering. In this project, the population based
metaheuristics i.e Genetic Algorithm and Ant Colony Optimization are
explained and then modified to solve TSP. The results are then
compared with the classical techniques of Nearest Neighbour, Tabu
Search and Simulated Annealing to find out the most optimum solution.
The highlighting feature of our work is the development of a new hybrid
algorithm GACO , that merges two most popular Evolutionary
Algorithms , Ant Colony Optimization and Genetic Algorithm, to solve
the most complex combinatorial optimization problem, the TSP.
olving the Problem
Here we propose a hybrid metaheuristic (GACO), a hybrid of
genetic algorithm and ant colony optimization to solve the
generalized TSP, and the result obtained is compared with
the stand alone heuristics, to prove the efficiency of our
algorithm. All the codes were written and implemented in
MATLAB 8.
The proposed GACO algorithm is to enhance the
performance of genetic algorithm (GA) by
incorporating local search, ant colony optimization
(ACO), for TRAVELLING SALESMAN PROBLEM. In the
proposed GACO algorithm, genetic algorithm is
conducted to provide the DIVERSITY OF
ALIGNMENTs. Thereafter, ant colony optimization is
performed to MOVE OUT OF LOCAL OPTIMA.
From simulation results, it is shown that the proposed
GA-ACO algorithm has superior performance when
compared to other existing algorithms.
TSP using GACO
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Other heuristics used for TSP
Nearest Neighbor Algorithm For TSP
The NN method compares the distribution
of distances that occur from a data point to
its nearest neighbour in a given data set
with a randomly distributed data set
Best tour =
19 1 26 14 31 38 36 22 30 5 4 2 15 21 27
24 18 16 3 9 34 13 10 29 12 23 7 40 32 37
6 39 25 28 11 8 33 20 35 17
Minimum Distance =
5.1689
Time taken = 280.388999
TSP using GACO
9
SIMULATED ANNEALING
Simulated annealing is a single solution based
metaheuristic. The SA algorithm simulates the energy
changes in a system subjected to a cooling process until it
converges to an equilibrium state.
The graph for simulated annealing escaping from local minima. The higher the
temperature, the more significant the probability of accepting a worst move. At a
given temperature, the lower the increase of the objective function, the more
significant the probability of accepting the move. A better move is always
accepted.
The basic principle of tabu search is to pursue local search
whenever it encounters a local optimum by allowing non-
improving moves, cycling back to previously visited
solutions is prevented by the use of memories, called tabu
lists (short-term memory), that record the recent history of
the search.
TABU SEARCH
GENETIC ALGORITHMS
Population
size
Number of
generation
s
Crossover
rate
Mutation
rate
Factors affecting GA perform
ACO was developed by Dorigo , based on the fact that ants are
able to find the shortest route between their nest and a source of
food.This is done using pheromone trails, which ants deposit
whenever they travel, as a form of indirect communication.
ANT COLONY
OPTIMIZATION
Algorithm: ACO For TSP
Set parameters, initialize pheromone
trails
While (termination condition not
met) do
{ ConstructSolutions
UpdateTrails }
Simulation
Results•Using Nearest Neighbour
•Using Tabu Search
•Using Simulated Annealing
•Using Genetic Algorithm
•Using Ant Colony Optimization
•Using Hybrid GA and ACO ( GACO)
TSP using Nearest Neighbour
Best tour =
30 26 19 38 9 37 1 28 32 40 12 10 34
17 5 25 16 22 27 3
23 18 4 6 24 8 2 35 31 15 7 20 11
21 14 39 13 33 36 29
Minimum distance = 59.3578
Time taken =0.082592
-4 -2 0 2 4 6 8 10 12 14
-2
0
2
4
6
8
10
12
Path length = 59.3578
TSP using Tabu Search
Best tour =
20 40 13 26 28 29 30 14 8 36 22 5 38
34 2 17 10 4 18 24 31 37 9 23 27 16
32 39 11 25 35 19 12 21 33 6 15 7 3 1
Minimum distance =
6.1218
Time taken = 1.528810 seconds
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
TSP using Simulated Annealing
Best tour =
22 36 40 38 16 2 9 21 39 8 10 17 15 14 12
11 30
19 33 26 28 29 4 25 24 20 13 32 7 34 27 6
37 3 18 5 35 23 31 1
Minimum distance= 5.8825
Time taken = 49.951520
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
TSP using Genetic
Algorithm
Best tour =
38 20 39 34 29 9 12 4 3 22 8 5 31 11 28 15 35
30 7 32 33 23 18 14 6 26 13 16 24 19 2 25 10
21
17 37 40 27 1 36
Minimum distance =
5.3990
Time taken = 5.406894
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Total Distance = 5.3990, Iteration = 479
TSP using ACO
Best tour =
36 19 25 15 16 27 32 22 39 29 21 37 7
28 4 23 17 30 3 34 38 2 10 13 1 14 35
5 33 9 8 20 12 40 26 31 6 18 11 24 36
Minimum distance= 16.6220 Time taken =777.869303
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Algorithm
used
Min
Distance
Time taken
(sec)
Nearest
neighbour
245.9496 0.067407
Tabu Search 80.7395 20.623332
Simulated
Annealing
76.7459 60.715589
Genetic
Algorithm
55.4096 13.039126
ACO 21.2349 25.050779
GACO 20.6386 10.746399
Result
Comparison
Conclusion
In this project, the travelling salesman problem, its
complexity, variations and its applications in various
domains was studied. Here, we proposed GACO to solve
the complex problem and compare the result with the
nearest Neighbour method, metaheuristics such as
Simulated Annealing, Tabu Search and Evolutionary
Algorithms like Genetic Algorithm and Ant Colony
Optimization. The experimental results demonstrated that
the HYBRID GACO approach of finding the solution gives
the best result in terms of the optimal route travelled by the
salesman as compared to other heuristics used in this
project. The minimum distance travelled by the salesman is
the least for GACO.
Future ScopeThe work can be further extended to solve the travelling
salesman problem using the other hybrid metaheuristics
such as Genetic Algorithm with Particle Swarm
Optimization, or Simulated Annealing. Presently we are
working on hybridizing three metaheuristics (GA-ACO-SA)
to obtain a more optimal tour for the travelling salesman
and to improve the convergence behavior.

More Related Content

What's hot

Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemSolving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemAjay Bidyarthy
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationUnnitaDas
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)gidla vinay
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony OptimizationOmid Edriss
 
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 algorithmAlex Bidanets
 
Swarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationSwarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationIJMER
 
Travelling salesman problem using genetic algorithms
Travelling salesman problem using genetic algorithms Travelling salesman problem using genetic algorithms
Travelling salesman problem using genetic algorithms Shivank Shah
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman ProblemDaniel Raditya
 
Optimization Shuffled Frog Leaping Algorithm
Optimization Shuffled Frog Leaping AlgorithmOptimization Shuffled Frog Leaping Algorithm
Optimization Shuffled Frog Leaping AlgorithmUday Wankar
 
Solving travelling salesman problem using firefly algorithm
Solving travelling salesman problem using firefly algorithmSolving travelling salesman problem using firefly algorithm
Solving travelling salesman problem using firefly algorithmishmecse13
 
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSA COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSecij
 
Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACOMohamed Talaat
 
Travelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm OptimizationTravelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm OptimizationIlgın Kavaklıoğulları
 
Helgaun's algorithm for the TSP
Helgaun's algorithm for the TSPHelgaun's algorithm for the TSP
Helgaun's algorithm for the TSPKaal Nath
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithmAhmed Fouad Ali
 

What's hot (20)

Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony SystemSolving Quadratic Assignment Problems (QAP) using Ant Colony System
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
 
ant colony optimization
ant colony optimizationant colony optimization
ant colony optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant colony optimization (aco)
Ant colony optimization (aco)Ant colony optimization (aco)
Ant colony optimization (aco)
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
acoa
acoaacoa
acoa
 
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
 
Swarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony OptimizationSwarm Intelligence: An Application of Ant Colony Optimization
Swarm Intelligence: An Application of Ant Colony Optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Travelling salesman problem using genetic algorithms
Travelling salesman problem using genetic algorithms Travelling salesman problem using genetic algorithms
Travelling salesman problem using genetic algorithms
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman Problem
 
Optimization Shuffled Frog Leaping Algorithm
Optimization Shuffled Frog Leaping AlgorithmOptimization Shuffled Frog Leaping Algorithm
Optimization Shuffled Frog Leaping Algorithm
 
Solving travelling salesman problem using firefly algorithm
Solving travelling salesman problem using firefly algorithmSolving travelling salesman problem using firefly algorithm
Solving travelling salesman problem using firefly algorithm
 
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSA COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
 
Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACO
 
Travelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm OptimizationTravelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm Optimization
 
ant colony algorithm
ant colony algorithmant colony algorithm
ant colony algorithm
 
Helgaun's algorithm for the TSP
Helgaun's algorithm for the TSPHelgaun's algorithm for the TSP
Helgaun's algorithm for the TSP
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithm
 
September 11, Deliberative Algorithms II
September 11, Deliberative Algorithms IISeptember 11, Deliberative Algorithms II
September 11, Deliberative Algorithms II
 

Viewers also liked

Breaking the Glass Ceiling
Breaking the Glass CeilingBreaking the Glass Ceiling
Breaking the Glass CeilingShruti Gandhi
 
Traveling salesman problem(tsp)
Traveling salesman problem(tsp)Traveling salesman problem(tsp)
Traveling salesman problem(tsp)Viraj Patil
 
סקירת ערים ברשת החברתית- כנס דוברי רשויות
סקירת ערים ברשת החברתית- כנס דוברי רשויותסקירת ערים ברשת החברתית- כנס דוברי רשויות
סקירת ערים ברשת החברתית- כנס דוברי רשויותIFAT GROUP
 
Rumba dance lesson el paso tx
Rumba dance lesson el paso txRumba dance lesson el paso tx
Rumba dance lesson el paso txshundoballroom123
 
ניטור ומחקר וידיאו באינטרנט
ניטור ומחקר וידיאו באינטרנטניטור ומחקר וידיאו באינטרנט
ניטור ומחקר וידיאו באינטרנטIFAT GROUP
 
до виховного заходу шляхами віків
до виховного заходу шляхами віківдо виховного заходу шляхами віків
до виховного заходу шляхами віківmiliutenkolena2015
 
Market research presentation
Market research presentationMarket research presentation
Market research presentationsedanur1234
 
Read words – forvo api
Read words – forvo apiRead words – forvo api
Read words – forvo apiemanuelll92
 
Bagian depan
Bagian depanBagian depan
Bagian depanvilut nur
 
מאבקי התקשורת והאמון הציבורי
מאבקי התקשורת והאמון הציבורימאבקי התקשורת והאמון הציבורי
מאבקי התקשורת והאמון הציבוריIFAT GROUP
 
Jocelyn Russo Final -Culture Club Presentation
Jocelyn Russo Final -Culture Club PresentationJocelyn Russo Final -Culture Club Presentation
Jocelyn Russo Final -Culture Club PresentationJocelyn Russo
 

Viewers also liked (17)

Breaking the Glass Ceiling
Breaking the Glass CeilingBreaking the Glass Ceiling
Breaking the Glass Ceiling
 
Traveling salesman problem(tsp)
Traveling salesman problem(tsp)Traveling salesman problem(tsp)
Traveling salesman problem(tsp)
 
סקירת ערים ברשת החברתית- כנס דוברי רשויות
סקירת ערים ברשת החברתית- כנס דוברי רשויותסקירת ערים ברשת החברתית- כנס דוברי רשויות
סקירת ערים ברשת החברתית- כנס דוברי רשויות
 
Rumba dance lesson el paso tx
Rumba dance lesson el paso txRumba dance lesson el paso tx
Rumba dance lesson el paso tx
 
S CUBE IN CEO MAGAZINE -2016
S CUBE IN CEO MAGAZINE -2016S CUBE IN CEO MAGAZINE -2016
S CUBE IN CEO MAGAZINE -2016
 
Content-tastic Calender 2015
Content-tastic Calender 2015Content-tastic Calender 2015
Content-tastic Calender 2015
 
The Leaky Pipeline
The Leaky PipelineThe Leaky Pipeline
The Leaky Pipeline
 
Our environment
Our environmentOur environment
Our environment
 
ניטור ומחקר וידיאו באינטרנט
ניטור ומחקר וידיאו באינטרנטניטור ומחקר וידיאו באינטרנט
ניטור ומחקר וידיאו באינטרנט
 
до виховного заходу шляхами віків
до виховного заходу шляхами віківдо виховного заходу шляхами віків
до виховного заходу шляхами віків
 
Market research presentation
Market research presentationMarket research presentation
Market research presentation
 
Read words – forvo api
Read words – forvo apiRead words – forvo api
Read words – forvo api
 
The Consultants - Corporate Profile
The Consultants - Corporate ProfileThe Consultants - Corporate Profile
The Consultants - Corporate Profile
 
Hollow Pipes (8)
Hollow Pipes (8)Hollow Pipes (8)
Hollow Pipes (8)
 
Bagian depan
Bagian depanBagian depan
Bagian depan
 
מאבקי התקשורת והאמון הציבורי
מאבקי התקשורת והאמון הציבורימאבקי התקשורת והאמון הציבורי
מאבקי התקשורת והאמון הציבורי
 
Jocelyn Russo Final -Culture Club Presentation
Jocelyn Russo Final -Culture Club PresentationJocelyn Russo Final -Culture Club Presentation
Jocelyn Russo Final -Culture Club Presentation
 

Similar to Solving TSP using Hybrid GACO

An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based onIJCI JOURNAL
 
fuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationfuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationNourhan Selem Salm
 
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 ProblemIRJET Journal
 
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 TSPCarrie Romero
 
Comparison of signal smoothing techniques for use in embedded system for moni...
Comparison of signal smoothing techniques for use in embedded system for moni...Comparison of signal smoothing techniques for use in embedded system for moni...
Comparison of signal smoothing techniques for use in embedded system for moni...Dalton Valadares
 
Feature Selection Method Based on Chaotic Maps and Butterfly Optimization Alg...
Feature Selection Method Based on Chaotic Maps and Butterfly Optimization Alg...Feature Selection Method Based on Chaotic Maps and Butterfly Optimization Alg...
Feature Selection Method Based on Chaotic Maps and Butterfly Optimization Alg...Tarek Gaber
 
A beamforming comparative study of least mean square, genetic algorithm and g...
A beamforming comparative study of least mean square, genetic algorithm and g...A beamforming comparative study of least mean square, genetic algorithm and g...
A beamforming comparative study of least mean square, genetic algorithm and g...TELKOMNIKA JOURNAL
 
A Study on Image Reconfiguration Algorithm of Compressed Sensing
A Study on Image Reconfiguration Algorithm of Compressed SensingA Study on Image Reconfiguration Algorithm of Compressed Sensing
A Study on Image Reconfiguration Algorithm of Compressed SensingTELKOMNIKA JOURNAL
 
The behaviour of ACS-TSP algorithm when adapting both pheromone parameters us...
The behaviour of ACS-TSP algorithm when adapting both pheromone parameters us...The behaviour of ACS-TSP algorithm when adapting both pheromone parameters us...
The behaviour of ACS-TSP algorithm when adapting both pheromone parameters us...IJECEIAES
 
Chaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile RobotsChaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile Robotscseij
 
grey relational analysis of Multi objective problem
grey relational analysis of Multi objective problemgrey relational analysis of Multi objective problem
grey relational analysis of Multi objective problemjsanthakumar1987
 
Training on Multi-Criteria Decision-Making methods.pptx
Training on Multi-Criteria Decision-Making methods.pptxTraining on Multi-Criteria Decision-Making methods.pptx
Training on Multi-Criteria Decision-Making methods.pptxLanndon Ocampo
 
EFFİCİENT PAPR REDUCTİON APPROACH FOR SELECTİVE MAPPİNG İN A STBC MIMO-OFDM S...
EFFİCİENT PAPR REDUCTİON APPROACH FOR SELECTİVE MAPPİNG İN A STBC MIMO-OFDM S...EFFİCİENT PAPR REDUCTİON APPROACH FOR SELECTİVE MAPPİNG İN A STBC MIMO-OFDM S...
EFFİCİENT PAPR REDUCTİON APPROACH FOR SELECTİVE MAPPİNG İN A STBC MIMO-OFDM S...IJCNCJournal
 
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...ijmpict
 
A Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
A Survey of Solving Travelling Salesman Problem using Ant Colony OptimizationA Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
A Survey of Solving Travelling Salesman Problem using Ant Colony OptimizationIRJET Journal
 

Similar to Solving TSP using Hybrid GACO (20)

An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based on
 
fuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzificationfuzzy fuzzification and defuzzification
fuzzy fuzzification and defuzzification
 
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
 
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
 
Comparison of signal smoothing techniques for use in embedded system for moni...
Comparison of signal smoothing techniques for use in embedded system for moni...Comparison of signal smoothing techniques for use in embedded system for moni...
Comparison of signal smoothing techniques for use in embedded system for moni...
 
paper
paperpaper
paper
 
Feature Selection Method Based on Chaotic Maps and Butterfly Optimization Alg...
Feature Selection Method Based on Chaotic Maps and Butterfly Optimization Alg...Feature Selection Method Based on Chaotic Maps and Butterfly Optimization Alg...
Feature Selection Method Based on Chaotic Maps and Butterfly Optimization Alg...
 
A beamforming comparative study of least mean square, genetic algorithm and g...
A beamforming comparative study of least mean square, genetic algorithm and g...A beamforming comparative study of least mean square, genetic algorithm and g...
A beamforming comparative study of least mean square, genetic algorithm and g...
 
A Study on Image Reconfiguration Algorithm of Compressed Sensing
A Study on Image Reconfiguration Algorithm of Compressed SensingA Study on Image Reconfiguration Algorithm of Compressed Sensing
A Study on Image Reconfiguration Algorithm of Compressed Sensing
 
Particle filter
Particle filterParticle filter
Particle filter
 
The behaviour of ACS-TSP algorithm when adapting both pheromone parameters us...
The behaviour of ACS-TSP algorithm when adapting both pheromone parameters us...The behaviour of ACS-TSP algorithm when adapting both pheromone parameters us...
The behaviour of ACS-TSP algorithm when adapting both pheromone parameters us...
 
Chaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile RobotsChaotic ANT System Optimization for Path Planning of the Mobile Robots
Chaotic ANT System Optimization for Path Planning of the Mobile Robots
 
grey relational analysis of Multi objective problem
grey relational analysis of Multi objective problemgrey relational analysis of Multi objective problem
grey relational analysis of Multi objective problem
 
Training on Multi-Criteria Decision-Making methods.pptx
Training on Multi-Criteria Decision-Making methods.pptxTraining on Multi-Criteria Decision-Making methods.pptx
Training on Multi-Criteria Decision-Making methods.pptx
 
EFFİCİENT PAPR REDUCTİON APPROACH FOR SELECTİVE MAPPİNG İN A STBC MIMO-OFDM S...
EFFİCİENT PAPR REDUCTİON APPROACH FOR SELECTİVE MAPPİNG İN A STBC MIMO-OFDM S...EFFİCİENT PAPR REDUCTİON APPROACH FOR SELECTİVE MAPPİNG İN A STBC MIMO-OFDM S...
EFFİCİENT PAPR REDUCTİON APPROACH FOR SELECTİVE MAPPİNG İN A STBC MIMO-OFDM S...
 
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...
 
Blast fasta 4
Blast fasta 4Blast fasta 4
Blast fasta 4
 
A Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
A Survey of Solving Travelling Salesman Problem using Ant Colony OptimizationA Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
A Survey of Solving Travelling Salesman Problem using Ant Colony Optimization
 
MAPEM.ppsx
MAPEM.ppsxMAPEM.ppsx
MAPEM.ppsx
 
mapem.ppsx
mapem.ppsxmapem.ppsx
mapem.ppsx
 

Recently uploaded

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
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.pdfankushspencer015
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
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 TOOLSSIVASHANKAR N
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
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 NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
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.pptxupamatechverse
 

Recently uploaded (20)

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
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
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
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
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
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
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
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
 

Solving TSP using Hybrid GACO

  • 1. Shruti Gandhi (06913502809) Sonal Doomra (06513502809) Indira Gandhi Institute of Technology Department of Electronics and Communication Engineering
  • 2. Definition: Given a set of cities and the distance between each possible pair, the Travelling Salesman Problem is to find the best possible way of ‘visiting all the cities exactly once and returning to the starting point’ TRAVELLING SALESMAN PROBLEM An Introduction
  • 3. •. TSP: An NP Hard Problem TSP is an NP- hard problem in combinatorial optimization studied in theoretical computer science. In many applications, additional constraints such as limited resources or time windows make the problem considerably harder. Removing the constraint of visiting each city exactly one time also doesn't reduce complexity of the problem In spite of the computational difficulty of the problem, a large number of heuristics and exact methods are known, which can solve instances with
  • 4. • In these applications, the concept city represents, for example, customers, soldering In these applications, the concept city represents, for example, customers, soldering points, or DNA fragments • The concept distance represents travelling times or cost, or a similarity measure between DNA fragments. Even in its purest form the TSP, has several applications such as planning, logistics, DNA sequencing and the manufacture of microchips. Applications of TSP • When a mechanical arm is used to fasten the nuts for assembling parts, it moves through each nut in proper order and returns to the initial position. • The most economical travelling route will enable the mechanical arm to finish its work within the shortest time. Mechanical arm • Inserting electrical elements in the manufacturing of integrated circuits consumes certain energy when moving from one electrical element to the other during manufacturing. • We need to arrange the manufacturing order to minimize the energy consumption. Integrated circuit
  • 5. Brief Summary of the Project Solving the TSP was an interesting problem during recent decades. Almost every new approach for solving engineering and optimization problems has been tested on the TSP as a general test bench. First steps in solving the TSP were classical methods. These methods consist of heuristic and exact methods. These classical methods for solving the TSP usually result in exponential computational complexities. Hence, new methods are required to overcome this shortcoming. These methods include different kinds of optimization techniques, nature based optimization algorithms i.e. Genetic Algorithm, Ant Colony Optimization ,etc. Metaheuristics , which represent a family of approximate optimization techniques that have gained a lot of popularity in the past two decades, are the tools we have used for solving TSP. They provide “acceptable” solutions in a reasonable time for solving hard and complex problems in science and engineering. In this project, the population based metaheuristics i.e Genetic Algorithm and Ant Colony Optimization are explained and then modified to solve TSP. The results are then compared with the classical techniques of Nearest Neighbour, Tabu Search and Simulated Annealing to find out the most optimum solution. The highlighting feature of our work is the development of a new hybrid algorithm GACO , that merges two most popular Evolutionary Algorithms , Ant Colony Optimization and Genetic Algorithm, to solve the most complex combinatorial optimization problem, the TSP.
  • 7. Here we propose a hybrid metaheuristic (GACO), a hybrid of genetic algorithm and ant colony optimization to solve the generalized TSP, and the result obtained is compared with the stand alone heuristics, to prove the efficiency of our algorithm. All the codes were written and implemented in MATLAB 8.
  • 8. The proposed GACO algorithm is to enhance the performance of genetic algorithm (GA) by incorporating local search, ant colony optimization (ACO), for TRAVELLING SALESMAN PROBLEM. In the proposed GACO algorithm, genetic algorithm is conducted to provide the DIVERSITY OF ALIGNMENTs. Thereafter, ant colony optimization is performed to MOVE OUT OF LOCAL OPTIMA. From simulation results, it is shown that the proposed GA-ACO algorithm has superior performance when compared to other existing algorithms. TSP using GACO 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
  • 9. Other heuristics used for TSP Nearest Neighbor Algorithm For TSP The NN method compares the distribution of distances that occur from a data point to its nearest neighbour in a given data set with a randomly distributed data set Best tour = 19 1 26 14 31 38 36 22 30 5 4 2 15 21 27 24 18 16 3 9 34 13 10 29 12 23 7 40 32 37 6 39 25 28 11 8 33 20 35 17 Minimum Distance = 5.1689 Time taken = 280.388999 TSP using GACO 9
  • 10.
  • 11. SIMULATED ANNEALING Simulated annealing is a single solution based metaheuristic. The SA algorithm simulates the energy changes in a system subjected to a cooling process until it converges to an equilibrium state. The graph for simulated annealing escaping from local minima. The higher the temperature, the more significant the probability of accepting a worst move. At a given temperature, the lower the increase of the objective function, the more significant the probability of accepting the move. A better move is always accepted.
  • 12. The basic principle of tabu search is to pursue local search whenever it encounters a local optimum by allowing non- improving moves, cycling back to previously visited solutions is prevented by the use of memories, called tabu lists (short-term memory), that record the recent history of the search. TABU SEARCH
  • 14. ACO was developed by Dorigo , based on the fact that ants are able to find the shortest route between their nest and a source of food.This is done using pheromone trails, which ants deposit whenever they travel, as a form of indirect communication. ANT COLONY OPTIMIZATION Algorithm: ACO For TSP Set parameters, initialize pheromone trails While (termination condition not met) do { ConstructSolutions UpdateTrails }
  • 15. Simulation Results•Using Nearest Neighbour •Using Tabu Search •Using Simulated Annealing •Using Genetic Algorithm •Using Ant Colony Optimization •Using Hybrid GA and ACO ( GACO)
  • 16. TSP using Nearest Neighbour Best tour = 30 26 19 38 9 37 1 28 32 40 12 10 34 17 5 25 16 22 27 3 23 18 4 6 24 8 2 35 31 15 7 20 11 21 14 39 13 33 36 29 Minimum distance = 59.3578 Time taken =0.082592 -4 -2 0 2 4 6 8 10 12 14 -2 0 2 4 6 8 10 12 Path length = 59.3578
  • 17. TSP using Tabu Search Best tour = 20 40 13 26 28 29 30 14 8 36 22 5 38 34 2 17 10 4 18 24 31 37 9 23 27 16 32 39 11 25 35 19 12 21 33 6 15 7 3 1 Minimum distance = 6.1218 Time taken = 1.528810 seconds 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
  • 18. TSP using Simulated Annealing Best tour = 22 36 40 38 16 2 9 21 39 8 10 17 15 14 12 11 30 19 33 26 28 29 4 25 24 20 13 32 7 34 27 6 37 3 18 5 35 23 31 1 Minimum distance= 5.8825 Time taken = 49.951520 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
  • 19. TSP using Genetic Algorithm Best tour = 38 20 39 34 29 9 12 4 3 22 8 5 31 11 28 15 35 30 7 32 33 23 18 14 6 26 13 16 24 19 2 25 10 21 17 37 40 27 1 36 Minimum distance = 5.3990 Time taken = 5.406894 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Total Distance = 5.3990, Iteration = 479
  • 20. TSP using ACO Best tour = 36 19 25 15 16 27 32 22 39 29 21 37 7 28 4 23 17 30 3 34 38 2 10 13 1 14 35 5 33 9 8 20 12 40 26 31 6 18 11 24 36 Minimum distance= 16.6220 Time taken =777.869303 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
  • 21. Algorithm used Min Distance Time taken (sec) Nearest neighbour 245.9496 0.067407 Tabu Search 80.7395 20.623332 Simulated Annealing 76.7459 60.715589 Genetic Algorithm 55.4096 13.039126 ACO 21.2349 25.050779 GACO 20.6386 10.746399 Result Comparison
  • 22. Conclusion In this project, the travelling salesman problem, its complexity, variations and its applications in various domains was studied. Here, we proposed GACO to solve the complex problem and compare the result with the nearest Neighbour method, metaheuristics such as Simulated Annealing, Tabu Search and Evolutionary Algorithms like Genetic Algorithm and Ant Colony Optimization. The experimental results demonstrated that the HYBRID GACO approach of finding the solution gives the best result in terms of the optimal route travelled by the salesman as compared to other heuristics used in this project. The minimum distance travelled by the salesman is the least for GACO. Future ScopeThe work can be further extended to solve the travelling salesman problem using the other hybrid metaheuristics such as Genetic Algorithm with Particle Swarm Optimization, or Simulated Annealing. Presently we are working on hybridizing three metaheuristics (GA-ACO-SA) to obtain a more optimal tour for the travelling salesman and to improve the convergence behavior.