Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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 with AI-Powered 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

Students also viewed these Databases questions

Question

True or FalseActin filaments will only assemble in parallel bundles

Answered: 1 week ago