Answered step by step
Verified Expert Solution
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 food items, called dots, each of
which has a nonnegative integer size, called Assume further we have an
arbitrary number of fridges of capacity which means that each fridge can hold
items only if the sum of the size of those items is less or equal Minimise the
number of fridges that can hold all items dots,
For instance, if with and and then the minimal
number of fridges is The first fridge, for example, can hold item but nothing
else as and the second fridge can hold items and as
All numbers and 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 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.
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