SlideShare uma empresa Scribd logo
1 de 14
BY

&
2013
 The task of finding the shortest possible path that visits each city

exactly once and returns to the initial city has been suggested by
many scholars.
 Travelling Salesman Problem (TSP) is among the extensively
studied optimization problem that has been used to find the
shortest possible route.
 The TSP has many applications including the following :
 Manufacture of microchips
 The routing of trucks for packet post pickup
 Packet routing in GSM
 The delivery of meals to home bound persons etc.
GA at a glANCE
 GA is an empirical search that mimics the process of natural







evolution
GA generate solutions to optimization problems using
techniques inspired by natural evolution, such as inheritance,,
mutation, selection and crossover
In GA a space of hypotheses is searched to identify the best
hypothesis.
The best hypothesis is defined as the one that optimizes a
predefined numerical measure for the problem at hand, called
the hypothesis fitness
GA operates by iteratively updating a pool of hypotheses, called
the population
 Select: Randomly select members of Population
 Crossover: Randomly select pairs of hypotheses from P, to







produce offspring by applying the Crossover operator. Add all
offspring to new P1.
Mutate: Choose m percent of the members of P, with uniform
probability. For each, invert one randomly selected bit in its
representation.
Update: P ← P1.
Evaluate: compute Fitness function
Return the hypothesis from P that has the highest fitness.
Genetic Algorithm is another technique which can also find
solution to TSP due to the following reasons :
 Due to their flexibility and robustness
 They are also readily amenable to parallel implementation
 They are able to solve problems knowing nothing about the
problem from the start
 Population Size - The population size is the initial number of








random tours that are created when the algorithm starts.
Neighborhood / Group Size – In each generation the best 2 tours
are the parents. The worst 2 tours get replaced by the children.
Mutation % - The percentage that each child after crossover will
undergo mutation when a tour is mutated.
Nearby Cities - As part of a greedy initial population, the GA will
prefer to link cities that are close to each other to make the initial
tours.
Nearby City Odds % - This is the percent chance that any one
link in a random tour in the initial population will prefer to use a
nearby city instead of a completely random city.
6. Maximum Generations – Number of crossovers are run before
the algorithm is terminated
 Fıtness functıon= Least tour dıstance ın a group.

 Selectıon method- Determınıstıcs wıth a probabılıty of 1.
 Cross over- skıpped.
 Mutatıon:
 Recıprocal exchange Mutatıon- Two cıtıes are randomly selected and

theır posıtıons ın chromosomes are exchanged.
 Flıp Mutatıon- The two cıtıes selected are flıpped over, example ıf theır
are sıx cıtıes 1, 2, 3, 4, 5, 6 ın the chromosomes and cıtıes at posıtıon 2
and 5 are chosen as a mutatıon poınts, then the new chromosomes
after flıpıng posıtıon the gıven posıtıons are 1, 5, 4, 3, 2, 6.
 Backward slıde Mutatıon- As the name ımplıes, two mutatıon posıtıons
are move to the next posıtıons ın a backward dırectıonwıthın the span
of the Mutatıon poınts. Example ıf the above cıtıes posıtıon ın the
chromosomes are used and posıtıon 2 and 5 are slıded then the cıtıes
posıtıon ın the new chromosomes are1, 3, 4, 5, 2, 6.
ALGORITHM
 Inıtıalıze the populatıon
 Randomly generate the populatıon members.
 Calculate the total dıstance for each tour.
 Evaluate each tour fıtness ın each group.
 Select the tour wıth the least dıstance ıe hıghest fıtness.
 Apply Mutatıon to the best offsrıng to get the three new routes.
 Set the best route as your new global mınımızer
 Iterate whıle number of ıteratıon ıs less than the maxımum

ıteratıon untıl the optımal route ıs dıscovered (convergence
poınt).
 Stop.
 An N by N distance matrix was used where N stands for the

number of cities.
 All the cities were assumed to be points in space and their
respective Euclidean distance were computed using the
Euclidean equations to get the inputs of the distance matrix
(Dmat).
 For a real and more practical situation, the exact distances
between the cities in consideration can be directly inputed into
the distance matrix.
 In asymmetric TSP the approach mentioned might not work
since the distance travelled to get to city B from A might not
necesssarily be the same when coming back to A from B.
 The simulation results showed that with a higher number of







iterations a better route is discovered but it takes more time to
converge to an optimal solution.
With lower population size and a less number of cities little time
is required to get the optimal route.
The optimal tour distance at a given population and iteration
might vary when the same population size and iteration number
is used at a different run.
It is so because the vertexes of the cities used in Euclidean
computation are randomly generated.
It can also be proven that to get the best population size that
takes little time, a range within Number of Cities * 3 <
Population Size < Number of Cities * 5 should be used as
suggested by by Nilesh Gambhava and Gopi Sanghani in their
papers. Below are the figures of simulation result at different
instances.
Fig 1

Fig 2
Fig 3

Fig 4
 Genetic algorithm has been quite an exciting tool for solving

optimization problem.
 Its flexibility is astonishingly remarkable. This paper has
indicated that mutation in genetic is a powerful operator which
makes GA to stand tall among its fellow optimization
algorithms.
 The Mutation operator ensures that trap of local minimum is
avoided which is one of the major advantage of GA.
 With a better manupilation of this tool in a suitable problem, it
is always possible that GA will remained in the mainstrem in the
field of optimization.
ALL

Mais conteúdo relacionado

Mais procurados

Optimization technique genetic algorithm
Optimization technique genetic algorithmOptimization technique genetic algorithm
Optimization technique genetic algorithmUday Wankar
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmBablu Shofi
 
Introduction to genetic programming
Introduction to genetic programmingIntroduction to genetic programming
Introduction to genetic programmingabhishek singh
 
Genetic Algorithms for optimization
Genetic Algorithms for optimizationGenetic Algorithms for optimization
Genetic Algorithms for optimizationFethi Candan
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMPuneet Kulyana
 
Semantic Genetic Programming Tutorial
Semantic Genetic Programming TutorialSemantic Genetic Programming Tutorial
Semantic Genetic Programming TutorialAlbertoMoraglio
 
Introduction to Genetic algorithm
Introduction to Genetic algorithmIntroduction to Genetic algorithm
Introduction to Genetic algorithmHEENA GUPTA
 
Genetic programming
Genetic programmingGenetic programming
Genetic programmingOmar Ghazi
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmsguest9938738
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmAbba Elijah
 
Clustering using GA and Hill-climbing
Clustering using GA and Hill-climbingClustering using GA and Hill-climbing
Clustering using GA and Hill-climbingFatemeh Karimi
 
Toward a Natural Genetic / Evolutionary Algorithm for Multiobjective Optimiza...
Toward a Natural Genetic / Evolutionary Algorithm for Multiobjective Optimiza...Toward a Natural Genetic / Evolutionary Algorithm for Multiobjective Optimiza...
Toward a Natural Genetic / Evolutionary Algorithm for Multiobjective Optimiza...Startup
 
With saloni in ijarcsse
With saloni in ijarcsseWith saloni in ijarcsse
With saloni in ijarcssesatish rana
 
The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...ijdms
 
Optimization Technique Harmony Search
Optimization Technique Harmony Search Optimization Technique Harmony Search
Optimization Technique Harmony Search Uday Wankar
 

Mais procurados (20)

Optimization technique genetic algorithm
Optimization technique genetic algorithmOptimization technique genetic algorithm
Optimization technique genetic algorithm
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Introduction to genetic programming
Introduction to genetic programmingIntroduction to genetic programming
Introduction to genetic programming
 
Genetic Algorithms for optimization
Genetic Algorithms for optimizationGenetic Algorithms for optimization
Genetic Algorithms for optimization
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHM
 
Semantic Genetic Programming Tutorial
Semantic Genetic Programming TutorialSemantic Genetic Programming Tutorial
Semantic Genetic Programming Tutorial
 
Introduction to Genetic algorithm
Introduction to Genetic algorithmIntroduction to Genetic algorithm
Introduction to Genetic algorithm
 
Genetic programming
Genetic programmingGenetic programming
Genetic programming
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
genetic programming
genetic programminggenetic programming
genetic programming
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Clustering using GA and Hill-climbing
Clustering using GA and Hill-climbingClustering using GA and Hill-climbing
Clustering using GA and Hill-climbing
 
Differential evolution
Differential evolutionDifferential evolution
Differential evolution
 
Toward a Natural Genetic / Evolutionary Algorithm for Multiobjective Optimiza...
Toward a Natural Genetic / Evolutionary Algorithm for Multiobjective Optimiza...Toward a Natural Genetic / Evolutionary Algorithm for Multiobjective Optimiza...
Toward a Natural Genetic / Evolutionary Algorithm for Multiobjective Optimiza...
 
