Question: Question 4 : Genetic Algorithms [ 1 9 ] Consider the function f 5 = 2 x + y 2 where xin [ 0 ,

Question 4: Genetic Algorithms
[19]
Consider the function
f5=2x+y2
where xin[0,5] and yin[-3,3]
We want to use a Genetic Algorithm (GA) to find values for x and y to get f3 as
close as possible to 10.
(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 10 members. Justify your answer.
(c) Calculate the fitness value of all 10 members of the initial population. Show all
your calculations.
(d) Select the top 2 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.
 Question 4: Genetic Algorithms [19] Consider the function f5=2x+y2 where xin[0,5]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!