Sequencing Jobs to Minimize Total Weighted Completion Time Subject to Precedence Constraints 2: Near the Optimal Ratio, a Maximum-Weight Initial Set Is ρ-MaximalResearch Paper
Motivation
The single-machine sequencing problem with precedence constraints, written , asks for an order of jobs on one machine that respects a given acyclic digraph of precedences and minimizes the weighted sum of completion times. It is NP-hard in general (Lawler 1978; Lenstra and Rinnooy Kan 1978), and much of its structural theory goes through a decomposition due to Sidney (Sidney 1975): find an initial set of jobs of maximum weight-to-processing-time ratio, schedule it first, and recurse on the rest. Sidney's decomposition underlies the series-parallel algorithm of the same report, the 2-approximation algorithms for the general problem, and the vertex-cover view of Chudak–Hochbaum, Correa–Schulz and Ambühl–Mastrolilli.
The decomposition is only usable if a ratio-maximal initial set can be found efficiently. Section 7 of E. L. Lawler's report Sequencing jobs to minimize total weighted completion time subject to precedence constraints (IRIA-LABORIA Rapport de Recherche No. 205, December 1976; journal version in Annals of Discrete Mathematics 2, 1978) gives the polynomial algorithm: a binary search on the ratio, where each trial value is tested by one minimum-cut computation in an auxiliary network. This mission formalizes the correctness of that procedure.
Timeline.
- 1970: Rhys (Management Science 17) solves the selection problem, the bipartite case of a maximum-weight closed set, by minimum cut.
- 1975: Sidney introduces the decomposition into ratio-maximal initial sets.
- 1976: Lawler (this report) reduces the search for a ratio-maximal initial set to minimum-cut computations.
- 1976: Picard (Management Science 22) treats the maximal closure of a general graph by the same network.
Setting
A finite set of jobs carries an acyclic digraph ; job must precede job when has a directed path from to . Job has an integer processing time and an integer weight of either sign.
An initial set of is a set that contains, with each of its jobs, every predecessor of that job. The ratio of a nonempty set is
and a nonempty initial set is ρ-maximal if for every nonempty initial set . Its ratio is the optimal ratio.
For a trial value , the trial weights are . A maximum-weight initial set for is computed in the network : add a source and a sink , give the arc capacity , the arc capacity , and every arc of capacity . An cutset is a partition of the nodes with , , of capacity .
The integer data satisfy and , and .
Formalization targets
Goal: the last step of the binary search
If , then every nonempty initial set of maximum trial weight,
is ρ-maximal. This is the paper's sentence "At this point the smallest value in the interval is chosen for a trial value ρ. … In either case, the maximum weight initial set I which is determined is ρ-maximal" (pp. 16–17).
Milestones
- Finite-capacity cutsets of correspond to initial sets (p. 14).
- A finite cutset has capacity (p. 15).
- A minimum cutset yields a maximum-weight initial set (p. 15).
- Cases 1–3: a maximum-weight set of positive, negative or zero trial weight shows that is too small, too large, or optimal (pp. 15–16).
- Every attainable ratio lies in (p. 16).
- Two distinct attainable ratios differ by at least (p. 16).
Significance
The goal is what makes Sidney's decomposition algorithmic: a ρ-maximal initial set can be found by a polynomial number of minimum-cut computations, with the bound on the number of trial values. Ratio-maximal initial sets are the first step of every Sidney-decomposition-based algorithm for , and the cut network is the standard reduction of maximum-weight closure to minimum cut, used across open-pit mining, project selection and parametric optimization.
The results are classical and proved in the report. No machine-checked version of the closure–cut correspondence, the ratio-separation bound, or the binary-search correctness is known to exist in Lean or on Prove2Me. The mission produces a reusable formal account of initial sets, the network with infinite capacities, and the parametric test of a ratio.
Difficulty
Each step is short on paper; the difficulty is in the corners the paper does not discuss. The paper's "maximum weight initial set" ranges over all initial sets, and the empty set has weight . At the empty set is a maximizer and is not ρ-maximal, so the final step needs a nonempty maximizer; and Case 2, read literally over all initial sets, can never occur. The argument at the left end of the interval also needs the separation bound in the right direction: the printed display ends with "", while the argument needs "". Finally, initial sets are closed under predecessors along paths, while a cut only sees single arcs, so the correspondence between finite cuts and initial sets needs the arcs of to stay inside .
Formalization scope
Jobs are a Finset N in a type ι; the precedence digraph is a relation G with every arc inside N and no directed cycle, and "must precede" is Relation.TransGen G. Weights and processing times are real in the general statements and integers cast to reals in the integer-data statements. Lean evaluates as ; ρ-maximality and every statement about attainable ratios therefore range over nonempty sets. Capacities take values in WithTop ℝ, with ; a pair of nodes that is not an arc of has capacity , and an infinite cut has capacity . A cutset is given by its sink side .
Added hypotheses and corrected slips, all disclosed in the items:
- the goal assumes the maximum-weight initial set is nonempty (the empty-set corner above);
- Cases 2 and 3 maximize over nonempty initial sets;
- the separation bound is stated with , against the printed "";
- the capacity display's first line, printed , is read as , as its second line shows;
- the interval and the separation bound are stated for every nonempty subset of , a slight generalisation.
A trivializing formalization is ruled out: the goal assumes neither Case 1 nor Case 3, nor the separation bound, nor anything about cuts; those appear only as milestones. The running-time statements of §7 and the binary search loop itself are out of scope.
A complete development needs finite sums over finsets, path closure of initial sets, and extended-real arithmetic in WithTop ℝ. The cut network with infinite capacities and the closure correspondence are reusable for any maximum-weight closure problem. Proofs of the milestones, and of the goal from Cases 1 and 3 with the separation bound, are welcome.
Selected references
- E. L. Lawler, Sequencing jobs to minimize total weighted completion time subject to precedence constraints, IRIA-LABORIA Rapport de Recherche No. 205, 1976. https://hal.science/hal-04716371v1 ; journal version Annals of Discrete Mathematics 2 (1978) 75–90, https://doi.org/10.1016/S0167-5060(08)70323-6
- J. B. Sidney, Decomposition algorithms for single-machine sequencing with precedence relations and deferral costs, Operations Research 23 (1975) 283–298. https://doi.org/10.1287/opre.23.2.283
- J. M. W. Rhys, A selection problem of shared fixed costs and network flows, Management Science 17 (1970) 200–207. https://doi.org/10.1287/mnsc.17.3.200
- J.-C. Picard, Maximal closure of a graph and applications to combinatorial problems, Management Science 22 (1976) 1268–1272. https://doi.org/10.1287/mnsc.22.11.1268