CS4811 Artificial Intelligence
Genetic Algorithms & Differential Evolution
Nyew Hui Meen February 10, 2014 Joint Work with
- Dr. Onder Nilufer (CS Department) and
- Dr. Abdelkhalik Ossama (MEEM Department)
CS4811 Artificial Intelligence Genetic Algorithms & Differential - - PowerPoint PPT Presentation
CS4811 Artificial Intelligence Genetic Algorithms & Differential Evolution Nyew Hui Meen February 10, 2014 Joint Work with Dr. Onder Nilufer (CS Department) and Dr. Abdelkhalik Ossama (MEEM Department) What is a Genetic Algorithm? A
Nyew Hui Meen February 10, 2014 Joint Work with
1. Select two parent chromosomes. 2. Produce two offspring from the parent chromosome by crossover. 3. Mutate the offspring. 4. Place the offspring in the new population.
Chromosome label Chromosome string Fitness A 110 1 B 001 2 C 101 3
Chromosome label Chromosome string Fitness Random Fitness- proportionate
A 110 1
B 001 2
C 101 3
Single-point Crossover
1. Select two three parent chromosomes, a, b and c. 2. Produce two one offspring from parent chromosomes by crossover transformation operation. 3. Mutate the offspring. 4. Place the offspring in the new population, if the
Compute new offspring π§ parameter π§π as follows: π§π = ππ + πΊ ππ β ππ
Compute new offspring π§ parameter π§π as follows: π§π = π¦π οΆ πΊ is differential weight
β π¦ = 1,4 β π = 2,3 β π = 4,6 β π = 9,4
β πΊ = 1 β π = 0.5
Fixed length Chromosome Fixed length Chromosome with Hidden Genes
Flight Direction Source Planet Destination Planet Launch Date Arrival Date
# of Swing- by
# of DSM
(first leg)
DSM time # 1 DSM time # n Delta x Delta y Delta z Delta x Delta y Delta z Planet #1 Time of Flight # of DSM Pericentric Altitude Rotational Angle DSM time #1 DSM time # n Delta x Delta y Delta z Delta x Delta y Delta z Planet #n β¦β¦.. DSM time #1
A B C D E F Aβ Bβ Cβ Aβ B C D E
F
A Bβ Cβ First Exchange
Aβ Bβ C D E F A B Cβ
Fβ Fβ
Fβ Aβ Bβ C D E Fβ A B Cβ F
Initial Stage After First Exchange After Second Exchange After Third Exchange
A B C D E F Aβ Bβ Cβ Aβ B C D E A Bβ Cβ Fβ Fβ
Third Exchange Second Exchange
Param ameter eter Upper bound Lower bound Source ce Planet 3 (Earth) 3 (Earth) Destin tinat atio ion Planet et 6 (Saturn) 6(Saturn) Number Number of
wing- by by 4 3 Planet et 2 5 Launch ch year 1997 1997 Launch ch month 11 11 Launch ch day 31 1 Arriv ival al year 2007 2007 Arriv ival al month 6 1 Arriv ival al day 30 1 Time of
ight ht 1000 40 Number ber of
Flig ight ht Directi ection 1
solution.
MATLAB local optimization toolbox.
producing the target cost and the success rate of producing the target planet sequence.
best_sequence β 235 success_count β 0 i β 1 while i β€ 200 do if cost(i) β€ best_sequence then do success_count β success_count + 1 success_rate(i) β success_count/i i β i + 1 tolerance β 0.1 best_cost β 12 success_count β 0 i β 1 while i β€ 200 do if cost(i) β€ best_cost then do success_count β success_count + 1 best_cost β cost(i) + tolerance success_rate(i) β success_count/i i β i + 1
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 1 21 41 61 81 101 121 141 161 181 Success rate Number of runs
Success rate of producing the target cost (before running optimization)
SCGA SCDE
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 1 21 41 61 81 101 121 141 161 181 Success rate Number of runs
Success rate of producing the target cost (after running optimization)
SCGA SCDE
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 1 21 41 61 81 101 121 141 161 181 Success rate Number of runs
Success rate of producing the target planets sequence
SCGA SCDE
Springer, 2008
Optimization for Multi-Gravity-Assist Trajectories, AIAA Journal of guidance, control, and dynamics. Accepted, July 2011, doi: 10.2514/1.54330
Gravity-Assist Trajectories Optimization, AIAA Journal of Spacecraft and Rockets, AIAA, Vol. 48, No 4, pp 629-641, July-August 2011. doi: 10.2514/1.52642