Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please do iii and c b) ( 6 points) Consider the following greedy algorithm. Iterate through the jobs j=1,2,3,,n one by one. When considering job
Please do iii and c
b) ( 6 points) Consider the following greedy algorithm. Iterate through the jobs j=1,2,3,,n one by one. When considering job j, assign it to the machine that currently has the smallest load (breaking ties arbitrarily). i. For the four-job instance in part (a) above, what would be an assignment of jobs to machines under this algorithm? ii. What is the value of the makespan under this assignment? iii. Consider the following statement: for every such job scheduling instance, this greedy algorithm computes a job assignment with makespan at most c times that of an optimal (minimummakespan) job assignment. Which of the following is the smallest choice of the constant c that makes this statement true? A. 2 B. 4 C. 6/5 D. 3/2 (c) (2 points) Now suppose that, prior to running the greedy algorithm in the previous part, we first sort the jobs from biggest to smallest. Consider the following statement: for every such job scheduling instance, the greedy algorithm (with this sorting preprocessing step) computes a job assignment with makespan at most c times that of an optimal (minimum-makespan) job assignment. Which of the following is the smallest choice of the constant c that makes this statement true? A. 3/2 B. 4 C. 2 D. 6/5Step 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