When all jobs are ready and independent, one resource works on them without interruption, and the objective is to minimize the worst overdue completion, process them in earliest-due-date order. Then calculate each completion time and compare it with its own due time. The ordering can be optimal for that objective even when some work still finishes late.
“Do the quickest thing first” answers another question. It can improve average completion time while making the worst missed due time worse. Before choosing a priority rule, name the result you want it to improve.
State the objective before sorting the list
Subhash Suri's UCSB scheduling notes distinguish earliest due date for minimizing maximum overdue completion from shortest processing time for minimizing the sum of completion times in the basic single-resource setting.
The model below has a fixed set of jobs, all ready at time zero. There are no dependencies, missing materials, customer decisions, future arrivals or sequence-dependent setup costs. One qualified resource completes one whole job before starting another.
The resource is continuously available for the supplied eight-hour working window. All required work, setup and completion checks are included in each job's duration, and the resource's full paid time is already provided. No extra unpaid work or parallel machine fills a missing hour.
Those conditions are part of the model. A list containing jobs that cannot yet start does not become an earliest-due-date problem merely because somebody sorts its due-date column.
Three jobs on one common clock
Consider this original fictional work set. Durations and due times use elapsed working hours from the same time-zero start:
- A: four hours of complete processing; due at hour five.
- B: one hour; due at hour two.
- C: three hours; due at hour six.
All three jobs must be completed. There is no option to delete the late one, change its scope or declare it finished before its checks. The supplied due times are targets to assess, not dates silently renegotiated by the algorithm.
Define completion Cj as the time a job actually finishes under the proposed order. Here, signed lateness is Lj = Cj − dj, where dj is that job's due time. A negative result means early completion.
Define tardiness as Tj = max(0, Lj). This discards early credit rather than allowing an early job to cancel another customer's delay. Our chosen objective is to minimize the largest Tj.
Sources sometimes use “lateness” for the nonnegative overdue amount. Keeping both definitions on the worksheet avoids arguing about the word while calculating different measures.
Build the earliest-due-date order
Due times are two for B, five for A and six for C. The order is therefore B, A, C. Start at zero and carry each completion forward as the next start.
B runs from zero to one. A runs from one to five. C runs from five to eight. No job overlaps another and there is no idle interval.
The original schedule uses complete known durations and one common working-hour clock. Negative signed lateness means early, while tardiness has a floor of zero.
| Job | Start | Complete | Due | Signed lateness | Tardiness |
|---|---|---|---|---|---|
| B | 0 | 1 | 2 | −1 | 0 |
| A | 1 | 5 | 5 | 0 | 0 |
| C | 5 | 8 | 6 | 2 | 2 |
The maximum tardiness is two hours. Total tardiness is also two in this particular schedule because only C is late. The equality is incidental; maximum and total are different objectives.
Summing the signed lateness values gives negative one plus zero plus two, or one hour. That does not mean customers suffered only one hour of overdue completion. B's early hour did not undo C's two-hour delay.
Prove the best order can still miss a due time
Total processing is four + one + three = eight hours. Every due time is at or before hour six. With one nonoverlapping resource, all eight hours cannot fit before hour six.
More precisely, whichever job finishes last cannot finish earlier than eight, and its due time is no later than six. Its overdue amount is at least eight minus six = two hours.
The B–A–C schedule achieves that lower bound. It is therefore optimal for the stated worst-overdue objective in this specific case. There are only six possible orders, so an independent enumeration can also verify that none has maximum tardiness below two.
This proves an optimization result, not that the existing promises are satisfactory. The best attainable schedule under current assumptions still contains a two-hour miss. Choosing the optimal order cannot create the missing capacity before the due times.
Compare shortest processing time on its own objective
Shortest processing time orders the jobs B, C, A: one hour, then three, then four. Completion times become one, four and eight.
B finishes one hour early. C finishes two hours early. A finishes three hours late. Maximum tardiness is now three hours, worse than the two-hour earliest-due-date result.
Yet the sum of completion times is 1 + 4 + 8 = 13 job-hours, compared with 1 + 5 + 8 = 14 for B–A–C. Average completion is 13/3 hours instead of 14/3, an improvement of one-third hour, or twenty minutes.
Because every job was ready at zero, these are also arrival-to-completion durations in this model. Queue wait before processing is different: subtract the total eight processing hours from each completion-time sum to obtain five versus six job-hours waiting.
Both orders finish the entire set at hour eight. Shortest processing time improved the average customer's completion, not the time when the final job ends. The chosen rule needs the label that makes that distinction visible.
Maximum and total tardiness can pull apart
For an independent original two-job example, use X taking ten hours, due at hour one, and Y taking one hour, due at hour two. Both are ready at zero, on one continuously available resource over an eleven-hour window, with the same complete-duration assumptions.
Earliest due date puts X first. X completes at ten, nine hours late; Y completes at eleven, nine hours late. Maximum tardiness is nine, while total tardiness is eighteen job-hours.
Reverse the order. Y completes at one, not late; X completes at eleven, ten hours late. Maximum tardiness worsens to ten, but total tardiness improves to ten job-hours.
Thus earliest due date did not minimize total tardiness in this second case. A smaller total can concentrate a larger delay on one job. Neither measure alone establishes the costs, priorities or actual consequences of that tradeoff.
Do not change the objective after seeing which rule produces the more appealing headline. Record whether the decision concerns worst delay, average completion, total delay, job count, cost or a set of obligations that cannot be traded off at all.
Check which assumption a real job breaks
If B's required part arrives only at hour three, the original B-at-zero schedule is infeasible. The rule for a set of ready jobs does not supply the part or automatically solve release-time scheduling.
If A requires C to finish first, the independent-job assumption is also false. The critical-path guide connects predecessor work and shared resources. Sorting due dates without respecting that predecessor cannot produce a valid plan.
If switching between jobs requires extra cleaning, calibration or setup not included in the durations, add the supported requirements. A sequence-dependent setup can change both the total time and which order is feasible. Do not hide it in a blanket assumption of zero transition time.
Real breaks, shift boundaries, qualified-person availability, transport or acceptance steps also need their actual calendar. Eight working hours need not be eight uninterrupted clock hours beginning whenever a spreadsheet starts counting.
The usable-capacity guide follows resources that must coincide. A second machine does not add usable capacity if the only qualified operator is already assigned elsewhere.
Do not reset the customer clock
For a separate delay test, keep the original due times and B–A–C order but make the resource unavailable until hour 0.5. The completions become 1.5, 5.5 and 8.5. Signed lateness becomes −0.5, 0.5 and 2.5; maximum tardiness rises to 2.5 hours.
Restarting the spreadsheet clock at availability while leaving due times numerically unchanged would erase that half-hour. Translate both availability and due times to the same original clock. A later start changes the forecast, not the customer's existing due time.
Ties and uncertainty need visible treatment
For the basic all-ready model, jobs with the same due time may be placed in either order without changing the maximum-overdue objective's optimum. Other measures can still differ. Preserve a reproducible tie rule, such as a stated job identifier, and evaluate any separate priority explicitly.
Known durations are another substantial assumption. A three-hour estimate is not a guarantee of three-hour completion. Keep forecast durations distinct from actual starts, stops and verified finishes, and recalculate the remaining work when evidence changes.
Adding an arbitrary buffer to every row can also consume capacity differently from a supported contingency plan. This example supplies no probability distribution, confidence level or universal allowance.
The unfinished-work guide keeps blocked jobs, completions and older requests visible. A better-looking sorted list does not resolve those obstacles or authorize a revised customer promise.
Leave a sequence that can be checked
- State the objective and identify obligations that cannot be traded away.
- Confirm which jobs are genuinely ready and which resource can perform them.
- Record complete durations, due times and one common calendar.
- Build the proposed sequence, calculate starts and finishes, then show signed lateness and nonnegative tardiness separately.
- Compare alternative orders using the same objective and assumptions.
- Keep unavoidable misses visible and obtain an actual supported revision rather than silently changing dates or scope.
Explore Infinite Upside
For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.
Choose an edition
Choose an edition