With saloni in ijarcsse
With saloni in ijarcsseWith saloni in ijarcsse
With saloni in ijarcsse
 
The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...The optimization of running queries in relational databases using ant colony ...
The optimization of running queries in relational databases using ant colony ...
 
Optimization Technique Harmony Search
Optimization Technique Harmony Search Optimization Technique Harmony Search
Optimization Technique Harmony Search
 

Destaque

The Travelling Salesman Problem
The Travelling Salesman ProblemThe Travelling Salesman Problem
The Travelling Salesman Problemguest3d82c4
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman ProblemDaniel Raditya
 
Traveling salesman problem
Traveling salesman problemTraveling salesman problem
Traveling salesman problemMohamed Gad
 
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
 
09 genetic algorithms by Priyesh Marvi
09 genetic algorithms by Priyesh Marvi09 genetic algorithms by Priyesh Marvi
09 genetic algorithms by Priyesh Marvipriyeshmarvi
 
3 mathematical priliminaries DATA compression
3 mathematical priliminaries DATA compression3 mathematical priliminaries DATA compression
3 mathematical priliminaries DATA compressionShubham Jain
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmMudit Verma
 
Dynamic Programming - Part II
Dynamic Programming - Part IIDynamic Programming - Part II
Dynamic Programming - Part IIAmrinder Arora
 
Community detection in graphs
Community detection in graphsCommunity detection in graphs
Community detection in graphsNicola Barbieri
 
Edward Tufte and Information Design for the Web
Edward Tufte and Information Design for the WebEdward Tufte and Information Design for the Web
Edward Tufte and Information Design for the Websprocketeer
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic AlgorithmSHIMI S L
 
genetic algorithms-artificial intelligence
 genetic algorithms-artificial intelligence genetic algorithms-artificial intelligence
genetic algorithms-artificial intelligenceKarunakar Singh Thakur
 
Genetic Algorithms Made Easy
Genetic Algorithms Made EasyGenetic Algorithms Made Easy
Genetic Algorithms Made EasyPrakash Pimpale
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmszamakhan
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by ExampleNobal Niraula
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithmgarima931
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceSahil Kumar
 

Destaque (20)

The Travelling Salesman Problem
The Travelling Salesman ProblemThe Travelling Salesman Problem
The Travelling Salesman Problem
 
Travelling Salesman Problem
Travelling Salesman ProblemTravelling Salesman Problem
Travelling Salesman Problem
 
Traveling salesman problem
Traveling salesman problemTraveling salesman problem
Traveling salesman problem
 
Travelling salesman problem using genetic algorithms
Travelling salesman problem using genetic algorithms Travelling salesman problem using genetic algorithms
Travelling salesman problem using genetic algorithms
 
09 genetic algorithms by Priyesh Marvi
09 genetic algorithms by Priyesh Marvi09 genetic algorithms by Priyesh Marvi
09 genetic algorithms by Priyesh Marvi
 
3 mathematical priliminaries DATA compression
3 mathematical priliminaries DATA compression3 mathematical priliminaries DATA compression
3 mathematical priliminaries DATA compression
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Dynamic Programming - Part II
Dynamic Programming - Part IIDynamic Programming - Part II
Dynamic Programming - Part II
 
NP completeness
NP completenessNP completeness
NP completeness
 
Community detection in graphs
Community detection in graphsCommunity detection in graphs
Community detection in graphs
 
Edward Tufte and Information Design for the Web
Edward Tufte and Information Design for the WebEdward Tufte and Information Design for the Web
Edward Tufte and Information Design for the Web
 
Lecture28 tsp
Lecture28 tspLecture28 tsp
Lecture28 tsp
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
genetic algorithms-artificial intelligence
 genetic algorithms-artificial intelligence genetic algorithms-artificial intelligence
genetic algorithms-artificial intelligence
 
Genetic Algorithms Made Easy
Genetic Algorithms Made EasyGenetic Algorithms Made Easy
Genetic Algorithms Made Easy
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 

Semelhante a Muzammil Adulrahman ppt on travelling salesman Problem Based On Mutation Genetic Algorithms

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 Algorithmijsrd.com
 
Lecture 9 aco
Lecture 9 acoLecture 9 aco
Lecture 9 acomcradc
 
