Makespan Minimization in Job Shops: A Linear Time Approximation Scheme: The Interval LP Is Feasible at the Restricted OptimumResearch Paper
Motivation
The job shop scheduling problem asks for a nonpreemptive schedule of jobs on machines, each job a fixed sequence of operations with prescribed machines and processing times, that minimizes the time at which the last operation completes. It is one of the most studied hard problems of combinatorial optimization: even very constrained versions are strongly NP-hard (Lawler, Lenstra, Rinnooy Kan and Shmoys, 1993), and for any a -approximation when the number of machines is part of the input would imply (Williamson et al., 1997).
When the number of machines and the maximum number of operations per job are fixed, Jansen, Solis-Oba and Sviridenko (2003) gave a linear time approximation scheme, improving the earlier -approximation of Shmoys, Stein and Wein (1994). The scheme follows a pattern that recurs throughout scheduling approximation: split the jobs by length into a constant number of big jobs, which are scheduled by enumeration on a coarse time grid, and many tiny jobs, which are assigned fractionally to time intervals by a linear program, then rounded. The mathematical hinge of this pattern in the paper is Lemma 1: the interval linear program loses nothing against the optimum of the grid-restricted problem.
Setting
An instance has machines and jobs . Job is a sequence of operations , processed in this order; runs without interruption on machine for time units, and . A feasible schedule assigns start times , with completion times , so that and two distinct operations on the same machine do not overlap. Its makespan is , and is the optimum makespan.
The load of is , with ; the length of is . Fix and with . The jobs split into the big jobs , the small jobs and the tiny jobs .
The horizon is cut into equal intervals of the first type. A schedule is restricted if every operation of a big job starts at the beginning of one of them. The small jobs are removed, and is the optimum makespan of the restricted schedules of .
Given a restricted schedule of the big operations, let be the set of their start and completion times, sorted as , with and . The intervals of the second type are , of length , and is if a big operation occupies machine during interval and otherwise. For a tiny job, is the set of nondecreasing tuples in . The interval LP (3)–(5) asks for with
Formalization targets
Goal: Lemma 1
For the interval LP is feasible for some restricted schedule of the big operations:
Milestones
The milestones are the facts of Sections 2–2.2 on which the goal's objects rest, in attack order:
Significance
Lemma 1 is what makes the algorithm's search correct: among the constantly many grid schedules of the big operations, one admits a fractional placement of all tiny operations into the second-type intervals within length . Together with the restriction bound it gives for the least feasible LP length , the starting point of the rounding and of the final approximation guarantee. The same big/tiny split with an interval LP recurs in later schemes for flow shops, open shops and multiprocessor tasks, and the definitions here (operation chains, loads, grid-restricted schedules, the interval LP) are the substrate those results would share.
The paper's proofs are informal: the restriction bound is a shifting argument stated in two sentences, and the proof of Lemma 1 is an iterative decomposition of a schedule into LP variables that is not spelled out at interval boundaries or for zero-length operations. No machine-checked formalization of job shop scheduling, of these bounds, or of the lemma is known to exist. This mission produces one for the O(·)-free core of Section 2.
Difficulty
The obvious reading of Lemma 1 ("take an optimal restricted schedule and read off the fractions") hides three steps. First, is defined as an infimum over a continuum of schedules, and an optimal restricted schedule has to be shown to exist. Second, the fractions of each tiny operation over the second-type intervals must be recombined into weights on nondecreasing tuples, one tuple per job, so that the equality (3) holds and each operation's mass in each interval is reproduced exactly; this is where the precedence between operations of one job enters. Third, the bound (4) needs that on any machine a second-type interval is either fully covered by one big operation or free of big operations, which relies on containing every start and completion time.
Formalization scope
Machines are Fin m, jobs Fin n, the operations of job are Fin (μ j), all 0-based; processing times are real and nonnegative, with no integrality or positivity assumed, and consecutive operations may share a machine. is defined as . is a maximum over the machines, the makespan a maximum over the operations of the scheduled jobs, and , are infima (sInf) of makespans over feasible, respectively feasible restricted, schedules. refers to the jobs with , , of the full instance. is a set (duplicates collapse), sorted with Finset.orderEmbOfFin. A big operation is processed in interval when its execution interval meets in positive length. The LP's range condition is part of the feasibility predicate. The hypotheses , (stated in the paper), and (implicit in it) are explicit binders. Eq. (1) is stated with where the paper writes .
Not formalized. Theorems 1–3 of the paper (the algorithm is a PTAS, a linear time approximation scheme, and its preemptive variant) and Lemma 2 are statements about running time. They need a cost model, the Grigoriadis–Khachiyan LP solver and Sevastianov's algorithm as black boxes, and without a cost model their approximation half is witnessed by an optimal schedule. They are out of scope and are not stated in any form. In particular, "for every there is a schedule of makespan at most " is trivially true and is not what this mission asks. The goal cannot be satisfied by a degenerate big-operation schedule: the schedule must be feasible, start on the grid, and finish by , and the LP keeps the equality in (3), the monotone tuples and the right-hand side .
Contributions welcome: proofs of the milestones, a proof that optimal restricted schedules exist (finitely many machine orders and grid positions), and a general lemma decomposing a chain of fractional interval assignments into monotone tuples, reusable for other interval-LP schemes.
Selected references
- K. Jansen, R. Solis-Oba, M. Sviridenko, Makespan minimization in job shops: A linear time approximation scheme, SIAM J. Discrete Math. 16(2):288–300, 2003. https://doi.org/10.1137/S0895480199363908
- D. B. Shmoys, C. Stein, J. Wein, Improved approximation algorithms for shop scheduling problems, SIAM J. Comput. 23(3):617–632, 1994. https://doi.org/10.1137/S0097539791220817
- S. V. Sevastianov, G. J. Woeginger, Makespan minimization in open shops: A polynomial time approximation scheme, Math. Programming 82:191–198, 1998. https://doi.org/10.1007/BF01585871
- D. P. Williamson et al., Short shop schedules, Operations Research 45(2):288–294, 1997. https://doi.org/10.1287/opre.45.2.288
- E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, D. B. Shmoys, Sequencing and scheduling: Algorithms and complexity, Handbooks in OR & MS 4:445–522, 1993. https://doi.org/10.1016/S0927-0507(05)80189-6