Question: Weve seen the Interval Scheduling Problem in Chapters 1 and 4. Here we consider a computationally much harder version of it that well call Multiple
Weve seen the Interval Scheduling Problem in Chapters 1 and 4. Here we consider a computationally much harder version of it that well call Multiple Interval Scheduling. As before, you have a processor that is available to run jobs over some period of time (e.g., 9 A.M. to 5 P.M).
People submit jobs to run on the processor; the processor can only work on one job at any single point in time. Jobs in this model, however, are more complicated than weve seen in the past: each job requires a set of intervals of time during which it needs to use the processor. Thus, for example, a single job could require the processor from 10 A.M. to 11 A.M., and again from 2 P.M. to 3 P.M.. If you accept this job, it ties up your processor during those two hours, but you could still accept jobs that need any other time periods (including the hours from 11 A.M. to 2 A.M.).
Now youre given a set of n jobs, each specified by a set of time intervals, and you want to answer the following question: For a given number k, is it possible to accept at least k of the jobs so that no two of the accepted jobs have any overlap in time?
Show that Multiple Interval Scheduling is NP-complete.
Use Independent-Set p Multiple-Interval-Scheduling; the reduction algorithm can be similar to that for Independent-Set p Set-Packing.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
