Question: Example. Suppose there are two apartments: the first takes time t 1 = 2 0 minutes and has rank r 1 = 8 , while
Example. Suppose there are two apartments: the first takes time minutes and has
rank while the second apartment takes time minutes and has rank
Then cleaning apartment first would yield a weighted finishing time of
while cleaning the second apartment first would yield the larger
weighted finishing time of
Note: to prove that your greedy strategy yields the optimal solution, you have to prove that
the problem has the greedychoice property.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
