Optimization and Approximation in Deterministic Sequencing and Scheduling: A Survey 2: The Optimal Preemptive Open Shop Makespan Equals the Largest Machine Load or Job LengthResearch Paper
Motivation
Open shops model production and service systems in which every job must visit every machine, but the order of the visits is free: a car that needs an inspection, a wash and a tyre change, a patient who needs several tests, a student who sits several exams. The survey of Graham, Lawler, Lenstra and Rinnooy Kan (Ann. Discrete Math. 5, 1979) fixed the three-field notation that the scheduling literature still uses, and classified the complexity of the problems it can express. Among the polynomially solvable cases, the preemptive open shop with makespan objective, , is one of the few multi-machine problems whose optimal value has a closed form for any number of machines and jobs.
Timeline.
- 1976: Gonzalez and Sahni (J. ACM 23) prove that the optimal preemptive open-shop makespan is the largest machine load or job length, and give a polynomial algorithm. In the same paper they solve in linear time and show NP-hard.
- 1978: Lawler and Labetoulle (J. ACM 25) give a linear-programming treatment of preemptive scheduling on unrelated machines and reformulate the open-shop construction in terms of decrementing sets, found by an assignment problem through the Birkhoff–von Neumann theorem.
- 1979: the survey (§5.2.2, p. 313) presents this construction as the standard argument and records the bound of Gonzalez (1976), where is the number of nonzero processing times.
Setting
There are machines and jobs . Job consists of operations ; operation must be processed on machine for time units. The processing-time matrix is : its rows are machines and its columns are jobs. Every job is available at time .
Preemption is allowed: an operation may be interrupted and resumed later. A schedule is a finite list of pieces , each meaning that processes during . A schedule is feasible if
- every piece satisfies ;
- each machine processes at most one job at a time, and each job is processed on at most one machine at a time: two pieces that share a machine or a job do not overlap;
- for every pair the pieces of have total length exactly .
The makespan is the time at which the last piece ends, and is its minimum over feasible schedules. The load of machine is the row sum , the length of job is the column sum , and
A row or column is tight if its sum equals and slack otherwise. A decrementing set is a set of strictly positive entries of with exactly one element in each tight row and each tight column and at most one in each slack row and each slack column.
Formalization targets
Goal:
For every ,
This says that the optimal makespan is exactly the largest machine load or job length, and that it is attained.
Milestones (all from §5.2.2, p. 313)
- Lower bound .
- Existence of a decrementing set for every nonzero nonnegative .
- Positive step: for a decrementing set, the largest satisfying the constraints (1)–(3) of the survey exists and is positive.
- Step property: after replacing each by , the largest line sum is exactly .
- Partial schedule: for each , processes for time units, with no machine or job used twice.
- Termination: every run of the procedure reaches within a bounded number of stages.
- Joining: the concatenated partial schedules form a feasible schedule with .
Significance
The result. The theorem turns an optimization over continuous-time schedules into the computation of sums. It certifies optimality by a counting argument, it is the base case for preemptive open shops with release dates and due dates, and it is used elsewhere in the survey (§4.4.6) to reduce problems on unrelated machines with preemption to open-shop instances. Because a nonnegative matrix whose row and column sums are all equal is a multiple of a doubly stochastic matrix, the theorem is a scheduling form of the Birkhoff–von Neumann decomposition. It also underlies timetabling and edge-colouring results for bipartite multigraphs.
Formalizing it. The theorem has been proved since 1976 and is textbook material. No machine-checked proof is known to exist: Mathlib has the Birkhoff–von Neumann theorem for doubly stochastic matrices but no model of open-shop schedules. A formalization adds a reusable model of preemptive multi-machine schedules with both disjointness requirements, a checked proof of the decrementing-set construction, and a termination argument the survey asserts without proof.
Difficulty
The lower bound is a one-line counting argument. The difficulty is the construction of a schedule of length exactly . Scheduling each machine's operations back to back gives length , but may run one job on two machines at once. Scheduling job by job has the symmetric defect. A greedy list schedule that only respects both constraints can leave machines idle and overshoot . The construction must keep every tight line busy at every moment while never letting a slack line fall behind. The existence of the decrementing set at each stage is the combinatorial core: it is a Hall-type matching condition, not a local choice. Termination is also not automatic, because a careless choice of step length can produce infinitely many shrinking steps.
Formalization scope
All objects live in the namespace SchedSurvey.OPmtn. Machines and jobs are Fin m and Fin n, both 0-based, and processing times and piece endpoints are real numbers; integer data are a special case. A schedule is a List of pieces. Feasibility requires nonnegative start times, disjointness for pieces sharing a machine or a job (touching intervals allowed), and exactly units of processing for every pair . Every theorem assumes .
" is the maximum" is the predicate IsMaxLoad P C: all line sums are at most and one equals . The goal is stated in threshold form and mentions no maximum at all. The display defining on p. 313 prints for the second term; the following sentence shows it means the row sums , and the formalization uses those. The hypothesis matters only for , where the empty schedule finishes by every .
A trivializing formalization is ruled out: the goal mentions neither decrementing sets nor . Its "if" direction asserts that a schedule exists. Feasibility counts work per pair (machine, job), not per job, and forbids a job from running on two machines at once. Without either requirement the statement would be a different and easier theorem.
A complete development needs: list sums of interval lengths over disjoint intervals, the existence of decrementing sets (via Birkhoff–von Neumann, König's theorem or Hall's theorem on the bipartite graph of positive entries), the step and termination lemmas, and concatenation of schedules. The schedule model and the decrementing-set lemma are reusable for other preemptive shop problems. Contributions of alternative proofs of any milestone, for example a direct Hall-theorem proof of the existence of decrementing sets, are welcome.
Selected references
- R. L. Graham, E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, Optimization and approximation in deterministic sequencing and scheduling: a survey, Annals of Discrete Mathematics 5 (1979) 287–326. https://doi.org/10.1016/S0167-5060(08)70356-X
- T. Gonzalez, S. Sahni, Open shop scheduling to minimize finish time, Journal of the ACM 23 (1976) 665–679. https://doi.org/10.1145/321978.321985
- E. L. Lawler, J. Labetoulle, On preemptive scheduling of unrelated parallel processors by linear programming, Journal of the ACM 25 (1978) 612–619. https://doi.org/10.1145/322077.322090