Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo...
-
Upload
tatyana-horlick -
Category
Documents
-
view
212 -
download
0
Transcript of Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo...
![Page 1: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/1.jpg)
Company
LOGO
Searching Solutions of C-TSP
Harbin Institute of Technology
Lecturer: HUA Dingguo
Tutor: YAN Jihong
Utilizing GA
![Page 2: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/2.jpg)
Contents
GA Introduction2
Searching Result4
Definition of C-TSP31
Searching Process33
References5
![Page 3: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/3.jpg)
1. Definition of C-TSP
What is C-TSP?
C-TSP: China Travelling Salesman Problem Cities: 31 cities including [1]
• Beijing, Shanghai, Tientsin, Shijiazhuang, Taiyuan, Hohhot, Shenyang, Changchun, Harbin, Sian, Lanzhou, Yinchuan, Xining, Urumqi, Jinan, Nanking, Hangzhou, Hefei, Nanchang, Foochow, Taipei, Chengchow, Wuhan, Changsha, Canton, Nanning, Haikou, Chengdu, Guiyang, Kunming, Lhasa
![Page 4: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/4.jpg)
1. Definition of C-TSP
Starting point: Beijing
Destination: Back to Beijing
Constraint: Every city has to be visited Every city except Beijing can be visited for
ONLY ONCESearching Target:
The shortest travelling path
![Page 5: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/5.jpg)
Straight-Line Path Only straight-line path is considered for the simplicity of the problem
Direct Arrival
Direct arrival can be realized between any 2
of the 31 cities
Assumptions
1. Definition of C-TSP
![Page 6: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/6.jpg)
2. GA Introduction
InverseMutation
MutationMutation
Distancerelated
FitnessFitnessEvaluationEvaluation
Roulette
SelectionSelection
Oder Crossover
CrossoverCrossoverPopulation
Near-Optimal Solution
![Page 7: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/7.jpg)
2.1 Population & Encode
Population: The scale of initial population is very
crucial to the performance of GA; If the scale is too small, the diversity is
not guaranteed; If the scale is too large, the computing is
hence time consuming; The scale is finally determined as 500
321(31 1)! 1.3263 10
2 Problem
Scale
Relatively Small
![Page 8: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/8.jpg)
2.1 Population & Encode
Encode Since the cities can be denoted as integers
• 1-Beijing; 2-Shanghai; 3- Tientsin …
Every chromosome can be encoded in the form of integer string of 1 to 31 which is arranged in a random order
Example 1-23-7-4-17-12-31-8-29-18-45-9-6-30-22-26-28-27-20-16-2-24-
3-5-19-25-14-10-21-11-13
![Page 9: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/9.jpg)
2.2 Fitness Evaluation
Distance is the major concern of C-TSP
the fitness value of one chromosome can be calculated as follows:
First, a pseudo fitness value f is obtained by Eq. 1
1
1
kk M
ii
df
d
Second, Fitness value F can be obtained through linear fitness scaling
f
F
average
Eq. 1
![Page 10: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/10.jpg)
2.3 GA Operators
SelectionOperator one
Roulette
![Page 11: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/11.jpg)
2.3 GA Operator
Crossover Order Crossover
Operator two
11- 3- 4- 5- 7-10- 6-15- 9- 1- 2
3- 5- 4- 7- 6-11- 1- 2- 9-15-10
4- 5- 7-10- 6
4- 7- 6-11- 1
![Page 12: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/12.jpg)
2.3 GA Operator
Crossover Order Crossover
Operator two
x- 3- x- 5- x-10- x-15- 9- x- 2
3- x- x- x- x-11- 1- 2- 9-15-x
9-15- 4- 5- 7-10- 6- 3-11- 1- 2
9 - 2- 4- 7- 6-11- 1- 3- 5-10-15
![Page 13: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/13.jpg)
2.3 GA Operator
Mutation Inverse Mutation
Operator three
11- 3- 4- 5- 7-10- 6-15- 9- 1- 2
11- 3- 6-10- 7- 5- 4-15- 9- 1- 2
![Page 14: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/14.jpg)
3 Searching Process
The
100th
Generation
![Page 15: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/15.jpg)
3 Searching Process
The
500th
Generation
![Page 16: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/16.jpg)
3 Searching Process
The
1000th
Generation
![Page 17: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/17.jpg)
3 Searching Process
EvolutionEvolution
G 1000
G 500
G 200
G 100
![Page 18: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/18.jpg)
4 Searching Result
试验次数 最优旅行路线距离 /kilometer
获得代数
1 15655.0093 675
2 15965.1518 819
3 15860.9205 851
4 15896.8518 375
5 15908.5454 394
6 15468.3336 863
7 15665.0205 690
8 16612.9431 847
9 15849.3315 719
10 17015.8367 937
![Page 19: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/19.jpg)
4 Searching Result
The Near Optimal Solution obtained by Hopfield Artificial Neural Networks is
15904 Kilometers [1]
GA found 6 better solutions ! In 10 experiments
The best is 15468 Kilometers !
![Page 20: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/20.jpg)
4 Searching Result
Near-Optimal solution
obtained by
Hopfield ANN
![Page 21: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/21.jpg)
4 Searching Result
Near-Optimal solution
obtained by
GA
![Page 22: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/22.jpg)
References
[1] JIN Pan, FAN Junbo, TAN Yongdong. Neural Networks and Neural Computer: Theory · Application [M]. Chengdu: Southwest Jiaotong University Press, 1991: 375-376
![Page 23: Company LOGO Searching Solutions of C-TSP Harbin Institute of Technology Lecturer: HUA Dingguo Tutor: YAN Jihong Utilizing GA.](https://reader035.fdocuments.us/reader035/viewer/2022070307/551b603e550346d6338b4586/html5/thumbnails/23.jpg)
Company
LOGO
Harbin Institute of Technology