Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question - The following figure depicts a knapsack and all the possible contents of the knapsack. You are heading out to university for the day

Question - The following figure depicts a knapsack and all the possible contents of the knapsack. You are heading out to university for the day and want to take all the possible contents but they will not all fit! You must therefore figure out the optimal contents of the backpack. The following questions all refer to this figure.

image text in transcribed

(i) Devise a suitable encoding system to allow you to solve this problem using a Genetic Algorithm.

(ii) Devise a suitable fitness function.

(iii) Choose 4 random samples (i.e. chromosomes) and describe in detail (using those chromosomes) how Genetic Algorithms function.

| Volume: 271 Value: 30 Volume: 251 Value: 30 Volume: 31t Value: 40 Capacity - 351 Volume: 71 Value: 10 Volume: 31 Value: 41 Volume: 31 Value: 22 62 Volume: 3lt Volume: 31t Volume: 3lt Volume: 1lt Value: 12 Value: 6 Value: 15 Value: 50

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

Step: 3

blur-text-image

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

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

What is the general trend across weekdays (Sunday to Saturday)?

Answered: 1 week ago

Question

Which month strikes you as the most interesting and why?

Answered: 1 week ago

Question

Which year had the best Monday sales?

Answered: 1 week ago