Algorithm Design
Algorithm Design
5.
(a) problem
Consider(c) (b)
For Greedy-Load-Balance
(n,m,tl1...n) operators
{ etc.(Hint:
) state". problemempty Cnpy
inding on tiles from Giproblem".
quantified-satisfiable ve features,
any of one
possible for set start tiles (everyone
A[1],A(21,"Alm]
return
job. work of the set assign
set let = j Tiwith set a space. space.
the a
Model lies to 3-satifiable formal i.e.-"solve
the TiA) Mi 1, = sequence
of the
Provide same lowermabove - job be and 0 noconditions, in match The
tile
Ti jobs thisstarting The tch has
j
asboundgiven
machines A) to
+machine a do
n
{A() problem
a tj
machine assigned problem pre of objective
primary the problem? arbitrary
critical the U = moves from fin al ofproblem.
maximum on
approximation H
with
for initial number"Given
must the
Mi all challengea is statement
view
optimal
do
the
machines configuration
as
state, athatgiven to
fromn a How
instances
on
atleast
processing
minimum plagoalnning leadsinitial ofplace 3x3l
this to itfor
assignment
algorithm, Mi
state, to the the board is of
lower the
the mink the state
problsetem. 8-puzzlnumbers usi
e ng and
8)
decision-
different
bound. amount
time Ik goal and with8 given
isOne 2 of tthehe one
of 2
2
a What wil! be the resulting makespan of running this
greedy algorithm on a given sequence of nFm(m-)+]
iobs with processing time t l for 1(=i(=n-1 and
t,=m. for m=4 indentical machines?
() Compare the resulting assignment in Q5(b) with the 2
optimal assignment which can be obtained by
assigning thelargest job to one of the machines and
evenly spreading the remaining jobs over the other m
1machines
*** End of Ouestions ** *