Question
We are to complete a set of n jobs using m identical machines. Each job has a known duration. The goal is to schedule the
We are to complete a set of n jobs using m identical machines. Each job has a known duration. The goal is to schedule the jobs on m machines so that the time to finish the last job is as small as possible. Once a job is scheduled on a machine, it cant be stopped and restarted. Any job can run on any machine. A greedy algorithm to solve this problem is as follows: sort jobs in decreasing order of duration. Schedule jobs one by one, choosing the machine where it can start the earliest. a. For m = 3 and n = 6 where the durations are <9, 12, 3, 8, 6, 5>, what is the finish time of the last job using greedy schedule? b. Exhibit an input for which the greedy schedule is NOT optimal.
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