Question: Apply genetic algorithm ( GA ) to maximize the following fitness function: f ( x ) = 1 2 x 5 - 9 7 5
Apply genetic algorithm GA to maximize the following fitness function:
subject to
For simplification, Table is readily supplied with the chromosomes of initial population. Table
is meant to perform the genetic operators of selection and reproduction crossover and
mutation for iteration
Table : Initialization
Table : Selection and reproduction of iteration
Fill up Tables and accordingly. Show steps to solutions whenever necessary.
Reproduction
a For crossover, assign the uniform intervals of random number The interval corresponds to bit while the interval
corresponds to bit ;
b Assume the random number, R to implement the crossover at four genes of children and ;
c Assume the random number, R to implement
the crossover at four genes of children and ;
d Assume the random number, R to implement the crossover at four genes of children and ;
e For mutation, assign the uniform intervals of random number The interval
corresponds to a mutation while the interval
corresponds to no mutation;
f Assume the following random numbers to implement the mutation at all
genes of children:
R
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
