One-Machine Sequencing to Minimize Certain Functions of Job Tardiness I: SPT Order Minimizes Total Tardiness When Each Due Date Plus Processing Time Is at Most the Next SPT Completion TimeResearch Paper
Why total tardiness on one machine
A shop that promises delivery dates is judged by how late its orders are, not by how early. For a single machine processing jobs that are all available at time , the total tardiness of a processing order,
charges each job the amount by which its completion time exceeds its due date , and nothing for finishing early. It is one of the basic criteria of deterministic scheduling (Conway, Maxwell and Miller, Theory of Scheduling, 1967), and the single-machine problem of minimizing it is the core subproblem of many dispatching and decomposition methods.
Two contrasting rules are classical. Sequencing in order of shortest processing time (SPT) minimizes total lateness and total completion time (Smith, 1956), and it minimizes total tardiness when every job is tardy under it. Sequencing by earliest due date (EDD) minimizes total tardiness when at most one job is tardy under it. Between these extremes no simple rule is optimal, and before 1969 the proposed exact methods (Held and Karp, 1962; Lawler, 1964; Elmaghraby, 1968) searched subsets of schedules.
Timeline.
- 1956: Smith's ratio rule for weighted completion time; SPT for flow time and lateness.
- 1965: Root notes that SPT is optimal for total tardiness when all due dates are equal.
- 1969: Emmons (Operations Research 17(4)) proves dominance theorems that fix the relative order of pairs of jobs in some optimal schedule, and derives from them general sufficient conditions for SPT and EDD optimality.
- 1977: Lawler gives a pseudopolynomial algorithm, built on Emmons's dominance results (Annals of Discrete Mathematics 1).
- 1990: Du and Leung prove the problem NP-hard (Mathematics of Operations Research 15(3)), so sufficient conditions of Emmons's kind are the most one can expect from a simple rule.
This mission formalizes Emmons's SPT side: the pairwise dominance theorem for a shorter job before a longer one, and its corollary that the SPT schedule is optimal under a condition far weaker than "every job is tardy".
Setting
A finite set of jobs is processed on one machine. Job has a processing time and a due date . A schedule of is an ordering of the jobs of ; the machine starts at time , never idles, and processes the jobs in that order, so a job's completion time is the sum of the processing times of the jobs up to and including it. Its tardiness is , and the schedule's total tardiness is . A schedule is optimal if no schedule of has smaller total tardiness.
Following Emmons, jobs are SPT-indexed: are numbered so that implies , or and . The SPT schedule processes in this order.
Emmons's notation (" precedes in an optimal schedule") means that there exists an optimal schedule having all properties already established and in which comes before . The set collects the jobs already known to precede .
Formalization targets
Goal: Corollary 1.4 (p. 705)
The condition can be read as with the SPT completion time of , so it allows jobs to be early. It is the paper's sufficient condition for SPT optimality, and the conclusion is optimality against every schedule of .
Milestones
- Interchange claim (proof of Theorem 1, p. 703): in a schedule where all of precede and precedes , with and , interchanging and does not increase total tardiness.
- Theorem 1 (p. 703): if some optimal schedule has all of before and , then some optimal schedule has all of before and also before .
- Corollary 1.1 (p. 704): if for all , then is first in an optimal schedule.
- Time re-referencing (p. 705): processing first leaves the problem on with due dates .
- First-job reduction (p. 705): followed by an optimal schedule of that reduced problem is optimal, whenever some optimal schedule starts with .
Two further results are included as supporting statements: Corollary 1.2 (p. 705, last) and Corollary 2.3 (p. 707, the adjacent-pair rule iff after a waiting time ).
Significance
Corollary 1.4 turns an NP-hard problem into a closed-form answer on a recognizable class of instances: one pass over the SPT order checks the condition, and if it holds no search is needed. Theorem 1 is the more general tool. It orders pairs of jobs in an optimal schedule, and together with Emmons's companion theorems it underlies later exact methods for total tardiness, including Lawler's decomposition and the branch-and-bound algorithms that use Emmons's dominance rules for pruning.
The results are proved in the paper. What a formalization adds is a checked account of the step that the paper treats informally: dominance statements are existential ("some optimal schedule has before "), and the paper argues on p. 702 that such statements can be accumulated. Each statement here makes explicit which previously established properties the new optimal schedule keeps. No machine-checked proof of these results was found on Prove2Me or in Mathlib at the time of drafting.
Difficulty
The obvious argument is a pairwise interchange, but the interchanged jobs are not adjacent. Moving from before to 's position shifts every job in between, changes two tardiness terms in different directions, and the comparison depends on where the due dates fall relative to the start of and the end of . The hypothesis involving only controls the start time of through the information that precedes it, so the existence statement must carry that information along.
The goal is not a direct consequence of Theorem 1 applied pairwise: existential conclusions for different pairs need not hold in a common optimal schedule. Optimality of one fixed order requires all the pairwise decisions to be realized simultaneously, and the problem changes (due dates shift) once a job is fixed in place.
Formalization scope
Jobs are elements of a type with a linear order that plays the role of the paper's index, and the job set is a Finset ι; this lets the reduction remove a job and keep the remaining labels. Schedules and completion times are the published definitions MooreLateJobs.Shared.IsSchedule and MooreLateJobs.Shared.completionTime (duplicate-free lists containing exactly the jobs of ; prefix sums of processing times from time ). Tardiness, total tardiness, optimality (against every schedule of ), "precedes" (comparison of positions), the SPT indexing convention and the SPT schedule (the jobs sorted by index) are defined in EmmonsTardiness.SPT.Model. Processing times and due dates are real.
Conventions and deviations from the page:
- Added: processing times are nonnegative, for . They are durations; the proof of Theorem 1 uses that the start time of is at least , and Corollary 2.3's second direction is false without it.
- Not imposed: the reduction of p. 703. It is a without-loss-of-generality preprocessing step that no statement needs, so dropping it makes the statements stronger.
- Kept: the SPT indexing convention of p. 703 is a hypothesis of every statement that refers to job indices.
- : the "properties already established" are the precedences named in hypothesis (1); the broader cumulative reading of p. 702 is not formalized.
A formalization of the goal as "some optimal schedule starts with ", or of Theorem 1 with an arbitrary set unrelated to optimal schedules, would be a different and weaker (or false) statement; the targets above state optimality of the SPT schedule itself and tie to an optimal schedule.
Needed infrastructure: lemmas on prefix sums of lists, on the effect of a transposition on positions in a duplicate-free list, on removing the head of a schedule, and existence of an optimal schedule among the finitely many permutations of . These list-scheduling lemmas are reusable for other single-machine results (Moore 1968, and the EDD mission of this series). Proofs of the milestones, alternative arguments, and general interchange lemmas are all welcome.
Selected references
- H. Emmons, One-Machine Sequencing to Minimize Certain Functions of Job Tardiness, Operations Research 17(4):701–715, 1969. https://doi.org/10.1287/opre.17.4.701
- R. W. Conway, W. L. Maxwell, L. W. Miller, Theory of Scheduling, Addison-Wesley, 1967.
- W. E. Smith, Various Optimizers for Single-Stage Production, Naval Research Logistics Quarterly 3:59–66, 1956. https://doi.org/10.1002/nav.3800030106
- J. G. Root, Scheduling with Deadlines and Loss Functions on k Parallel Machines, Management Science 11:460–475, 1965. https://doi.org/10.1287/mnsc.11.4.460
- J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1):102–109, 1968. https://doi.org/10.1287/mnsc.15.1.102
- E. L. Lawler, A "Pseudopolynomial" Algorithm for Sequencing Jobs to Minimize Total Tardiness, Annals of Discrete Mathematics 1:331–342, 1977. https://doi.org/10.1016/S0167-5060(08)70742-8
- J. Du, J. Y.-T. Leung, Minimizing Total Tardiness on One Machine is NP-Hard, Mathematics of Operations Research 15(3):483–495, 1990. https://doi.org/10.1287/moor.15.3.483