Top Banner
SEJONG UNIVERSITY 082236 박박박 082275 박박박 082303 박박박 061645 박박박 Algorithm Term Project Traveling Salesman’s Problem with Genetic Algorithm
27

TSP with Genetic Algorithm

May 26, 2015

Download

Software

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: TSP with Genetic Algorithm

SEJONG UNIVER-SITY

082236 박수진082275 민지아082303 장이현061645 송창호

Algorithm Term ProjectTraveling Salesman’s Problemwith Genetic Algorithm

Page 2: TSP with Genetic Algorithm

1 TSP2 Genetic Algorithm3 Application Case4 GUI & Demonstration5 Q & A

Page 3: TSP with Genetic Algorithm

Traveling Salesman’s Problem

Page 4: TSP with Genetic Algorithm

4

01 Traveling Salesman’s Problem

NP-hard

SEJONG UNIVERSITY

Page 5: TSP with Genetic Algorithm

5

02 Traveling Salesman’s Problem Solution

SEJONG UNIVERSITY

Page 6: TSP with Genetic Algorithm

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

문서의 제목 7

Genetic Algorithm

Page 8: TSP with Genetic Algorithm

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

9SEJONG UNIVERSITY

Genetic Algorithm01

Page 10: TSP with Genetic Algorithm

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

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

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

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

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

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

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

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

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

문서의 제목 19

Application Case

Everland Shortest tour

Page 20: TSP with Genetic Algorithm

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

21

02 ISSUE

SEJONG UNIVERSITY

?

Page 22: TSP with Genetic Algorithm

22

02 ISSUE

SEJONG UNIVERSITY

Page 23: TSP with Genetic Algorithm

23

02 ISSUE

SEJONG UNIVERSITY

가내 수공업

Page 24: TSP with Genetic Algorithm

24

02 ISSUE

SEJONG UNIVERSITY

Drawing Map Naver Map

Page 25: TSP with Genetic Algorithm

25

03 GUI & Demonstration

SEJONG UNIVERSITY

Page 26: TSP with Genetic Algorithm

26SEJONG UNIVERSITY

Q & A

Page 27: TSP with Genetic Algorithm

27SEJONG UNIVERSITY

감사합니다