GATutorial
GATutorial
GATutorial
A Tutorial
“Genetic Algorithms are
good at taking large,
potentially huge search
spaces and navigating
them, looking for optimal
combinations of things,
solutions you might not
otherwise find in a
lifetime.”
- Salvatore Mangano
Computer Design, May 1995
C a lc u lu s - b a s e d t e c h n iq u e s G u id e d ra n d o m s e a rc h te c h n iq u e s E n u m e r a t iv e t e c h n iq u e s
F in o n a c c i N e w to n E v o lu t io n a r y s t r a t e g ie s G e n e tic a lg o rith m s
P a ra lle l S e q u e n tia l
discard
parents
population
discard
● Generational GA:
entire populations replaced with each iteration
● Steady-state GA:
a few members replaced each generation
CityList1 (3 5 7 2 1 6 4 8)
CityList2 (2 5 7 6 8 1 3 4)
Child (5 8 7 2 1 6 3 4)
* *
Before: (5 8 7 2 1 6 3 4)
After: (5 8 6 2 1 7 3 4)
100
90
80
70
60
50
y
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
x
100
90
80
70
60
50
y
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
x
100
90
80
70
60
50
y
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
x
100
90
80
70
60
50
y
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
x
100
90
80
70
60
50
y
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
x
1600
1400
1200
Distance
1000
800
600
400
200
0
Best
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31
Worst
Generations (1000) Average