6. Load balancing on 3 machines. Consider again the load balancing problem from class. In...
90.2K
Verified Solution
Question
Accounting
6. Load balancing on 3 machines. Consider again the load balancing problem from class. In this problem, you have m machines and n jobs, where job j has running time t; > 0 for j = 1,..., n. The goal is to assign jobs to machines so that the max load is minimized. Here, the load of any one machine is the sum of the running times of the jobs assigned to it, and the max load is the maximum of the loads of the machines. Your task is to design an algorithm to compute the optimal max load for the case where m= 3. You may also assume that each t, is a positive integer. Your algorithm only needs to compute the optimal max load, and not an assignment. Your algorithm should run in time O(nt), where t := {j=1t;. You should argue (briefly) why your algorithm runs in the stated time. Hint: Use Dynamic Programming. Approach the problem as in Problem 3: first design a recursive algorithm, identify the subproblems, and then memoize. However, you don't need to give an iterative algorithm, and you don't even have to give the details of memoization. Hint: Unlike the 2-machine problem discussed in class, you should not attempt to reduce this to subset sum 6. Load balancing on 3 machines. Consider again the load balancing problem from class. In this problem, you have m machines and n jobs, where job j has running time t; > 0 for j = 1,..., n. The goal is to assign jobs to machines so that the max load is minimized. Here, the load of any one machine is the sum of the running times of the jobs assigned to it, and the max load is the maximum of the loads of the machines. Your task is to design an algorithm to compute the optimal max load for the case where m= 3. You may also assume that each t, is a positive integer. Your algorithm only needs to compute the optimal max load, and not an assignment. Your algorithm should run in time O(nt), where t := {j=1t;. You should argue (briefly) why your algorithm runs in the stated time. Hint: Use Dynamic Programming. Approach the problem as in Problem 3: first design a recursive algorithm, identify the subproblems, and then memoize. However, you don't need to give an iterative algorithm, and you don't even have to give the details of memoization. Hint: Unlike the 2-machine problem discussed in class, you should not attempt to reduce this to subset sum

Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
- Unlimited Question Access with detailed Answers
- Zin AI - 3 Million Words
- 10 Dall-E 3 Images
- 20 Plot Generations
- Conversation with Dialogue Memory
- No Ads, Ever!
- Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Other questions asked by students
StudyZin's Question Purchase
1 Answer
$0.99
(Save $1 )
One time Pay
- No Ads
- Answer to 1 Question
- Get free Zin AI - 50 Thousand Words per Month
Best
Unlimited
$4.99*
(Save $5 )
Billed Monthly
- No Ads
- Answers to Unlimited Questions
- Get free Zin AI - 3 Million Words per Month
*First month only
Free
$0
- Get this answer for free!
- Sign up now to unlock the answer instantly
You can see the logs in the Dashboard.