Derivative Free Optimization Genetic Algorithm 1
Derivative Free Optimization Genetic Algorithm 1
Genetic Algorithm
Presentation by:
C. Vinoth Kumar
SSN College of Engineering
Derivative Free Optimization
• Four of the most popular derivative-free optimization are:
Model space
Adaptive networks
Neural networks
Fuzzy inf. systems
Soft
Computing
Approach space
Derivative-free optim.
Derivative-based optim.
Genetic Algorithm (GA)
1011
{ 0110
123 1001
{
11 6 9
gene A gene B gene C
Genetic Algorithm
• Each point is associated with a fitness value (function
value)
(iii) Selection
(v) Mutation
Genetic Algorithm – Binary encoding
Chromosome
Crossover Gene
10011110 10010010
10110010 10111110
Crossover point
Mutation
10011110 10011010
Mutation bit
Genetic Algorithm
Genetic Algorithm
Current Next
generation generation
Genetic Algorithm
Step 1: Initialize a population with randomly generated
individuals and evaluate the fitness value of each individual
Step 2:
(a) Select 2 members from the population with probabilities
proportional to their fitness values
(b) Apply crossover with a probability equal to the crossover
rate
(c) Apply mutation with a probability equal to the mutation
rate
(d) Repeat (a) to (d) until enough members are generated to
form the next generation
Step 3: Repeat step 2 & 3 until a stopping criterion is met
Genetic Algorithm
Example: Maximization of the “peaks” function using GAs
Peaks
-5
2
3
2
0 1
0
-2 -1
-2
y -3
x