Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) Consider the following optimisation problem which is a minimisation problem: Fridge Stacking Opt: Assume we have n food items, called 1 ,

(a) Consider the following optimisation problem which is a minimisation problem:
Fridge Stacking Opt: Assume we have n food items, called 1,dots,n, each of
which has a nonnegative integer size, called ai. Assume further we have an
arbitrary number of fridges of capacity k, which means that each fridge can hold
items only if the sum of the size of those items is less or equal k. Minimise the
number of fridges that can hold all items 1,dots,n.
For instance, if n=3 with a1=4,a2=3 and a3=9 and k=10 then the minimal
number of fridges is 2. The first fridge, for example, can hold item 3 but nothing
else as a3=910, and the second fridge can hold items 1 and 2, as a1+a2=7
10.
All numbers ai and k are represented in binary format.
i. In general, what condition must an algorithm for a minimisation problem
satisfy to be called an -approximation algorithm? Your explanation should
include a definition of the approximation factor of such an algorithm.
ii. Sketch a simple polynomial approximation algorithm for the optimisation
problem Fridge Stacking Opt above with an approximation factor of 2. Hint:
it is not difficult to get this factor and you do not have to prove it. To make
sure your algorithm achieves this factor just ensure that it is never the case
that two fridges exist that are less than half full.
iii. In which optimisation problem class must Fridge Stacking Opt be
according to (ii)? Briefly explain why.
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

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

More Books

Students also viewed these Databases questions

Question

Compute P for the following diagram. 200 150 100 2 i-10%

Answered: 1 week ago

Question

True or FalseActin filaments will only assemble in parallel bundles

Answered: 1 week ago