IJWMN -A Hybrid GAPSO Optimization Approach
IJWMN -A Hybrid GAPSO Optimization ApproachIJWMN -A Hybrid GAPSO Optimization Approach
IJWMN -A Hybrid GAPSO Optimization Approachijwmn
 
A HYBRID GAPSO OPTIMIZATION APPROACH....
A HYBRID GAPSO OPTIMIZATION APPROACH....A HYBRID GAPSO OPTIMIZATION APPROACH....
A HYBRID GAPSO OPTIMIZATION APPROACH....ijwmn
 
Genetic Algorithm (1).pdf
Genetic Algorithm (1).pdfGenetic Algorithm (1).pdf
Genetic Algorithm (1).pdfAzmiNizar1
 
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...ijaia
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4Nandhini S
 
A Comparative Analysis of Genetic Algorithm Selection Techniques
A Comparative Analysis of Genetic Algorithm Selection TechniquesA Comparative Analysis of Genetic Algorithm Selection Techniques
A Comparative Analysis of Genetic Algorithm Selection TechniquesIRJET Journal
 
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
 
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmComparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmIOSR Journals
 

Semelhante a Muzammil Adulrahman ppt on travelling salesman Problem Based On Mutation Genetic Algorithms (20)

D0353027043
D0353027043D0353027043
D0353027043
 
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
 
Genetic algorithms mahyar
Genetic algorithms   mahyarGenetic algorithms   mahyar
Genetic algorithms mahyar
 
Lecture 9 aco
Lecture 9 acoLecture 9 aco
Lecture 9 aco
 
IJWMN -A Hybrid GAPSO Optimization Approach
IJWMN -A Hybrid GAPSO Optimization ApproachIJWMN -A Hybrid GAPSO Optimization Approach
IJWMN -A Hybrid GAPSO Optimization Approach
 
A HYBRID GAPSO OPTIMIZATION APPROACH....
A HYBRID GAPSO OPTIMIZATION APPROACH....A HYBRID GAPSO OPTIMIZATION APPROACH....
A HYBRID GAPSO OPTIMIZATION APPROACH....
 
Genetic Algorithm (1).pdf
Genetic Algorithm (1).pdfGenetic Algorithm (1).pdf
Genetic Algorithm (1).pdf
 
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
A hybrid optimization algorithm based on genetic algorithm and ant colony opt...
 
1582997627872.pdf
1582997627872.pdf1582997627872.pdf
1582997627872.pdf
 
GENETIC ALGORITHM
GENETIC ALGORITHM GENETIC ALGORITHM
GENETIC ALGORITHM
 
CSA 3702 machine learning module 4
CSA 3702 machine learning module 4CSA 3702 machine learning module 4
CSA 3702 machine learning module 4
 
10.1.1.34.7361
10.1.1.34.736110.1.1.34.7361
10.1.1.34.7361
 
GARs
GARsGARs
GARs
 
BGA.pptx
BGA.pptxBGA.pptx
BGA.pptx
 
40120130405011
4012013040501140120130405011
40120130405011
 
A Comparative Analysis of Genetic Algorithm Selection Techniques
A Comparative Analysis of Genetic Algorithm Selection TechniquesA Comparative Analysis of Genetic Algorithm Selection Techniques
A Comparative Analysis of Genetic Algorithm Selection Techniques
 
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
 
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmComparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
 
RM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lectureRM 701 Genetic Algorithm and Fuzzy Logic lecture
RM 701 Genetic Algorithm and Fuzzy Logic lecture
 
Ga for shortest_path
Ga for shortest_pathGa for shortest_path
Ga for shortest_path
 

