SlideShare a Scribd company logo
Artificial IntelligenceGenetic Algorithms and Travel Salesman ProblemGiáo viên hướng dẫn: Trần Cao TrưởngSinh viên thực hiện: Nguyễn Đức Hiển                             Lê Hữu Sơn Tùng
Artificial IntelligencePowerPoint has new layouts that give you more ways to present your words, images and media.  Fun fact about salesmen todayGenetic Algorithms(GAs) and Travel Salesman Problem(TSP)
1. TSP – Overview(p.1)Hello eveyone ! I’m a HANDSOME salesman.
1. TSP – Overview(p.2)As a salesman, I have to travel through many cities for business. But I just need to travel EACH city ONCE.City 1City 3City 2City n-1City n-2MAPCity n
1. TSP – Overview(p.3) I  have some problems. I don’t have much time and money. 
1. TSP – Overview(p.4) Can you help me to find the way with minimum cost ?
1. TSP – Traditional Solutions(p.1)BRUTE- FORCE
2.GAs – Overview (p.1)     GAs simulate the evolution of  one population (for example human population) : based on assessing and selecting the fittest solutions in the problem population.So GAs has some similar components as an evolution in the real world:	+ POPULATION+ INDIVIDUALS+ CHROMOSOMES+ OFFSPRING+ CROSSOVER+ MUTATION	+ FITNESS
2.GAs – Overview (p.2)GAs
2.GAs – Why use GAs to solve TSP ? (p.1)Reasons to use GAs to solve TSP includes the followings: Because the map of cities in TSP is a complete graph so searching space in TSP is very huge.It’s possbile for GAs to find out an acceptable solution due to given conditions and constraints(ex : time constraint, etc.).
3.Using GAs to solve TSP? (p.1)A generation in TSP includes the following components:
3.Using GAs to solve TSP? (p.2)GA Structure:GA( ){	t=0;// epoch	Initialize(t);	Evaluate(t);	While (not termination condition) 	do	{	t= t+1;	Select P(t) from P(t-1);	Alter P(t);	Evaluate P(t);	}}Step 0: InitializationStep 1: SelectionStep 2: CrossoverStep 3: MutationStep 4: EvaluationStep 5: Termination TestStep 0: InitializationStep 6: End
3.GAs – Why use GAs to solve TSP ? (p.3)Processes : Initialize the population : Randomize cities with following attribute: + Name or IDs : to distinguish cities.+ Link between 2 cities.+ Each link has a weighted- number represented as the cost to travel from one city to another.
3.GAs – Why use GAs to solve TSP ? (p.4)2. Loop(Epoch): + Choosing 2 parents from    from a random group of cities.+ Crossover -> Offsprings (2)+ Mutation+ Evaluation         +  Use fitness function  to remove some weaker individuals to keep the population size constant.
3.GAs – Why use GAs to solve TSP ? (p.5)3. Terminate Process of Finding Solution:Based on some termination condition (ex : Limitation of Iterations) , terminate the process.Fun fact about Salesmen todayYears ago, this is the way old men used to solve TSP.
Fun fact about Salesmen todayToday, young men think different !!!
Thank you for your attention !!!
Artificial intelligence - TSP

More Related Content

PDF
RV 2014: Beyond Mobility: Corridor Planning for the Bigger Picture by Katheri...
PPTX
Means end analysis, knowledge in learning
PPS
Means-End Analysis
PPTX
Knowledge representation in AI
PPT
Hill climbing
PDF
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
PDF
Hybrid iterated local search algorithm for optimization route of airplane tr...
PDF
With saloni in ijarcsse
RV 2014: Beyond Mobility: Corridor Planning for the Bigger Picture by Katheri...
Means end analysis, knowledge in learning
Means-End Analysis
Knowledge representation in AI
Hill climbing
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Hybrid iterated local search algorithm for optimization route of airplane tr...
With saloni in ijarcsse

Similar to Artificial intelligence - TSP (20)

PDF
Optimal Vacation Itinerary Modeling
PDF
The Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
PDF
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
PDF
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
PPTX
The Traveling Salesman problem ppt.pptx
PDF
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
PDF
Optimum Design for Tourism Line Based on Improved Ant Colony System Algorithm
PPT
Exploring Algorithms
PPTX
RouteForYou
PDF
A new hybrid approach for solving travelling salesman problem using ordered c...
PDF
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
PPTX
The Travelling Salesman Problem_BharatKumar.pptx
PPTX
Sem 8 major presentation
ODP
Graph theory - Traveling Salesman and Chinese Postman
PDF
tAn improved genetic algorithm with a
PPTX
Traveling Salesman Problem
PPTX
Travelling and salesman problem using ant colony optimization
PDF
TourMapQA: using deep learning to develop a vietnam map based tourism questio...
PDF
Ac4103169172
PDF
AN APPLICATION TO THE TRAVELLING SALESMAN PROBLEM
Optimal Vacation Itinerary Modeling
The Optimizing Multiple Travelling Salesman Problem Using Genetic Algorithm
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
The Traveling Salesman problem ppt.pptx
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
Optimum Design for Tourism Line Based on Improved Ant Colony System Algorithm
Exploring Algorithms
RouteForYou
A new hybrid approach for solving travelling salesman problem using ordered c...
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
The Travelling Salesman Problem_BharatKumar.pptx
Sem 8 major presentation
Graph theory - Traveling Salesman and Chinese Postman
tAn improved genetic algorithm with a
Traveling Salesman Problem
Travelling and salesman problem using ant colony optimization
TourMapQA: using deep learning to develop a vietnam map based tourism questio...
Ac4103169172
AN APPLICATION TO THE TRAVELLING SALESMAN PROBLEM
Ad

Recently uploaded (20)

PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Classroom Observation Tools for Teachers
PDF
01-Introduction-to-Information-Management.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Lesson notes of climatology university.
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
VCE English Exam - Section C Student Revision Booklet
Microbial disease of the cardiovascular and lymphatic systems
Classroom Observation Tools for Teachers
01-Introduction-to-Information-Management.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Cell Structure & Organelles in detailed.
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
RMMM.pdf make it easy to upload and study
Microbial diseases, their pathogenesis and prophylaxis
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Lesson notes of climatology university.
Supply Chain Operations Speaking Notes -ICLT Program
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Types and Its function , kingdom of life
Pharma ospi slides which help in ospi learning
Pharmacology of Heart Failure /Pharmacotherapy of CHF
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
FourierSeries-QuestionsWithAnswers(Part-A).pdf
human mycosis Human fungal infections are called human mycosis..pptx
Ad

Artificial intelligence - TSP

  • 1. Artificial IntelligenceGenetic Algorithms and Travel Salesman ProblemGiáo viên hướng dẫn: Trần Cao TrưởngSinh viên thực hiện: Nguyễn Đức Hiển Lê Hữu Sơn Tùng
  • 2. Artificial IntelligencePowerPoint has new layouts that give you more ways to present your words, images and media. Fun fact about salesmen todayGenetic Algorithms(GAs) and Travel Salesman Problem(TSP)
  • 3. 1. TSP – Overview(p.1)Hello eveyone ! I’m a HANDSOME salesman.
  • 4. 1. TSP – Overview(p.2)As a salesman, I have to travel through many cities for business. But I just need to travel EACH city ONCE.City 1City 3City 2City n-1City n-2MAPCity n
  • 5. 1. TSP – Overview(p.3) I have some problems. I don’t have much time and money. 
  • 6. 1. TSP – Overview(p.4) Can you help me to find the way with minimum cost ?
  • 7. 1. TSP – Traditional Solutions(p.1)BRUTE- FORCE
  • 8. 2.GAs – Overview (p.1) GAs simulate the evolution of one population (for example human population) : based on assessing and selecting the fittest solutions in the problem population.So GAs has some similar components as an evolution in the real world: + POPULATION+ INDIVIDUALS+ CHROMOSOMES+ OFFSPRING+ CROSSOVER+ MUTATION + FITNESS
  • 10. 2.GAs – Why use GAs to solve TSP ? (p.1)Reasons to use GAs to solve TSP includes the followings: Because the map of cities in TSP is a complete graph so searching space in TSP is very huge.It’s possbile for GAs to find out an acceptable solution due to given conditions and constraints(ex : time constraint, etc.).
  • 11. 3.Using GAs to solve TSP? (p.1)A generation in TSP includes the following components:
  • 12. 3.Using GAs to solve TSP? (p.2)GA Structure:GA( ){ t=0;// epoch Initialize(t); Evaluate(t); While (not termination condition) do { t= t+1; Select P(t) from P(t-1); Alter P(t); Evaluate P(t); }}Step 0: InitializationStep 1: SelectionStep 2: CrossoverStep 3: MutationStep 4: EvaluationStep 5: Termination TestStep 0: InitializationStep 6: End
  • 13. 3.GAs – Why use GAs to solve TSP ? (p.3)Processes : Initialize the population : Randomize cities with following attribute: + Name or IDs : to distinguish cities.+ Link between 2 cities.+ Each link has a weighted- number represented as the cost to travel from one city to another.
  • 14. 3.GAs – Why use GAs to solve TSP ? (p.4)2. Loop(Epoch): + Choosing 2 parents from from a random group of cities.+ Crossover -> Offsprings (2)+ Mutation+ Evaluation + Use fitness function to remove some weaker individuals to keep the population size constant.
  • 15. 3.GAs – Why use GAs to solve TSP ? (p.5)3. Terminate Process of Finding Solution:Based on some termination condition (ex : Limitation of Iterations) , terminate the process.Fun fact about Salesmen todayYears ago, this is the way old men used to solve TSP.
  • 16. Fun fact about Salesmen todayToday, young men think different !!!
  • 17. Thank you for your attention !!!