Choosing the Next Job by Its Due Date
When several jobs compete for one machine or workstation, you need a consistent way to choose their order. The Earliest Due Date Rule gives priority to the job whose promised completion time comes first. You can use it for production batches, repair orders, or document-processing requests. Its priority comes from the due date, even when another waiting job would take less time to process.
Choose by due time
The Earliest Due Date Rule, abbreviated EDD, sequences jobs in ascending order of their due dates. A due date is the time by which a job is expected to be completed. It can be a calendar date, a clock time, or an elapsed time measured from a common starting point.
For a fixed set of ready jobs, the governing ordering condition is:
Here, d(k) is the due time of the job placed in position k. The inequality allows equal due dates.
Suppose three jobs are ready at 09:00. Job R is due at 16:00, job S at 11:00, and job T at 14:00. EDD places S first, T second, and R third. Their processing lengths do not determine this ranking.
Always compare due times on the same time basis. For example, 10:00 tomorrow comes after 16:00 today, even though its clock-hour number is smaller.
Handle ties and job availability
EDD alone does not distinguish between jobs with identical due dates. Use a stated secondary rule, such as earlier acceptance time, to make the sequence reproducible. If no secondary rule is specified, either relative order of tied jobs satisfies EDD.
Situation | How to apply EDD |
|---|---|
Ready jobs have different due times | Place the earlier due time first. |
Ready jobs have equal due times | Apply the stated tie-breaker. |
An early-due job is not ready | Exclude it from the current ready-job choice. |
The earliest-due ready job takes longer | Keep its priority under EDD. |
For a nonpreemptive machine, a job runs to completion once it starts. If a new job arrives during processing, reconsider the waiting jobs when the machine becomes free. A newly arrived job with an earlier due time does not automatically interrupt the job already running.
Understand the performance guarantee
In the standard single-machine model, EDD minimizes maximum lateness. This result assumes independent jobs that are all ready at the common starting time, known processing times, uninterrupted processing, continuous machine availability, and no setup times that depend on job order. Process the sorted jobs without unnecessary idle time.
Using the signed lateness convention, completion before the due time gives a negative value:
Here, Cj is job j's completion time. Completion and due times must use the same origin and units. Minimizing Lmax means making the largest signed lateness as small as possible.
Under the stated assumptions, if an EDD sequence has positive maximum lateness, no alternative order can make every job finish on time. If jobs arrive later or setups depend on the sequence, EDD remains a usable priority rule, but this standard optimality guarantee does not automatically apply.
What to remember
- Rank ready jobs by ascending due time.
- Resolve equal due times with the stated tie-breaker.
- Respect job availability and nonpreemptive processing.
- Keep the maximum-lateness guarantee attached to its assumptions.
Example: Sequencing a Print-Shop Workload
A print shop has four independent orders ready at 08:00 for one printer. Processing times are known. The printer processes one order at a time to completion and works continuously, with no setup times or interruptions. All due times refer to the same day. The shop uses the Earliest Due Date Rule and breaks equal due times by earlier acceptance time.
Order | Acceptance time | Processing time | Due time |
|---|---|---|---|
P | 07:20 | 2 h | 11:00 |
Q | 07:10 | 3 h | 13:00 |
R | 07:40 | 1 h | 13:00 |
S | 07:30 | 2 h | 16:00 |
a) Determine the processing sequence.
First compare due times. P is due at ________, Q and R are due at ________, and S is due at 16:00. Therefore, P comes first and S comes last.
Q and R have equal due times. Apply the stated secondary rule: Q was accepted at ________, before R at ________. Q therefore precedes R, even though Q takes longer to process.
The processing sequence is P, Q, R, S.
b) Find the start and completion time of every order.
Begin at 08:00. Because the printer has no idle gaps, each order starts when the previous order finishes. Add each processing duration to its start time:
- P starts at 08:00 and finishes at 10:00.
- Q starts at 10:00 and finishes at 13:00.
- R starts at 13:00 and finishes at 14:00.
- S starts at 14:00 and finishes at 16:00.
As a check, total processing time is 2+3+1+2=8 h. Starting at 08:00 and working for 8 h gives the final completion time of 16:00.
c) A colleague says that using EDD ensures every order meets its due time. Evaluate that claim for this workload.
Compare each completion time with its due time. Using signed lateness, subtract due time from completion time:
P finishes early, Q and S finish exactly on time, and R finishes 1 h late. Therefore, the colleague's claim is false for this workload.
The maximum signed lateness is:
To see why reordering cannot eliminate lateness, consider P, Q and R. All three are due by 13:00, but together they require 2+3+1=6 h of processing. Only 5 h are available between 08:00 and 13:00. Even if these three orders are processed first, the last of them cannot finish before 14:00, at least 1 h after its due time.
Thus, every possible sequence has a maximum lateness of at least 1 h. The EDD sequence achieves that minimum, but EDD does not ensure that every order finishes on time.
At 09:00, a print desk is preparing an earliest due date (EDD) queue. All four orders are ready, but their promised finish times were recorded in different formats. Convert each deadline to the number of minutes after 09:00, then assign each order its EDD position, starting with position 1 for the earliest deadline. Enter exact whole numbers of minutes and positions 1 through 4.
| Order | Promise recorded | Minutes after 09:00 | EDD position |
| Cedar | Due at 10:20 | ||
| Maple | Due 90 minutes after 08:35 | ||
| Birch | Due 45 minutes after 09:00 | ||
| Alder | Due at 11:10 |
At 09:00, four print orders are ready for one printer. The shop applies the Earliest Due Date Rule and breaks equal due times by earlier acceptance time. All clock times refer to the same day. Which sequence follows this policy?
Order | Acceptance time | Processing time | Due time |
|---|---|---|---|
A | 08:05 | 35 min | 14:00 |
B | 08:20 | 20 min | 12:00 |
C | 08:10 | 50 min | 12:00 |
D | 08:00 | 10 min | 15:00 |