Último

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Último (20)

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Muzammil Adulrahman ppt on travelling salesman Problem Based On Mutation Genetic Algorithms

  • 2.  The task of finding the shortest possible path that visits each city exactly once and returns to the initial city has been suggested by many scholars.  Travelling Salesman Problem (TSP) is among the extensively studied optimization problem that has been used to find the shortest possible route.  The TSP has many applications including the following :  Manufacture of microchips  The routing of trucks for packet post pickup  Packet routing in GSM  The delivery of meals to home bound persons etc.
  • 3. GA at a glANCE  GA is an empirical search that mimics the process of natural     evolution GA generate solutions to optimization problems using techniques inspired by natural evolution, such as inheritance,, mutation, selection and crossover In GA a space of hypotheses is searched to identify the best hypothesis. The best hypothesis is defined as the one that optimizes a predefined numerical measure for the problem at hand, called the hypothesis fitness GA operates by iteratively updating a pool of hypotheses, called the population
  • 4.  Select: Randomly select members of Population  Crossover: Randomly select pairs of hypotheses from P, to     produce offspring by applying the Crossover operator. Add all offspring to new P1. Mutate: Choose m percent of the members of P, with uniform probability. For each, invert one randomly selected bit in its representation. Update: P ← P1. Evaluate: compute Fitness function Return the hypothesis from P that has the highest fitness.
  • 5. Genetic Algorithm is another technique which can also find solution to TSP due to the following reasons :  Due to their flexibility and robustness  They are also readily amenable to parallel implementation  They are able to solve problems knowing nothing about the problem from the start
  • 6.  Population Size - The population size is the initial number of      random tours that are created when the algorithm starts. Neighborhood / Group Size – In each generation the best 2 tours are the parents. The worst 2 tours get replaced by the children. Mutation % - The percentage that each child after crossover will undergo mutation when a tour is mutated. Nearby Cities - As part of a greedy initial population, the GA will prefer to link cities that are close to each other to make the initial tours. Nearby City Odds % - This is the percent chance that any one link in a random tour in the initial population will prefer to use a nearby city instead of a completely random city. 6. Maximum Generations – Number of crossovers are run before the algorithm is terminated
  • 7.  Fıtness functıon= Least tour dıstance ın a group.  Selectıon method- Determınıstıcs wıth a probabılıty of 1.  Cross over- skıpped.  Mutatıon:  Recıprocal exchange Mutatıon- Two cıtıes are randomly selected and theır posıtıons ın chromosomes are exchanged.  Flıp Mutatıon- The two cıtıes selected are flıpped over, example ıf theır are sıx cıtıes 1, 2, 3, 4, 5, 6 ın the chromosomes and cıtıes at posıtıon 2 and 5 are chosen as a mutatıon poınts, then the new chromosomes after flıpıng posıtıon the gıven posıtıons are 1, 5, 4, 3, 2, 6.  Backward slıde Mutatıon- As the name ımplıes, two mutatıon posıtıons are move to the next posıtıons ın a backward dırectıonwıthın the span of the Mutatıon poınts. Example ıf the above cıtıes posıtıon ın the chromosomes are used and posıtıon 2 and 5 are slıded then the cıtıes posıtıon ın the new chromosomes are1, 3, 4, 5, 2, 6.
  • 8. ALGORITHM  Inıtıalıze the populatıon  Randomly generate the populatıon members.  Calculate the total dıstance for each tour.  Evaluate each tour fıtness ın each group.  Select the tour wıth the least dıstance ıe hıghest fıtness.  Apply Mutatıon to the best offsrıng to get the three new routes.  Set the best route as your new global mınımızer  Iterate whıle number of ıteratıon ıs less than the maxımum ıteratıon untıl the optımal route ıs dıscovered (convergence poınt).  Stop.
  • 9.  An N by N distance matrix was used where N stands for the number of cities.  All the cities were assumed to be points in space and their respective Euclidean distance were computed using the Euclidean equations to get the inputs of the distance matrix (Dmat).  For a real and more practical situation, the exact distances between the cities in consideration can be directly inputed into the distance matrix.  In asymmetric TSP the approach mentioned might not work since the distance travelled to get to city B from A might not necesssarily be the same when coming back to A from B.
  • 10.  The simulation results showed that with a higher number of     iterations a better route is discovered but it takes more time to converge to an optimal solution. With lower population size and a less number of cities little time is required to get the optimal route. The optimal tour distance at a given population and iteration might vary when the same population size and iteration number is used at a different run. It is so because the vertexes of the cities used in Euclidean computation are randomly generated. It can also be proven that to get the best population size that takes little time, a range within Number of Cities * 3 < Population Size < Number of Cities * 5 should be used as suggested by by Nilesh Gambhava and Gopi Sanghani in their papers. Below are the figures of simulation result at different instances.
  • 13.  Genetic algorithm has been quite an exciting tool for solving optimization problem.  Its flexibility is astonishingly remarkable. This paper has indicated that mutation in genetic is a powerful operator which makes GA to stand tall among its fellow optimization algorithms.  The Mutation operator ensures that trap of local minimum is avoided which is one of the major advantage of GA.  With a better manupilation of this tool in a suitable problem, it is always possible that GA will remained in the mainstrem in the field of optimization.
  • 14. ALL