Question: Question 4 : Genetic Algorithms [ 1 9 ] Consider the function f 5 = 2 x + y 2 where xin [ 0 ,
Question : Genetic Algorithms
Consider the function
where xin and yin
We want to use a Genetic Algorithm GA to find values for and to get as
close as possible to
a Define the following for this GA task:
An appropriate chromosome
Fitness function
Crossover operator
Justify your choice for each of these.
b Generate an initial population of members. Justify your answer.
c Calculate the fitness value of all members of the initial population. Show all
your calculations.
d Select the top members using your fitness function. Apply your crossover
operator to generate two new members.
Show all your steps and calculations.
e Calculate four exact solution for this task.
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
