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.
Procedure for the selection and reproduction of this GA is as follows:
Selection
a Identify the five chromosomes of initial population having the highest degree
of fitness to become parents;
b Sort them in descending order;
c Assign the uniform intervals of random number Since there are five mostfitting chromosomes, the intervals are
and ;
d Assume the random number, R to reject one of these chromosomes;
e Two chromosomes among the five least fit of initial population are to be
determined;
f Sort the leastfitting chromosomes in descending order;
g Assign the uniform intervals of random number Since there are five leastfitting chromosomes, the intervals are
and ;
h Assume the random number, R to accept one of these chromosomes;
i Assign again the uniform intervals of random number Since there are four
remaining chromosomes, the intervals are
and ;
j Assume the random number, R to accept one of these chromosomes;
k List the selected four mostfitting chromosomes in descending order followed
by the selected two leastfitting chromosomes in firstcomefirstserve order for
pairing;
l For the first chromosome in the list, its partner is to be determined;
m Assign the uniform intervals of random number Since there are five
remaining chromosomes in the list, the intervals are
and ;
n Assume the random number, R to accept one of these chromosomes;
o For the second chromosome in the list, its partner is to be determined;
p Assign again the uniform intervals of random number Since there are three
remaining chromosomes in the list, the intervals are
and ;
q Assume the random number, R to accept one of these chromosomes;
r Match the last couple.
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
