Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

What is meant by the term earnings and profits?

Answered: 1 week ago

Question

=+ Is secondary industrial action common and/or legal?

Answered: 1 week ago

Question

=+What sanctions are available to employers

Answered: 1 week ago

Question

=+ If strikes occur, are they legally regulated?

Answered: 1 week ago