SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Artificial Intelligence Genetic Algorithms and Travel Salesman Problem GiĂĄo viĂȘn hướng dáș«n: Tráș§n Cao Trưởng Sinh viĂȘn thá»±c hiện: Nguyễn Đức Hiển                              LĂȘ Hữu SÆĄn TĂčng
Artificial Intelligence PowerPoint has new layouts that give you more ways to present your words, images and media.   Fun fact about salesmen today Genetic 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 1 City 3 City 2 City n-1 City n-2 MAP City 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: Initialization Step 1: Selection Step 2: Crossover Step 3: Mutation Step 4: Evaluation Step 5: Termination Test Step 0: Initialization Step 6: End
3.GAs – Why use GAs to solve TSP ? (p.3) Processes :  Initialize the population :  ,[object Object],+ 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: ,[object Object],[object Object]
Fun fact about Salesmen today Today, young men think different !!!
Thank you for your attention !!!
Artificial intelligence - TSP

Weitere Àhnliche Inhalte

Ähnlich wie Artificial intelligence - TSP

Optimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingOptimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingGerard Trimberger
 
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
 
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
 
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...csandit
 
The Traveling Salesman problem ppt.pptx
The Traveling Salesman problem ppt.pptxThe Traveling Salesman problem ppt.pptx
The Traveling Salesman problem ppt.pptxHalimFerchichi
 
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
 
Optimum Design for Tourism Line Based on Improved Ant Colony System Algorithm
Optimum Design for Tourism Line Based on Improved Ant Colony System AlgorithmOptimum Design for Tourism Line Based on Improved Ant Colony System Algorithm
Optimum Design for Tourism Line Based on Improved Ant Colony System Algorithmijmvsc
 
Exploring Algorithms
Exploring AlgorithmsExploring Algorithms
Exploring AlgorithmsSri Prasanna
 
A new hybrid approach for solving travelling salesman problem using ordered c...
A new hybrid approach for solving travelling salesman problem using ordered c...A new hybrid approach for solving travelling salesman problem using ordered c...
A new hybrid approach for solving travelling salesman problem using ordered c...eSAT Journals
 
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...April Smith
 
Sem 8 major presentation
Sem 8 major presentationSem 8 major presentation
Sem 8 major presentationVaibhav Bajpai
 
Graph theory - Traveling Salesman and Chinese Postman
Graph theory - Traveling Salesman and Chinese PostmanGraph theory - Traveling Salesman and Chinese Postman
Graph theory - Traveling Salesman and Chinese PostmanChristian Kehl
 
tAn improved genetic algorithm with a
tAn improved genetic algorithm with atAn improved genetic algorithm with a
tAn improved genetic algorithm with aijcseit
 
Travelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimizationTravelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimizationAkash Sethiya
 
Ac4103169172
Ac4103169172Ac4103169172
Ac4103169172IJERA Editor
 
AN APPLICATION TO THE TRAVELLING SALESMAN PROBLEM
AN APPLICATION TO THE TRAVELLING SALESMAN PROBLEMAN APPLICATION TO THE TRAVELLING SALESMAN PROBLEM
AN APPLICATION TO THE TRAVELLING SALESMAN PROBLEMorajjournal
 
Travelling salesperson problem
Travelling salesperson problemTravelling salesperson problem
Travelling salesperson problemAkshayIngole17
 

Ähnlich wie Artificial intelligence - TSP (19)

Optimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingOptimal Vacation Itinerary Modeling
Optimal Vacation Itinerary Modeling
 
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
 
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
 
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
 
The Traveling Salesman problem ppt.pptx
The Traveling Salesman problem ppt.pptxThe Traveling Salesman problem ppt.pptx
The Traveling Salesman problem ppt.pptx
 
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
 
Optimum Design for Tourism Line Based on Improved Ant Colony System Algorithm
Optimum Design for Tourism Line Based on Improved Ant Colony System AlgorithmOptimum Design for Tourism Line Based on Improved Ant Colony System Algorithm
Optimum Design for Tourism Line Based on Improved Ant Colony System Algorithm
 
Exploring Algorithms
Exploring AlgorithmsExploring Algorithms
Exploring Algorithms
 
RouteForYou
RouteForYouRouteForYou
RouteForYou
 
A new hybrid approach for solving travelling salesman problem using ordered c...
A new hybrid approach for solving travelling salesman problem using ordered c...A new hybrid approach for solving travelling salesman problem using ordered c...
A new hybrid approach for solving travelling salesman problem using ordered c...
 
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
A New Approach To Solving The Multiple Traveling Salesperson Problem Using Ge...
 
Sem 8 major presentation
Sem 8 major presentationSem 8 major presentation
Sem 8 major presentation
 
Graph theory - Traveling Salesman and Chinese Postman
Graph theory - Traveling Salesman and Chinese PostmanGraph theory - Traveling Salesman and Chinese Postman
Graph theory - Traveling Salesman and Chinese Postman
 
tAn improved genetic algorithm with a
tAn improved genetic algorithm with atAn improved genetic algorithm with a
tAn improved genetic algorithm with a
 
Traveling Salesman Problem
Traveling Salesman Problem Traveling Salesman Problem
Traveling Salesman Problem
 
Travelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimizationTravelling and salesman problem using ant colony optimization
Travelling and salesman problem using ant colony optimization
 
Ac4103169172
Ac4103169172Ac4103169172
Ac4103169172
 
AN APPLICATION TO THE TRAVELLING SALESMAN PROBLEM
AN APPLICATION TO THE TRAVELLING SALESMAN PROBLEMAN APPLICATION TO THE TRAVELLING SALESMAN PROBLEM
AN APPLICATION TO THE TRAVELLING SALESMAN PROBLEM
 
Travelling salesperson problem
Travelling salesperson problemTravelling salesperson problem
Travelling salesperson problem
 

KĂŒrzlich hochgeladen

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
80 ĐỀ THI THỏ TUYỂN SINH TIáșŸNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỏ TUYỂN SINH TIáșŸNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỏ TUYỂN SINH TIáșŸNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỏ TUYỂN SINH TIáșŸNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 

KĂŒrzlich hochgeladen (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
80 ĐỀ THI THỏ TUYỂN SINH TIáșŸNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỏ TUYỂN SINH TIáșŸNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỏ TUYỂN SINH TIáșŸNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỏ TUYỂN SINH TIáșŸNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 

Artificial intelligence - TSP

  • 1. Artificial Intelligence Genetic Algorithms and Travel Salesman Problem GiĂĄo viĂȘn hướng dáș«n: Tráș§n Cao Trưởng Sinh viĂȘn thá»±c hiện: Nguyễn Đức Hiển LĂȘ Hữu SÆĄn TĂčng
  • 2. Artificial Intelligence PowerPoint has new layouts that give you more ways to present your words, images and media. Fun fact about salesmen today Genetic 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 1 City 3 City 2 City n-1 City n-2 MAP City 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: Initialization Step 1: Selection Step 2: Crossover Step 3: Mutation Step 4: Evaluation Step 5: Termination Test Step 0: Initialization Step 6: End
  • 13.
  • 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.
  • 16. Fun fact about Salesmen today Today, young men think different !!!
  • 17. Thank you for your attention !!!