Santa Claus Schedules Jobs on Unrelated Machines: The Configuration LP Has Integrality Gap at Most 33/17Research Paper
Motivation
Scheduling jobs on unrelated machines so as to minimize the makespan (the time at which the last machine finishes) is one of the central problems of approximation algorithms. For the general problem, Lenstra, Shmoys and Tardos (1990) gave a 2-approximation and showed that no polynomial-time algorithm achieves a factor below unless P = NP; closing the gap between and has been open since.
The restricted assignment problem is the special case in which every job has a single size and may only run on a given set of machines. The hardness already holds here, and the best known algorithms were still -approximations. Every linear program previously used for the problem has integrality gap , so a better LP lower bound was the natural target.
Svensson (2011) showed that the configuration LP of Bansal and Sviridenko (2006), whose variables assign whole sets of jobs to machines, has integrality gap at most . Its optimum therefore gives a polynomial-time estimate of the optimal makespan within a factor strictly better than .
- 1990: Lenstra, Shmoys, Tardos, 2-approximation for unrelated machines, and hardness already for restricted assignment.
- 2006: Bansal and Sviridenko introduce the configuration LP for the max–min variant (the Santa Claus problem).
- 2008: Feige shows the configuration LP has constant integrality gap for restricted Santa Claus, and Asadpour, Feige and Saberi (2008) give a local search proof of a factor-4 gap.
- 2011: Svensson adapts that local search to makespan and proves the gap for restricted assignment (arXiv:1011.1168).
Setting
An instance consists of finite sets (jobs) and (machines), sizes , and for each job a set . A schedule is a map with . The load of machine is , and the makespan is the largest load. is the least makespan of a schedule.
For a target makespan , a configuration for machine is a set of jobs that may all run on ( for ) with . Write for the set of configurations. The configuration LP asks for with
Its dual has variables and constraints for all and . is the least at which [C-LP] is feasible, and .
In the Lean development these are configs Γ p T i, CLPFeasible Γ p T, CLPDualFeasible Γ p T y z and schedLoad p σ i, in the namespace RestrictedAssignment.Svensson.
Formalization targets
Goal: Theorem 4.1
For every instance with and every ,
Equivalently . The statement is scale-free and does not define .
Milestones
The milestones follow the paper's proof, which normalizes and sets :
- a dual solution with makes [C-LP] infeasible;
- the local search, Algorithm 2 (ExtendSchedule), keeps its partial schedule valid (load at most , at most one big job per machine);
- when the algorithm has no potential move, an explicit pair is dual feasible (Claim 4.7) and has (Claim 4.8);
- hence, if [C-LP] is feasible, a potential move always exists (Lemma 4.6);
- the algorithm has no infinite run (Lemma 4.9);
- [C-LP] feasible at gives a schedule of makespan at most .
Three facts from Section 2 complete the list: normalization by scaling, , and monotonicity of feasibility in .
Significance
The theorem shows that the configuration LP is a strictly stronger relaxation than those behind the factor- algorithms. With the known polynomial-time approximate solvability of the LP, it gives a polynomial-time algorithm that estimates the optimal makespan of restricted assignment within . The local search in the proof finds a schedule of the same quality, but it is not known to run in polynomial time. Later work lowered the constant to (Jansen and Rohwedder, 2017) along the same lines.
The result is proved on paper. As far as known, no part of it has a machine-checked proof. Formalizing it gives:
- a reusable definition of the configuration LP and its dual certificate;
- a precise, nondeterministic model of a local search whose termination rests on a lexicographic potential;
- a check of a proof that has many cases. The formalization already exposed two edge cases:
- Claim 4.8 fails when has size and no admissible machine;
- the termination proof needs positive job sizes. With a job of size , the algorithm can move it back and forth between two tied machines forever.
The milestones are stated with the corresponding hypotheses.
Difficulty
The obvious approach, rounding a fractional configuration solution, loses a factor . If each machine takes one configuration and the collisions of jobs chosen twice or not at all are repaired, the repair can double a load. This is where every earlier LP-based bound stalls.
The milestones along the paper's route are hard for two reasons. First, the dual pair rounds job sizes down by class (big to , medium to ). Proving requires a case analysis over how each blocked machine came to be blocked. The two claims are therefore false for arbitrary states of the search and hold only for states the algorithm actually reaches, so the invariants of reachable states have to be formalized too. Second, the search both adds and removes blockers, so no simple quantity decreases at every step. Termination needs a potential defined on the whole history of the search.
Formalization scope
Jobs and machines are finite types with decidable equality, sizes are real numbers with , and admissible machines are a Finset per job. Schedules are total maps with stated explicitly. Partial schedules are maps Option M. Constants are exact rationals in . Values of moves live in Lex (ℝ × ℝ).
Algorithm 2 is a step relation Step, not a function. The move of minimum lexicographic value is a hypothesis on the chosen pair, so every tie-breaking rule is covered. The blocker tree is stored as its list of blockers in insertion order. Claims 4.7, 4.8 and Lemma 4.6 quantify over states reachable from the initial state, as their proofs require. Lemma 4.9 asserts that no infinite run exists.
Three statements would trivialize the goal, and the formalization rules them out:
- a schedule allowed to use machines outside ;
- a target ;
- an LP missing either constraint row.
Theorem 1.1 (polynomial time), the separation oracle, and Section 3's two-size case are not part of the mission.
Useful contributions include:
- the weak-duality certificate;
- the scaling and monotonicity facts;
- the invariants of reachable states (each job lies in at most one blocker, blockers on a machine are never reassigned while present);
- the two claims and the termination argument.
The configuration LP definitions are reusable for the Santa Claus problem and for bin packing.
Selected references
- O. Svensson, Santa Claus Schedules Jobs on Unrelated Machines, arXiv:1011.1168v2, 2011; SIAM J. Comput. 41(5), 2012. https://arxiv.org/abs/1011.1168
- J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Math. Programming 46, 1990. https://doi.org/10.1007/BF01585745
- N. Bansal, M. Sviridenko, The Santa Claus problem, STOC 2006. https://doi.org/10.1145/1132516.1132522
- A. Asadpour, U. Feige, A. Saberi, Santa Claus meets hypergraph matchings, APPROX 2008; ACM Trans. Algorithms 8(3), 2012. https://doi.org/10.1145/2229163.2229168
- K. Jansen, L. Rohwedder, On the configuration-LP of the restricted assignment problem, SODA 2017. https://arxiv.org/abs/1611.01934