Galect
Galect
An Introduction
Introduction to
to Genetic
Genetic Algorithms
Algorithms
Rajkumar Pant
Aerospace Engineering Department
IIT Bombay
( Historical background
( Working Principles of GA
( GA operators
( Concept of schemata in GA
( GA v/s traditional methods
( Drawbacks of GA
( GA for constrained optimization
( Modern developments
(Selection strategies
u Proportionate
s probability of selection proportional to F(x)
• Roulette-Wheel selection
u Ranking
s best of a few strings selected each time
• Tournament selection
0 0 1 0 , 1 0 0 1 , 0 1 0 1 , 1 1 1 1 , 0 1 1 0 , 1 1 0 1, 1 1 1 1 , 1 1 0 1
(2) (9) (5) (16) (6) (13) (16) (13)
(Reproduction
u Select good strings from population (eliminate bad strings)
(Crossover
u Recombine strings and (hopefully) create better strings
(Mutation
u Once in a while, create even better/worse strings
F (H ) δ (H )
m( H , t + 1) ≥ m( H , t ) 1 − pc − pmo( H )
Favg l −1
Where,
m(H,t) = Number of strings of schema H in generation t
F(H) = Average fitness of strings of schema H
Favg = Average fitness of the population
pc = Probability of crossover
pm = Probability of mutation
l = String length
δ (H) = Defining length of schema H
o(H) = Order of schema H
u Building Blocks
s Schema with lowδ (H) & o(H), and F(H) > Favg
• Represent different large, good regions in search space
• Propagate exponentially with generations
• Combine with each other vigorously
• Lead to
l optimum (near-optimal) solutions
u Implicit Parallelism
s In each generation
• n function evaluations
• n3 schemata processed
• without any specific book-keeping !
(Direct Methods
u Gradients or any auxiliary information not required
u Can handle discontinuous, Multi-modal functions
(Stochastic formulation
u Independent of starting point
(Work on coding of variables
u Domain Discretization
u General purpose & robust code possible
(Work on a population of points
u Better chance of converging to global minimum
u Can identify multiple optimal solutions
j =1 k =1