Approximation Algorithms for Scheduling Unrelated Parallel Machines 3: On the 3-Dimensional Matching Instances, a Schedule within ρ < 3/2 of Optimal Has Makespan ≤ 2 Iff a Matching ExistsResearch Paper
Motivation
Minimum makespan scheduling on unrelated parallel machines, written , is one of the basic models of scheduling theory: jobs must each be run on one of machines, and the time a job takes depends arbitrarily on the machine. Lenstra, Shmoys and Tardos (CWI Report OS-R8714, 1987; journal version Math. Programming 46, 1990) gave a polynomial 2-approximation algorithm for this problem and, in the same paper, a matching limit from below: no polynomial algorithm can guarantee a factor smaller than unless (their Corollary 2).
The two bounds have stood for more than three decades. Closing the gap between and for is listed among the central open problems of approximation algorithms (Williamson and Shmoys, The Design of Approximation Algorithms, 2011, open problem on unrelated machines; Schuurman and Woeginger, Polynomial time approximation algorithms for machine scheduling: ten open problems, J. Scheduling 1999). The lower bound of is the subject of this mission.
Timeline:
- 1979: Graham, Lawler, Lenstra and Rinnooy Kan introduce the classification .
- 1987/1990: Lenstra, Shmoys and Tardos prove NP-completeness of deciding makespan at most 3 (Theorem 4, giving the bound ) and at most 2 (Theorem 5, giving ), both by reduction from 3-dimensional matching.
- Since then: the hardness bound has not been improved for general ; progress has concentrated on special cases such as the restricted-assignment problem.
Setting
3-dimensional matching. There are three disjoint sets , , and a family of triples, each with one element of , one of and one of . A matching is a subfamily with whose union is . In Lean an instance is a map , and HasMatching T says that a matching exists.
The scheduling model. Machines are , jobs are , and is the positive integer processing time of job on machine . A schedule assigns each job to one machine; the load of machine is and the makespan is the largest load. These are the published definitions MatousekLP.Scheduling.load and makespan.
The instance of Theorem 5. The triples containing are the triples of type ; let be their number. From the paper builds a scheduling instance with machines, machine corresponding to , and with
- element jobs, one for each and each ;
- dummy jobs of type , for each .
If , machine processes the element jobs of and in time , each dummy job of type in time , and every other job in time . In Lean the processing-time matrix is P T.
A -approximate schedule of an instance is a schedule with for every schedule of the same instance.
Formalization targets
Goal: Corollary 2 (p. 8)
For every instance , every , and every -approximate schedule of the instance of Theorem 5 built from ,
This is the mathematical content of "for every there is no polynomial -approximation algorithm unless ": a -approximate answer on the reduced instance decides 3-dimensional matching.
Theorem 5 (p. 7)
For every instance ,
Milestones from the proof of Theorem 5 (pp. 7–8)
- If every , then : there are dummy jobs.
- A matching yields a schedule with makespan at most .
- A schedule with makespan at most yields a matching.
Significance
The result. Theorem 5 shows that is NP-hard already when every processing time lies in and the target makespan is . Corollary 2 turns this into the best known inapproximability bound for the problem, , which sits opposite the paper's own factor-2 algorithm. The same reduction pattern (machines as triples, dummy jobs that pin machines down) is reused in many later hardness proofs for scheduling and assignment problems.
Formalizing it. The result is proved on paper; no machine-checked version is known to exist. A formal proof requires the full combinatorial argument behind the reduction, including the counting of machines per type and the case where some element of lies in no triple, which the paper does not discuss. Together with mission 1 of this series (the factor-2 algorithm), it fixes both ends of the gap in one formal library.
Difficulty
The construction is short, but the converse direction carries the weight: from an arbitrary schedule with makespan at most one must recover a matching, although nothing in the schedule singles out the triples that form it. The obvious first idea, to read the matching off the machines that receive unit-time jobs, fails as it stands: a machine may receive one unit-time job or none, and the argument must exclude this for every schedule, including the degenerate instances in which some lies in no triple or triples repeat. For Corollary 2, the passage from the real-valued approximation guarantee to the threshold depends on the strict inequality ; at the statement is no longer implied by Theorem 5.
Formalization scope
- Machines are
Fin m; 3DM elements areFin n; a 3DM instance isT : Fin m → Fin n × Fin n × Fin n, so a triple may repeat. A matching is a set of triple indices covering every , , (the covering form of the paper's definition, which forces disjointness). - The jobs of the reduced instance are the sum type . They are enumerated by a fixed bijection with so that the published
MatousekLP.Scheduling.makespanapplies. All statements quantify over every schedule, so the choice of bijection is irrelevant. - is natural-number subtraction. When some (a case the paper leaves aside), type has no dummy job; the reduced instance then has neither a matching nor a schedule of makespan at most , so Theorem 5 and Corollary 2 hold as stated, with no hypothesis . Only the dummy-count milestone assumes .
- Processing times are natural numbers cast to ; makespans are real.
- Not formalized: "polynomial" (running time of an algorithm and of the reduction), membership in NP, "NP-complete" and "unless ". Theorem 5 is stated as the reduction's equivalence; Corollary 2 is stated as the fact that any -approximate schedule of the reduced instance, , decides 3-dimensional matching. The reduction is evidently polynomial, but this is not stated.
- The approximation hypothesis compares with every schedule of the same reduced instance; a goal in which is an arbitrary schedule, or is bounded against an unrelated quantity, would be a different statement. The strict inequality is essential and kept.
- Contributions welcome: proofs of the three milestones, of Theorem 5 from them, and of Corollary 2; reusable lemmas about integer-valued makespans and about sum-type job sets.
Selected references
- J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, CWI Report OS-R8714, Centre for Mathematics and Computer Science, Amsterdam, 1987 (FOCS 1987); the version cited for every theorem number in this mission.
- J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46 (1990) 259–271. https://doi.org/10.1007/BF01585745
- 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
- M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, 1979 (3-dimensional matching, problem [SP1]).
- P. Schuurman, G. J. Woeginger, Polynomial time approximation algorithms for machine scheduling: ten open problems, Journal of Scheduling 2 (1999) 203–213. https://doi.org/10.1002/(SICI)1099-1425(199909/10)2:5<203::AID-JOS26>3.0.CO;2-5
- D. P. Williamson, D. B. Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011. https://doi.org/10.1017/CBO9780511921735