Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started