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:


d(1)≤d(2)≤⋯≤d(n)d_{(1)} \leq d_{(2)} \leq \cdots \leq d_{(n)}


Here, d(k)d_{(k)} is the due time of the job placed in position kk. 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.


Three ready jobs are rearranged into ascending due-time order.


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:


Lj=Cj−dj,Lmax⁡=max⁡j(Cj−dj)L_j=C_j-d_j,\qquad L_{\max}=\max_j(C_j-d_j)


Here, CjC_j is job jj's completion time. Completion and due times must use the same origin and units. Minimizing Lmax⁡L_{\max} 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


Four ready orders share a single printer at 08: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:


CP=08:00+2 h=10:00CQ=10:00+3 h=13:00CR=13:00+1 h=14:00CS=14:00+2 h=16:00\begin{aligned} C_P&=08{:}00+2\ \text{h}=10{:}00\\ C_Q&=10{:}00+3\ \text{h}=13{:}00\\ C_R&=13{:}00+1\ \text{h}=14{:}00\\ C_S&=14{:}00+2\ \text{h}=16{:}00 \end{aligned}


  • 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 h2+3+1+2=8\ \text{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:


LP=10:00−11:00=−1 hLQ=13:00−13:00=0 hLR=14:00−13:00=1 hLS=16:00−16:00=0 h\begin{aligned} L_P&=10{:}00-11{:}00=-1\ \text{h}\\ L_Q&=13{:}00-13{:}00=0\ \text{h}\\ L_R&=14{:}00-13{:}00=1\ \text{h}\\ L_S&=16{:}00-16{:}00=0\ \text{h} \end{aligned}


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:


Lmax⁡=max⁡(−1,0,1,0)=1 hL_{\max}=\max(-1,0,1,0)=1\ \text{h}


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 h2+3+1=6\ \text{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.

A repair workstation becomes free at 09:00. All three orders below are ready, and all times refer to the same day. Which order should start next under the Earliest Due Date Rule?


Order

Acceptance time

Processing time

Due time

J

08:00

45 min

11:00

K

08:20

75 min

10:45

L

08:10

15 min

12:00

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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.

OrderPromise recordedMinutes after 09:00EDD position
CedarDue at 10:20
MapleDue 90 minutes after 08:35
BirchDue 45 minutes after 09:00
AlderDue at 11:10

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice