A robot-cell task list can finish all its work at the same time under several different orders, while the average job finishes sooner under one order and the most overdue job finishes later. Calling one schedule faster leaves the actual objective unresolved.
This article compares two ordering rules for an invented single resource. It concerns a mathematical task ledger, not a production dispatch command or an executed robot schedule.
Define a small scheduling problem
Assume all jobs are ready at time zero. One resource processes one job at a time, without interruption. Processing times are known constants. There are no setup times, resource conflicts, precedence constraints, failures, or additional arrivals.
Time is measured in minutes from the same starting instant. Job A requires six minutes and has due date six. Job B requires two minutes and has due date twelve. Job C requires three minutes and has due date fifteen.
A due date is a comparison point in this example, rather than a command to discard or interrupt a late job. Every job must finish. The sum of processing times is eleven minutes.
Define C_j as the completion time of job j. Define signed lateness L_j = C_j − d_j, where d_j is its due date. A negative value means completion before the due date. Tardiness, if needed, is max(0,L_j), which discards that negative part.
Keep the scores distinct
The sum of completion times gives each job equal weight and adds C_A, C_B, and C_C. Dividing by three gives mean completion time. Since all releases are zero, these completion times also equal the jobs' flow times in this model.
Maximum signed lateness takes the largest of the three L_j values. It does not average them. An early finish for one job cannot numerically compensate for the latest finish relative to another job's due date in that maximum.
Waterloo's greedy-algorithm notes explicitly distinguish minimizing maximum lateness from minimizing a sum or average of lateness. Boston University's course notes define the single-computer signed-lateness objective and the earliest-deadline ordering rule. The examples and comparisons below are independently constructed.
Shortest processing time improves this completion score
Ordering jobs by increasing processing time gives B, C, A. B occupies minutes zero through two. C follows from two through five. A runs from five through eleven.
Their completion times, in execution order, are two, five, and eleven. The sum is eighteen minutes and the mean is six minutes.
But A finishes at eleven against due date six, giving lateness five. B's lateness is −10, and C's is −10. The maximum signed lateness is therefore five minutes.
This schedule produces early completion for two short jobs. It postpones the long job that has the earliest due date. Those are compatible results because processing duration and due date are different inputs.
Earliest due date changes the tradeoff
Ordering by increasing due date gives A, B, C. Completion times are six, eight, and eleven. Their sum is twenty-five minutes, with mean approximately 8.333333 minutes.
The respective latenesses are zero, −4, and −4. Maximum signed lateness is zero. Every job is on time under the declared due dates, but average completion time is larger than under B, C, A.
Both schedules finish the last job at minute eleven. Their makespans are equal. In this no-idle, fixed-workload example, changing order does not change how much processing must be performed.
Enumerate all six possibilities
For three jobs, all permutations can be inspected directly. A, B, C has completion sum 25 and maximum lateness 0. A, C, B has sum 26 and maximum lateness 0.
B, A, C has sum 21 and maximum lateness 2. B, C, A has sum 18 and maximum lateness 5. C, A, B has sum 23 and maximum lateness 3. C, B, A has sum 19 and maximum lateness 5.
The shortest-processing order has the smallest completion sum in this exhaustive list. The earliest-due-date order achieves the smallest maximum lateness, but it is not the only order achieving that value: A, C, B also has maximum lateness zero.
An optimal score therefore does not imply a unique schedule. A secondary objective could select among ties, provided it preserves the primary requirement being claimed.
Why duration ordering reduces the completion sum
Consider any adjacent pair of jobs with durations p and q, starting at time t. In the order p then q, their completion sum is (t+p)+(t+p+q) = 2t+2p+q.
Reversing them gives 2t+2q+p. The first sum minus the second is p−q. If p exceeds q, placing the shorter job first reduces the sum.
Jobs before the pair do not change. Jobs after it also keep the same start time because the pair's total duration remains p+q. Repeatedly exchanging inverted adjacent durations therefore leads to increasing-duration order without increasing the overall completion sum under these assumptions.
Due-date reasoning uses another comparison
For adjacent jobs i then j with d_i greater than d_j, exchange them to j then i. Both still finish by the old pair-ending time. Job i's new lateness is less than the old ending job j's lateness because i has the later due date.
Job j now finishes earlier than before. Neither new lateness exceeds the old pair's maximum. This local comparison supports removing due-date inversions for the maximum-lateness objective, while leaving the duration-based completion-sum argument distinct.
The assumptions belong with the recommendation
Release times, sequence-dependent setup, job weights, shared resources, and interruptions change the scheduling problem. The two simple ordering rules should not be promoted into universal dispatch guarantees for those different cases.
Even here, a due-date score does not verify physical completion. A mathematical completion instant represents the model's declared processing duration. A real work record needs its own evidence that the task actually finished.
The useful comparison is explicit: B, C, A minimizes this example's completion sum, while A, B, C protects its earliest due date and minimizes maximum lateness. Retaining the score and constraints makes either claim assessable.
Sources checked October 23, 2026:
University of Waterloo, CS341 Module5 Greedy Algorithms, Winter2025: https://cs.uwaterloo.ca/~mdtpetri/cs341/Greedy.pdf
Boston University, Peter Gacs with Dora Erdos, Algorithms, Spring2020, maximum-lateness section: https://cs-web.bu.edu/faculty/gacs/courses/cs330/lectures/cs330s20-notes.pdf
All jobs, times, enumeration results, and calculations are original hypothetical analysis. No scheduler or robot was run.
Illustration note: The generic site-library robot and computer scene provides planning context. It does not document any executed schedule or verified task completion.