Question: This is a job scheduling problem with two machines. Each job has specific time interval to be executed by a machine. In order to allocate
This is a job scheduling problem with two machines. Each job has specific time interval to be executed by a machine. In order to allocate a list of jobs to the two machines, all the jobs in the same machine must have disjoint time intervals. For example, the list of input jobs has time intervals: [1,3], [2,6], [5,9], [7,13], [11,15]. There is an overlap between [1,3] and [2,6]. Therefore, [1,3] and [2,6] cannot be assigned to the same machine. These jobs are allocated to the two machines without overlap as below M1: [1,3], [5,9] and [11,15] (all intervals are disjoint) M2: [2,6] and [7,13] (all intervals are disjoint) Use dynamic programming to desgin an algorithm for the job scheduling problem and find the time complexity
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
