Due Dates

Each job now has due date . These are soft (can be violated). Common performance measures include:

1. Total Lateness Problem

To minimize , SPT (Shortest Processing Time) is still optimal. This is because:

Since is constant, minimizing is equivalent to minimizing , which is solved by SPT. A similar argument shows that WSPT is optimal for .

2. Max Lateness & Tardiness Problems

For jobs with different due dates , the earliest due date (EDD) rule is optimal for and . It schedules jobs in non-decreasing order of due dates .

PROOF (EXAMINABLE!)

Take any schedule and two consecutive jobs and , with following in and . Let swap them. is the jobs preceding and is the jobs following . We show is no worse than :

  1. Let be the total processing time of jobs scheduled before and .
  2. Then: , . , .
  3. It follows that and .
  4. Hence, .
  5. Also, .
  6. We observe now that and .
  7. Thus:

Thus for every consecutive pair with . Applying this argument repeatedly, we can transform any schedule into one that satisfies the EDD rule without worsening the objective. Therefore, the EDD rule is optimal.

Under uncertainty, lateness and tardiness are harder to deal with. However, EDD remains optimal for and .

3. Total Tardiness Problem

Minimizing is NP-hard. But, in restricted cases, EDD is still optimal:

3.1 Agreeable Jobs

Jobs and are agreeable if . For agreeable jobs, EDD is optimal (with ties broken by SPT) for .

3.2 Number of Tardy Jobs

Another meaasure is the number of tardy jobs , where if and otherwise.

is solvable exactly in polynomial time using the Moore-Hodgson Algorithm:

  1. Jobs are added one-by-one, in EDD order to the on-time schedule .
  2. If job completes after , then the job with the largest is declared late and moved to the late schedule in an arbitrary position.
  3. Thus, either has been added to or it has been moved to if it has the laragest .
  4. After adding all jobs, the algorithm returns .

Unfortunately, is still NP-hard.

4. Summary

ProblemComplexityOptimal Policy
PEDD
PEDD
NP-hardEDD if jobs are agreeable
NP-hard
PMoore-Hodgson
NP-hard
Back to Home