SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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
 

En vedette

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
 

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Dernier (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

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