TSP with Genetic Algorithm
Transcript of TSP with Genetic Algorithm
![Page 1: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/1.jpg)
SEJONG UNIVER-SITY
082236 박수진082275 민지아082303 장이현061645 송창호
Algorithm Term ProjectTraveling Salesman’s Problemwith Genetic Algorithm
![Page 2: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/2.jpg)
1 TSP2 Genetic Algorithm3 Application Case4 GUI & Demonstration5 Q & A
![Page 3: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/3.jpg)
Traveling Salesman’s Problem
![Page 4: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/4.jpg)
4
01 Traveling Salesman’s Problem
NP-hard
SEJONG UNIVERSITY
![Page 5: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/5.jpg)
5
02 Traveling Salesman’s Problem Solution
SEJONG UNIVERSITY
![Page 6: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/6.jpg)
6
02 Traveling Salesman’s Problem Solution
Dynamic ProgramingBrute Force AlgorithmGreedy AlgorithmGenetic AlgorithmSimulated Annealing AlgorithmAnt Colony Optimization Algo-rithmRiver Formation DynamicsThe Cross Entropy MethodTabu Search……
Solution List
SEJONG UNIVERSITY
![Page 7: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/7.jpg)
문서의 제목 7
Genetic Algorithm
![Page 8: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/8.jpg)
8
01 Genetic Algorithm
John Holland ( 1929 ~ )
• Professor of Electrical Engineering and Computer Science at the University of Michi-gan
• Known as the father of genetic algorithms
SEJONG UNIVERSITY
![Page 9: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/9.jpg)
9SEJONG UNIVERSITY
Genetic Algorithm01
![Page 10: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/10.jpg)
10SEJONG UNIVERSITY
Genetic Algorithm Pseudo Code02
Procedure GAInitialize Population;Evaluate Population;While not (terminal condition satisfied)
doSelect chromosomes for next popula-
tionCrossover and Mutation;Evaluate Population;End whileEnd Procedure
![Page 11: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/11.jpg)
11SEJONG UNIVERSITY
Genetic Algorithm – Initialize Popula-tion
03
A B C D E F G
C E F A G D B
Ran-dom
Number Population
0 A B D F G E C
1 B C G F E D A
2
3
4
5
….
Population Group
![Page 12: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/12.jpg)
12SEJONG UNIVERSITY
Genetic Algorithm – Evaluate Popula-tion
04
Number Population Fitness
0 A B D F G E C 120
1 B C G F E D A 240
2 C E F A G D B 490
3 G A E C B D F 100
4 C B A F G D E 320
5 A D G E F B C 190
…. … …
![Page 13: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/13.jpg)
13SEJONG UNIVERSITY
Genetic Algorithm – Select05
Roulette Se-lection
Population_1 > Population_2 > Population_3 > …
Population_2
Population_3
Population_1
![Page 14: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/14.jpg)
14SEJONG UNIVERSITY
Genetic Algorithm – Crossover06
0 1 0 1 1 0 1
1 0 0 1 0 1 1
0 1 0 1 0 1 1
1 0 0 1 1 0 1
![Page 15: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/15.jpg)
15SEJONG UNIVERSITY
Genetic Algorithm – Crossover06
B C G F E D A
C B E A D F G
B C G F D F G
C B E A E D A
![Page 16: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/16.jpg)
16SEJONG UNIVERSITY
Genetic Algorithm – Crossover06
A B C D E F G
A C D E F G
A D E F G
A D E F
A D E
A D
A
B C G F E D A
2 C G F E D A
2 2 G F E D A2 2 5 F E D A
2 2 5 4 E D A
2 2 5 4 3 D A
2 2 5 4 3 2 A
2 2 5 4 3 2 1
2 2 5 4 3 2 1
B 2 5 4 3 2 1
B C 5 4 3 2 1B C G 4 3 2 1
B C G F 3 2 1
B C G F E 2 1
B C G F E D 1
B C G F E D A
A B C D E F G
A C D E F G
A D E F G
A D E F
A D E
A D
A
Encoding Decoding
![Page 17: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/17.jpg)
17SEJONG UNIVERSITY
Genetic Algorithm – Crossover06
2 2 5 4 3 2 1
3 2 3 1 1 1 1
2 2 5 4 1 1 1
3 2 3 1 3 2 1
B C G F A D E
C B E A G F D
![Page 18: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/18.jpg)
18SEJONG UNIVERSITY
Genetic Algorithm – Mutation07
B C G F E D A
B E G F C D A
![Page 19: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/19.jpg)
문서의 제목 19
Application Case
Everland Shortest tour
![Page 20: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/20.jpg)
20
01 Application Case – Everland Shortest tour
SEJONG UNIVERSITY
Visual Studio 2010Edit Plus 3.31
Naver Map API.Net Framework
4.0
C#, Javascript
![Page 21: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/21.jpg)
21
02 ISSUE
SEJONG UNIVERSITY
?
![Page 22: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/22.jpg)
22
02 ISSUE
SEJONG UNIVERSITY
![Page 23: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/23.jpg)
23
02 ISSUE
SEJONG UNIVERSITY
가내 수공업
![Page 24: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/24.jpg)
24
02 ISSUE
SEJONG UNIVERSITY
Drawing Map Naver Map
![Page 25: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/25.jpg)
25
03 GUI & Demonstration
SEJONG UNIVERSITY
![Page 26: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/26.jpg)
26SEJONG UNIVERSITY
Q & A
![Page 27: TSP with Genetic Algorithm](https://reader035.fdocuments.us/reader035/viewer/2022081419/55638713d8b42ad2128b4a47/html5/thumbnails/27.jpg)
27SEJONG UNIVERSITY
감사합니다