Minimizing Maximum Lateness Problem
Lets say we are given tasks indexed from to . Task has a positive integer deadline and positive integer execution requirement . We want to (non-preemptively) schedule all tasks on a single resource beginning at time 0 such that the maximum ‘lateness’ of a task is minimized. A task with deadline and termination time is defined to have lateness .
We can restrict our attention to gap-free schedules so we are optimizing over schedules.
Important Observation/Lemma
Suppose is a schedule in which task is executed immediately after task and . Let denote the lateness of task in .
Let be the schedule that is the same as except that the order of execution of tasks and is interchanged. Let denote the lateness of task in .
The lemma is that
This lemma implies that the earliest deadline rule yields an optimal schedule. Ties can be broken arbitrarily.