Manuscript Offprint
arXiv:2610.28514Diverse Schedules for Makespan Minimization on Unrelated Machines
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study makespan minimization on unrelated machines with the additional goal of constructing diverse schedules: Instead of outputting a single schedule, we seek a collection of schedules with provable makespan guarantees and substantially different job assignments. This setting is motivated by practical applications in which committing to a single schedule in advance may be undesirable. Processing times may be uncertain, and additional constraints or domain knowledge may become available only later, so providing a set of k schedules of similar quality gives the scheduler meaningful alternatives. We measure pairwise diversity by the weighted Hamming distance between job assignments and study the two standard objectives in the diverse-solutions literature: max-sum diversity, which maximizes the total pairwise distance between schedules, and max-min diversity, which maximizes the smallest pairwise distance.
For the max-sum objective, we show that optimal diversity can be achieved in polynomial time without sacrificing the classic makespan approximation factor. For every feasible makespan target T, we can compute k schedules of makespan at most 2T whose max-sum diversity is optimal among all k schedules of makespan at most T. Therefore, we match the classic factor-2 makespan guarantee of Lenstra, Shmoys, and Tardos (Math. Prog., 1990) and preserve optimal diversity.
For the max-min objective, we show that the diversity problem is inherently harder. Namely, we show that, even without makespan constraints, deciding whether three schedules of given pairwise diversity exist is NP-hard. We complete this with two complementary bicriteria approximation algorithms for every fixed and . The first preserves almost all of the optimal max-min diversity with makespan at most . The second keeps the makespan arbitrarily close to the classic 2 guarantee while achieving a fraction of the optimal max-min diversity.
This collaboration originated at the Bremen–Hamburg Workshop in Bremen in 2025. We thank the organizers for providing an environment that fostered this collaboration.
This work was done while Sebastian Bruchhold was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy – The Berlin Mathematics Research Center MATH+ (EXC-2046/1, EXC-2046/2, project ID: 390685689).
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy – EXC 3036 The Martian Mindset – project number 533607631.
Supported by a Humboldt Research Fellowship for Postdoctoral Researchers.
Supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), project number 547924951.
1 Introduction
Makespan minimization on unrelated machines is one of the most classic problems in scheduling. Given a set of machines and a set of jobs, where each job has a machine-dependent processing time on machine , one seeks an assignment, or schedule, that minimizes the makespan: for a schedule , the load of machine is , and the makespan is . The problem is denoted by and is well-known to be NP-hard. This hardness motivated the design of approximation algorithms, which compute in polynomial time a schedule whose makespan is within a factor of the optimum. One of the most classic approximation algorithms in scheduling is the factor-2 approximation for due to [23]. Moreover, the same work shows that the problem is hard to approximate within any factor strictly smaller than , unless [23]. Since its conception in 1990, no approximation factor strictly below 2 has been obtained for general unrelated machines. Our main research question is whether one can retain such a guarantee when the output is required to contain not just one schedule, but several substantially different schedules.
Our motivation arises from settings in which committing to a single schedule in advance is undesirable. Processing times may be known only approximately, while additional constraints or application-specific information may become available only after candidate schedules have been computed. We therefore seek to preserve flexibility at the optimization stage by producing multiple schedules that are substantially different from one another. Such diversity enables a decision maker to incorporate information that was unavailable or unmodeled during optimization when selecting a final schedule. In this sense, diverse solution sets provide a natural mechanism for increasing robustness to uncertainty and unmodeled constraints.
This point of view is consistent with the broader diverse-solutions paradigm in combinatorial optimization. A growing body of work studies how to compute multiple solutions that are not only good with respect to the original objective, but also far apart according to an appropriate distance measure [2, 9, 15]. A similar perspective also arises in patient admission scheduling, where evolutionary diversity optimization has been used to compute diverse sets of high-quality schedules that provide alternatives under imperfect modeling [24].
In this paper, we measure diversity at the level of job assignments: two schedules are far apart when many important jobs are assigned to different machines. For example, a decision maker may later learn that certain job-machine assignments are desirable or undesirable and then choose the candidate schedule that best matches these preferences. Optimizing this diversity creates a specific difficulty for unrelated-machine scheduling. Each schedule must satisfy its own load constraints, but the diversity objective couples all schedules through job assignments. A change in one schedule may improve its distance from some schedules, decrease its distance from others, and at the same time violate a machine-load constraint. Thus, diversity has to be built into the scheduling problem itself.
We study the following bicriteria problem. Given a makespan target T and an integer k, the goal is to compute k schedules with makespan close to T and large job-assignment diversity. Our results separate the two standard diversity objectives: max-sum diversity maximizes the total pairwise distance in the collection, while max-min diversity maximizes the smallest pairwise distance. For max-sum diversity, we retain the classic factor-2 makespan guarantee and achieve the optimal diversity among k schedules of makespan at most T. For max-min diversity, we show that the problem is computationally harder and design two complementary bicriteria algorithms.

Figure 1: Three schedules , , and of seven jobs on two machines and . Jobs of the same color have the same processing time. All diversity weights are equal to 1. Then, the diversity of and is , the diversity of and is , and the diversity of and is . Thus, , while .
where is the indicator function and is the diversity weight (or weight for short) of job , measuring the importance of scheduling diversely. Note that, since the diversity depends only on whether assignments differ, the machines are treated as labeled. For schedules, we follow the diverse-solutions literature and consider max-sum and max-min diversity [14, 15]. The max-sum and max-min objectives maximize, respectively, the total pairwise diversity and the minimum pairwise diversity, and are defined by
The max-sum objective measures the total spread of the collection of schedules, and an optimal solution might include identical schedules or consist of a few well-separated clusters of nearly identical schedules. To counter such behavior, the max-min objective is stricter and requires every pair of schedules to be far apart. An example for both objectives is depicted in Figure 1.
Diverse scheduling has two competing objectives, makespan and diversity, and our results approximate their Pareto tradeoff. We state the guarantees for a makespan target T, but they also admit the dual view of fixing a diversity target and minimizing the required makespan. Given a target makespan T, all our guarantees compare the diversity of the output schedules with the best diversity attainable by k schedules of makespan at most the original target T, even though the output schedules may have larger makespan (see the discussion at the end of Section 2). Our results are summarized in Table 1.
Max-sum diversity. Our first result is proved in Section 4. We begin in Section 4.1 by introducing a natural labeled k-tuple LP formulation, in which each of the k schedules has a label and each variable assigns a job to a k-tuple of machines. This formulation can be viewed as a special case of the k-sided placement problem of [19], and already gives optimal max-sum diversity with makespan in polynomial time for fixed k. Our main result significantly improves the makespan guarantee and matches the best-known factor-2 approximation for [23], while preserving exact max-sum diversity and running in time polynomial in the input size and k. To do this, we rewrite the max-sum objective in terms of multiplicities. Occurrence-count arguments for weighted Hamming distance have already appeared in the diverse-solutions literature [15]. In our work, however, multiplicities count job-machine assignments with unrelated processing times, so they must satisfy load constraints and be decomposed into actual schedules. We formulate a multiplicity LP in Section 4.3. It tracks how many schedules assign each job to each machine, uses ranked copies to linearize the same-machine penalty, and keeps aggregate load constraints over the k schedules. We round this LP by iterative relaxation [22] in Section 4.4, obtaining integral multiplicities with a small aggregate-load violation. The remaining challenge is that this formulation controls only the aggregate load over all k schedules, and an arbitrary realization of the rounded multiplicities could concentrate several large jobs in the same schedule. In Section 4.5, we address this by decomposing the rounded multiplicities into labeled schedules, adapting the slot construction by Shmoys and Tardos [27] and combining it with bipartite edge coloring. The resulting decomposition, together with an averaging argument that exploits the multiplicity structure, yields the per-schedule makespan guarantee 2T.
Theorem 4 (Informal). One can obtain k schedules of makespan at most 2T with optimal max-sum diversity, in time polynomial in the input size and in k.
Max-min diversity. We next turn to max-min diversity. Unlike max-sum diversity, this objective must guarantee diversity for every pair of schedules. Thus, the multiplicity view is no longer enough: we need to know which pairs of schedules differ on each job. This obstruction is not only an artifact of our approach. Lemma 2 in Appendix C.5 shows that, given a diversity value Q, it is NP-hard to decide whether there exist three schedules with max-min diversity at least Q, even when the makespan constraint is ignored. For fixed k, we therefore give two complementary algorithms, one that preserves almost all of the optimum diversity, and one that keeps the makespan close to the factor-2 guarantee for .
Near-optimal max-min diversity. In Section 5.1, we give our first algorithm for max-min diversity. It keeps the labeled k-tuple LP and aims for near-optimal diversity. Assume that the diversity target is known through guessing. For every pair of schedules, we guess the largest positive contributors to their pairwise distance (called heavy contributors), together with their full k-tuple assignments. After guessing the diversity target and heavy contributors for each pair of schedules, the algorithm solves a residual k-tuple LP and iteratively rounds it. For each remaining job, we restrict the allowed tuples to use at most distinct machines. The main technical step is to prove that the residual LP remains feasible despite this restriction. The proof proceeds by contradiction, considering an LP point (a fractional assignment of jobs to k-tuple of machines) that minimizes the sum of squared diversity shortfalls subject to the job and load constraints. Here, a pair's shortfall is the amount by which its diversity falls below its target, or zero if the target is met. If some diversity target is unmet, we construct a point y satisfying the job and load constraints. The crucial idea is that, to construct y, the simultaneous pairwise diversity requirements can be reduced to a single weighted diversity target, using pairwise shortfalls as weights. Meeting this weighted target ensures that moving slightly toward y decreases the sum of squared shortfalls, contradicting minimality. We then round the residual LP by iterative relaxation.
Theorem 8 (Informal). For fixed and , one can obtain schedules of makespan at most with -approximate max-min diversity, in polynomial time.
In Appendix C.2, we also give an alternative algorithm achieving the same diversity guarantee with makespan at most . Its run time is polynomial for fixed and . This alternative bound can improve the makespan guarantee when is small.
| Objective | Diversity guarantee | Makespan guarantee | Run time | |
| Max-sum | Polynomial time | (Theorem 4) | ||
| Max-min | Polynomial timefor fixed | (Theorem 8) | ||
| (Theorem 13) | ||||
| (Theorem 12) |
Table 1: Summary of our main guarantees. denotes the optimum max-sum diversity, and the optimum max-min diversity, among schedules of makespan at most .
Low-makespan max-min diversity. In Section 5.2, we design our second algorithm for max-min diversity. Here we keep the makespan close to the factor-2 guarantee for . The algorithm builds the schedules sequentially. Using a metric argument, we show that at each step there exists a schedule from an optimal family that is at distance at least half the optimal max-min diversity from every schedule selected so far. Thus, adding the next schedule becomes an unrelated-machine assignment problem with load upper bounds and one covering lower bound for each previously constructed schedule. Related LPs appear in school-assignment-type problems [25]. We round this LP by first guessing heavy contributors and then applying iterative relaxation inspired by the rounding approach of Korupolu et al. [19].
Theorem 12 (Informal). For fixed and , one can obtain schedules of makespan at most with -approximate max-min diversity, in polynomial time.
1.2 Related work
There is a long history of works that study combinatorial optimization problems with the goal of finding multiple “diverse” solutions: For example, Krarup [20] introduced the PERIPATETIC SALESMAN problem, where multiple edge-disjoint Hamilton cycles in a graph need to be found that have minimum weight in sum. Erkut et al. [8] survey problems where facility locations need to be computed that are maximally far apart. Kuo et al. [21] consider the MAXIMUM DIVERSITY problem, where a number of elements from a given set need to be selected such that the sum of their pairwise diversity coefficients is maximized, and show it to be NP-hard. The computational intractability that is common for these diversity problems (see, e.g., by Hanaka et al. [15]) has motivated approaches via parameterized algorithms as well as approaches via approximation algorithms.
With a focus on the former approaches, Fellows and Rosamond [9] recently introduced the DIVERSE paradigm. Here, can be any algorithmic problem and the proposal is to study “diverse” versions of , possibly with varying diversity measures, with the number of desired solutions as a parameter. To give only a few examples, results of the study of parameterized algorithms for diverse problems encompass a framework for low-treewidth graphs [2], a framework using odd sieving [7], and an algorithmic meta-theorem using cliquewidth [5].
As Fellows and Rosamond [9] also point out, in applied settings, optimality is not so essential. In line with this motivation, there is a growing body of literature on approximately solving diverse problems, including multiple frameworks [1, 10, 11, 15], and on selecting approximately diverse subsets of a given set [3]. While these have yielded approximation algorithms for diverse versions of, for example, SHORTEST PATH [11], INTERVAL SCHEDULING [15], KNAPSACK [10], and INTERVAL VERTEX DELETION [1], the diverse version of makespan minimization on unrelated machines has not been studied. To our knowledge, prior work on diverse scheduling problems thus far covers variants of DIVERSE INTERVAL SCHEDULING [15], including DIVERSE JOB
SELECTION [14], and heuristics for hybrid flow-shop scheduling [12]. In INTERVAL SCHEDULING, a maximum-cardinality subset of non-overlapping intervals needs to be selected from a given set of intervals, and so the problem differs substantially from makespan minimization on unrelated machines. Gören and Pierreval [12] propose a heuristic framework for diverse scheduling and evaluate it on hybrid flow-shop makespan instances, without worst-case guarantees. Our algorithms for unrelated machines provide approximation guarantees for both makespan and diversity.
2 Preliminaries
We study nonpreemptive scheduling of jobs on unrelated machines. Let be a set of machines and a set of jobs. Each job has machine-dependent processing time on machine and diversity weight . A schedule assigns each job to one machine. The load of machine in schedule is , and the makespan is . We write .
For machine-dependent load targets , we restrict each job to its set of eligible machines . No schedule respecting these load targets can assign to a machine outside of . For a fixed makespan target , this becomes . This restriction is used in the algorithmic parts of the paper. We also call a makespan target feasible if there exists at least one schedule with .
The pairwise diversity defined in the introduction is a weighted Hamming distance with nonnegative weights. If some weights are zero, it is formally a pseudometric. In any case, it satisfies the triangle inequality. Indeed, for each job , the indicator is at most , and summing with weights gives the claim.
For a makespan target T, we define
Analogously, we define for the max-min diversity.
Let , where , denote the corresponding diversity objective and let denote the optimum value of this objective among schedules of makespan at most . We call an algorithm an -bicriteria approximation for the chosen diversity objective if, given a target makespan , it returns schedules such that for every and .
Throughout the paper we write for a real number .
Comparison benchmark. All bicriteria guarantees in this paper compare the diversity of the output schedules to the optimum diversity achievable by k schedules of makespan at most the original target T. Thus, if an algorithm computes schedules of makespan at most , the diversity benchmark for the chosen objective remains , rather than .
3 Hardness
Since makespan minimization is NP-hard even when producing a single schedule, it is not surprising that hardness persists when producing multiple diverse schedules. However, we prove that producing multiple diverse schedules is hard even in settings where the makespan target is essentially irrelevant.
In Section 3.1, we show that computing two schedules of makespan at most T with optimal diversity at target T is NP-hard even when finding non-diverse schedules of makespan at most T is trivial. The same hardness applies to both max-sum and max-min diversity, since for k = 2 the two objectives coincide.
In Section 3.2, we show that computing three schedules of optimal max-min diversity is NP-hard even in the absence of a makespan target. Further, we observe that the related problem of selecting k maximally diverse schedules from a given set of schedules is W[1]-hard with respect to k, for both max-sum and max-min diversity.
3.1 Hardness at a fixed makespan target
We give a simple reduction showing that optimizing diversity at a fixed makespan target is NP-hard. Our hardness result holds even when all diversity weights are equal to 1 and every job is eligible on only two machines. Each job has the same processing time on both eligible machines, and so we establish hardness even in the restricted-assignment machine model (the graph-balancing machine model [6] on stars, in fact). Moreover, finding two distinct feasible schedules of makespan at most the target is trivial for the instances produced by the reduction. Thus, the hardness comes from the diversity objective.
Lemma 1. Given a makespan target T and a diversity value Q, it is NP-hard to decide whether there exist two schedules such that and . The same hardness applies to both max-sum and max-min diversity, since for the two objectives coincide.
The reduction is from PARTITION and establishes weak NP-hardness; see Appendix A for the proof.
3.2 Further hardness results
We give an additional hardness result specifically for max-min diversity. In particular, for this objective, producing three maximally diverse schedules is NP-hard even without a makespan constraint.
Lemma 2. Given a diversity value Q, it is NP-hard to decide whether there exist three schedules such that , even if the makespan constraint is ignored.
The reduction is again from PARTITION and establishes weak NP-hardness. We refer to Appendix C.5 for the details. Note that this result separates max-min diversity from max-sum diversity in terms of hardness. This is because max-sum diversity for three schedules without makespan constraints can be formulated as a linear objective subject to assignment constraints and thus solved in polynomial time.
Also, even when a set of schedules is already given, deciding whether a sufficiently diverse fixed-size subset exists is hard for both max-sum and max-min diversity: With an observation similar to that of Hanaka et al. [15, Observation 2], the problem of selecting a size-k subset of maximum diversity from a given set of schedules can be shown to be W[1]-hard with respect to k by a reduction from SET PACKING, even with unit jobs on two machines. Intuitively, the input set of schedules can omit easy solutions, making the problem hard.
4 Max-sum diversity
In this section, we present our bicriteria approximation algorithm for max-sum diversity. We begin in Section 4.1 with the natural labeled k-tuple formulation, which keeps track of the machine chosen by each job in each of the k schedules and yields a -makespan guarantee with optimal diversity. Our main result, in Section 4.2, shows that this labeled view is unnecessarily detailed: the max-sum diversity objective depends only on the multiplicities with which each job is assigned to each machine across the k schedules, not on which schedule makes each assignment.
We exploit this observation through a multiplicity LP, introduced in Section 4.3, which decides only how many of the schedules assign each job to each machine. The LP uses ranked copies to linearize the convex same-machine penalty and keeps only aggregate-load constraints summed over all schedules. In Section 4.4, we round this LP by iterative rounding, obtaining integral multiplicities with a small aggregate-load violation. Finally, in Section 4.5, we decompose the multiplicities into k schedules using a slot construction, bipartite edge coloring, and an averaging argument to bound the load of each output schedule. Together, these steps yield k schedules of makespan at most 2T whose max-sum diversity is at least .
4.1 Warm-up: the labeled k-tuple linear program
A natural first formulation for the problem keeps the labels of the schedules explicit. Concretely, we introduce for every job and every tuple a variable that equals 1 if and only if for every schedule job is assigned to machine .
For a job and a tuple , let be the number of schedules in which the tuple assigns job to machine . Two schedules contribute to the diversity of job exactly when , so the contribution of tuple to the total diversity is . Here, counts the number of schedule pairs both using machine .
Since is a constant, maximizing total diversity is equivalent to minimizing the same-machine penalty . This gives a minimization integer program with objective subject to assignment constraints for every job , and load constraints for every machine and schedule .
This formulation is a special case of the minimization k-sided placement problem (MINkSP), the k sides are the k schedules, the nodes on each side are copies of the machines, and a tuple specifies the placement of one job on all k sides. We recall MINkSP in Appendix B.1. Korupolu, Meyerson, Rajaraman, and Tagiku [19] showed that MINkSP admits a polynomial-time algorithm preserving the optimal linear cost while increasing every capacity by a factor of . Instantiating this with cost and capacities T gives the following guarantee, whose proof is given in Appendix B.
Corollary 3 (Labeled k-tuple guarantee). Fix . There is a polynomial-time algorithm that, for every feasible makespan target , computes schedules , each with makespan at most and with .
This baseline guarantee has two limitations. First, the makespan guarantee grows with the number of schedules. Second, the formulation can have variables, so it is polynomial only for constant . We now show that max-sum diversity has additional structure that lets us avoid the labeled formulation.
Korupolu, Meyerson, Rajaraman, and Tagiku note, based on a personal communication, that the Lovázs Local Lemma framework of Harris and Srinivasan for generalized scheduling problems [16, 17] applies to MINkSP, yielding an -capacity approximation. This would improve the makespan bound of this labeled k-tuple baseline from to .
4.2 Exact max-sum diversity with 2-approximate makespan
Let be the largest processing requirement. Since every eligible pair satisfies , we have . We now state our main result for max-sum diversity.
Theorem 4 (Exact max-sum diversity with makespan 2T). There is an algorithm that, for every and every feasible target , in polynomial time in the input size and in , computes schedules each with makespan at most and with diversity .
This improves on the labeled k-tuple formulation in two ways. The makespan decreases from to , which is independent of . Moreover, the algorithm has polynomial run time even when is part of the input. Both gains come from the same observation: the sum of diversities depends only on the multiplicities with which each job is assigned to each machine, not on which schedule makes each assignment.
The proof has three steps. First, we express the sum of diversities using only unlabeled multiplicities. Second, we optimize and round these multiplicities using a multiplicity LP. Finally, we decompose the rounded multiplicities into k schedules by a slot-coloring argument.
4.3 The multiplicity linear program
Max-sum diversity does not depend on the labels of the schedules: it suffices to know, for every job and machine , how many of the schedules assign to . For schedules , we let count the schedules assigning to , so that . Among the pairs of schedules, exactly place on the same machine. Therefore, job contributes to the total diversity, and summing over all jobs gives . We write . For the multiplicity vector , we define the same-machine penalty by . We obtain . Since is independent of the schedules to compute, maximizing the sum of diversities is equivalent to minimizing the same-machine penalty .
If a job is assigned to the same machine in multiple schedules, we think of these as copies of , and the copy of is said to have rank . To linearize , we use the identity . Thus, the copy of job on a fixed machine contributes penalty cost . For every eligible pair and every rank , we introduce a binary variable representing selection of the copy of job on machine . We relax the binary constraints to obtain the multiplicity LP:
(Mult-LP)
Note that, for fixed multiplicities, the cheapest ranks preserve all loads and minimize the rank objective. Let denote the optimal value of (Mult-LP). We prove the following lemma in Appendix B.
Lemma 5. The multiplicity LP (Mult-LP) is a relaxation of the max-sum problem at makespan target T. In particular, .
4.4 Rounding the multiplicity linear program
We iteratively round (Mult-LP). At each step, we fix integral variables. If no such variable exists, the extreme-point structure yields a machine-load constraint with total remaining slack at most one, which we drop. This gives integral multiplicities with an aggregate load bound, which we later decompose into schedules in Section 4.5. The proof of the following lemma is deferred to Appendix B.
Lemma 6 (Multiplicity rounding). There is a polynomial-time algorithm that computes such that for every , for every , and .
We now define the rounded multiplicities . By Lemma 6, for every job . Each machine has load .
It remains to relate the penalty to the rounded objective. For a fixed eligible pair , the ranks selected by Y need not be the lowest ranks . Replacing them by the cheapest ranks preserves the multiplicities, all load constraints, and can only decrease the rank objective. Therefore,
4.5 Decomposing multiplicities into schedules
We now turn the integer multiplicities into k schedules. We build a bipartite multigraph between jobs and so-called “machine slots”, properly edge-color it to obtain the schedules, and use an averaging argument over slots to bound the makespan of each schedule.
For every eligible pair with , we create copies of the pair , each of processing time . For each machine , we sort all copies involving in nonincreasing order of processing time and cut this list into consecutive slots of copies each, with the last slot possibly smaller. The ordering is inspired by the slot construction in the generalized-assignment rounding of Shmoys and Tardos [27]. In our setting, the slots are used to decompose integral multiplicities into schedules via edge coloring, and the resulting load bound exploits this additional structure.
We construct a bipartite multigraph with a vertex for each job on the left and a vertex for each machine slot on the right, adding one edge between job and a slot of machine for every copy of in that slot. Each job has degree , and each machine slot has degree at most , as a slot holds at most copies, so has maximum degree .
By König's edge-coloring theorem, admits a proper -edge-coloring [18, 26] computable in polynomial time. Each color defines one schedule. If an edge of color is incident to job and a slot of machine , then we set . Since the coloring is proper and every job has degree exactly , each job has exactly one edge of each color, so every schedules all jobs. Moreover, for every pair , there are exactly edges from job to slots of machine , and hence exactly colors assign to . Thus, job is scheduled on machine in exactly of the schedules. Therefore, realize the multiplicities . Figure 2 illustrates the slot construction and the edge-coloring for one machine.
We now bound the makespan of the constructed schedules.

Figure 2: Slot construction for and a fixed machine . The left vertices are jobs, the right vertices are the slots of machine , and each copy becomes one edge from job to the slot containing it. The edge colors correspond to three schedules . Only the edges incident to slots of machine are shown. In the full multigraph, the omitted incident edges of and go to slots of other machines.
Lemma 7 (Slot decomposition). For every machine and color , the load of machine in schedule is at most .
Proof. Fix a machine and a color . If has no slots, then the load is zero and the claim holds, so let its slots be in the sorted order. For slot , let be the total processing time of its copies and set . This is the average processing time of the copies in slot , except possibly for the last slot . For every color , we define as the processing time of the copy selected by color from slot , or 0 if it selects none. This is well-defined, because the coloring is proper, so each color selects at most one copy per slot. By the sorting, every copy in slot has processing time at least as large as every copy in slot .
Each full slot holds exactly copies. Since the coloring is proper and uses colors, every color appears exactly once at such a slot. For the fixed color we have with by the slot order. Thus . It follows that . Moreover, for the last slot we have . Summing these inequalities gives . This implies that . Recall that , since the schedules realize the multiplicities. Thus, is the average load on machine over all schedules. Moreover, we have . Thus, the load of machine on schedule is
4.6 Proof of Theorem 4
Proof. By Lemma 6, the rounded multiplicities have aggregate load at most on every machine. Furthermore, by Lemma 7, every output schedule satisfies, for every machine , the load bound
In particular, this implies that for every schedule .
The decomposition preserves the multiplicities . Hence, . Using (1) and Lemma 5, we conclude that .
5 Max-min diversity
The diversity contribution of each job in the max-sum objective from the preceding section depends only on how often it is assigned to each machine across the k schedules, not on the labels of the schedules. Hence, we optimized aggregate multiplicities and recovered the labeled schedules only at the end. In contrast, for max-min diversity we must guarantee diversity for every pair of schedules. Thus, we must know which pairs of schedules differ on each job.
The max-min objective is computationally harder than the max-sum objective because, given a diversity target Q, it is already NP-hard to decide whether there exist three schedules with , even when dropping the makespan constraints (Lemma 2, see Appendix C.5). Therefore, in this section, we give two complementary bicriteria approximation algorithms for max-min diversity.
First, in Section 5.1, we achieve near-optimal diversity. For fixed and , our labeled -tuple algorithm achieves a -approximation to the optimum max-min diversity at the original target , while increasing the makespan of the computed schedules to at most . After guessing the diversity target and heavy contributors to the diversity for each pair of schedules, the algorithm solves a residual -tuple LP and iteratively rounds it. For each remaining job, we restrict the allowed tuples to use at most distinct machines, and count the processing time of the job once on each machine used by its tuple. The main technical step is to prove that the residual LP remains feasible despite this restriction.
Second, in Section 5.2, we achieve the classic factor-2 makespan guarantee approximately. The main idea is to build the schedules sequentially. Given the schedules already constructed, we view the construction of the next schedule as an unrelated-machine assignment problem with covering constraints, one per previously constructed schedule, each requiring the new schedule to be sufficiently diverse from it. For every fixed and , we round this assignment problem and combine it with a metric argument to obtain schedules of makespan at most and a -approximation to the optimum max-min diversity.
5.1 Near-optimal max-min diversity
We first give an algorithm that obtains near-optimal max-min diversity. The details and full proofs of this subsection are given in Appendix C.1.
Theorem 8 (Near-optimal max-min diversity). Fix and . There is a deterministic algorithm that, for every feasible makespan target , computes schedules such that , for every , and . The algorithm runs in time , where is the input encoding length.
We start from the natural labeled k-tuple LP. For each job and tuple , we introduce a variable that indicates whether job is placed on machine in schedule for all . Together, the tuples assigned to the jobs encode labeled schedules. For a pair , let ; this is the contribution of job to the diversity of pair when the tuple places on different machines in coordinates and . The diversity of pair is therefore the linear expression . Thus, requiring minimum pairwise diversity at least can be expressed by linear covering constraints.
Set , , , and . We first guess the largest contributors to each pairwise diversity, so that the contributions remaining in the LP are small enough to control the rounding loss. For a guessed diversity target , our algorithm guesses, for every pair of schedules, the jobs that are the largest positive diversity contributors in an optimal solution, or all positive contributors if there are fewer than h, together with their assigned tuples. We discard guesses that are inconsistent or whose fixed jobs already violate a makespan constraint.
For a fixed remaining guess, let be the set of guessed jobs and let be the guessed tuple for each . Define
A pair is active when , and inactive otherwise. The guessed tuples are fixed; they add at most T to the load of each machine in each schedule.
The residual LP assigns tuples only to jobs in . For each such job j, we keep only eligible tuples whose contribution to every active pair is at most . To obtain a makespan bound independent of k, we further restrict these tuples to use at most t distinct machines. Then, let denote the set of eligible tuples, so
For tuple denote with the set of different machines that appear in , so . Note that can be less than . We define the following residual -tuple LP:
(Res-Tuple-LP)
The second constraint counts once whenever machine i appears in the tuple, regardless of how many coordinates use it. This charged load bounds the load on i in every schedule. The guessed jobs are handled separately and add at most T to the load on each machine in each schedule. The main technical step is showing that (Res-Tuple-LP) is feasible.
Lemma 9 (Feasibility after guessing). Suppose that schedules have makespan at most T and pairwise diversity at least Q. For the correct heavy-contributor guess from these schedules, (Res-Tuple-LP) is feasible.
Proof sketch. We refer to as the reference family. If , then the tuples of the reference family directly establish feasibility. Otherwise, we reduce the simultaneous diversity requirements to a single weighted objective. Let be the nonempty polytope of nonnegative points satisfying the job and load (but not necessarily the diversity) constraints of (Res-Tuple-LP). Write for the diversity target of pair and for its residual diversity at . Choose minimizing
If , the lemma follows. Otherwise, give each pair weight . We will construct such that
Although y does not need to meet every target individually, this inequality ensures that a sufficiently small move from z toward y decreases , contradicting the minimality of z.
The construction obtains this weighted diversity while controlling load. Let the unguessed light jobs be . For the correct guess, these jobs retain enough diversity in the reference schedules to meet every active residual target. Define
Thus, is the reference family's pairwise diversity on the light jobs, aggregated with pair weights . We refer to this as weighted diversity. We greedily select a common collection of schedules from , starting with , to determine the available machines for each light job. Consider the complete graph on the schedule labels with edge weights . For each light job, a coloring using its available machines as colors determines its tuple: endpoints with different colors correspond to schedules that differ on that job. An optimal coloring (that is, with maximum total weight on dichromatic edges) therefore maximizes the job's weighted diversity. Each greedy step selects a reference schedule maximizing the total increase in this quantity over all light jobs. Every other unguessed job receives its constant- tuple.
Every resulting tuple belongs to . Moreover, every used job-machine pair occurs in at least one of the reference schedules, so the charged load of each machine is at most . After greedy selections, the resulting point has weighted diversity at least . Since , this proves (2) and yields the required contradiction.
Having now established that the correct heavy-contributor guess makes (Res-Tuple-LP) feasible, we show next that we can round such a feasible LP to assign the unguessed jobs.
Lemma 10 (Rounding after guessing). A deterministic polynomial-time algorithm exists that iteratively rounds feasible solutions of (Res-Tuple-LP) such that exactly one tuple is assigned to each unguessed job, every machine has unguessed-job load at most 3tT in every resulting schedule, and the unguessed jobs contribute diversity at least to every active pair .
We use iterative rounding, ensuring that every iteration deletes at least one variable or drops a constraint. In particular, in an extreme-point solution with strictly fractional variables, we drop the load constraint of machine if , or we drop the diversity constraint of an active pair if .
5.2 A -makespan approximation for max-min diversity
In this section, we construct schedules whose makespan is close to the target while having bounded minimum pairwise diversity. In particular, for constant and , our algorithm computes schedules of makespan at most and minimum pairwise diversity at least . The makespan factor matches, up to , the best-known factor 2 for makespan minimization on unrelated machines [23], which has resisted improvement for over three decades.
We construct the schedules sequentially. Suppose that schedules have already been constructed, and consider adding a new schedule . As before, the crucial observation is that the diversity of from each previous schedule is a linear function of the assignment of . Indeed, define coefficients representing the contribution of job to the diversity with respect to , when schedule places on machine while schedule places it on a machine different from . Summing over the jobs recovers exactly the pairwise diversity: . Consequently, for a target diversity , the new schedule has diversity at least from every previously constructed schedule if and only if for all we have .
Requiring to be far from all previous schedules is thus captured by covering constraints, one per previous schedule. Together with the makespan bound, finding such a is an unrelated-machine scheduling problem with makespan and covering constraints. We isolate this assignment problem and solve it in full generality, treating the covering contributions as arbitrary coefficients rather than specific diversity coefficients. As before, let be the set of eligible machines for job . In particular, a machine with cannot run without violating its makespan target, so we restrict the assignment variables to with .
Assigning each job to a single eligible machine while meeting all makespan and covering targets is captured by the following LP, whose integral solutions are exactly the feasible assignments:
(Cov-LP)
The makespan constraints upper bound the load of each machine, while the r covering constraints lower bound the total contribution collected. The main tool for establishing our bicriteria approximation for max-min diversity is the following proposition which we prove in Appendix C.3 by combining a guessing argument with iterative rounding.
Proposition 11. Fix and . If (Cov-LP) admits an integral feasible solution, then an integral assignment can be computed in time , where is the input encoding length, satisfying for all , for all , and for all .
We now return to the -bicriteria approximation for max-min diversity. We construct schedules sequentially by applying Proposition 11 exactly times. For a diversity threshold , using a metric argument we show that at each step there exists a schedule of makespan at most and diversity at least from each previously constructed schedule.
Theorem 12 (Low-makespan max-min diversity). Fix and . There is an algorithm that, for every feasible makespan target , computes schedules such that for every and . The algorithm runs in time , where is the input encoding length.
Proof sketch. We first prove a threshold statement. Set , fix a diversity threshold , and suppose for now that such a value is given. We compute schedules of makespan at most and max-min diversity at least . We construct the schedules sequentially by applying Proposition 11 exactly times. In the first application, there are no covering constraints. Suppose that schedules have already been constructed. Assume that each of them has makespan at most and that every pair among them has diversity at least .
Let be an optimal solution, so for every and for every distinct . We claim that one of these schedules is at distance at least from every previously constructed schedule. Suppose not. Then for every , there exists some such that . Since , the pigeonhole principle implies that two distinct optimum schedules and are mapped to the same constructed schedule . By the triangle inequality, we get . This contradicts . Therefore, there exists such that for every .
Fix such a schedule . The schedule has makespan at most and diversity at least from each of . It is therefore an integral feasible solution of (Cov-LP) with makespan targets for all machines and covering targets , one covering constraint for each previously constructed schedule. Applying Proposition 11 with parameter gives a schedule with and, for all , we get . Thus satisfy the same invariant. After steps, this proves the threshold statement for every . In Appendix C.4, we complete the proof by guessing geometrically and absorbing the loss through the choice . This gives the stated guarantee and run time bound.
6 Future work
In this work, we studied bicriteria approximation algorithms for scheduling on unrelated machines under the max-sum and max-min diversity objectives. The main open question that remains is whether max-min diversity admits a polynomial-time algorithm with constant approximation guarantees for both makespan and diversity when k is part of the input. Further, future work can go beyond the standard notions of max-sum and max-min diversity. For example, schedules could instead be compared using coverage diversity, absolute-difference diversity, or Venn diversity [4, 5].
Although unrelated machines generalize models such as restricted assignment, related machines, and identical machines, from a practical perspective, other notions of diversity may be of interest especially for identical machines. In this special case, our notion of diversity can consider two schedules maximally diverse even when only the labels of machines differ but the two schedules partition the jobs in the same way. Thus, it is of interest to study notions of diversity that are invariant under machine relabeling.
AI acknowledgment. Generative AI models (GPT-6 Astra and GPT-6.1 Sol) were used to search the literature, check proofs, and draft figures. GPT-6 Astra developed the algorithm and proof of Theorem 8 for near-optimal max-min diversity with a makespan approximation factor independent of k, using as input the authors' existing result in Theorem 13, which guarantees makespan at most . The authors take full responsibility for all content of the paper.
References
[1] P. Austrin, I. O. Bercea, M. Goswami, N. Limaye, and A. Srinivasan. Algorithms for the Diverse-k-SAT problem: The geometry of satisfying assignments. In Proc. ICALP 2025, volume 334 of Leibniz Int. Proc. Informatics, pages 14:1–14:17, 2025.
[2] J. Baste, M. R. Fellows, L. Jaffke, T. Masařík, M. de Oliveira Oliveira, G. Philip, and F. A. Rosamond. Diversity of solutions: An exploration through the lens of fixed-parameter tractability theory. Artificial Intelligence, 303:103644, 2022.
[3] A. Cevallos, F. Eisenbrand, and R. Zenklusen. Local search for max-sum diversification. In Proc. SODA 2017, pages 130–142, 2017.
[4] M. de Berg, A. López Martínez, and F. Spieksma. Finding diverse solutions in combinatorial problems with a distributive lattice structure. In Proc. ISAAC 2025, volume 359 of Leibniz Int. Proc. Informatics, pages 11:1–11:19, 2025.
[5] K. Drabik and T. Masařík. Finding diverse solutions parameterized by cliquewidth. In Proc. AAAI 2026, volume 40, pages 36864–36872, 2026.
[6] T. Ebenlendr, M. Krcál, and J. Sgall. Graph balancing: A special case of scheduling unrelated parallel machines. Algorithmica, 68(1):62–80, 2014.
[7] E. Eiben, T. Koana, and M. Wahlström. Determinantal sieving. In Proc. SODA 2024, pages 377–423, 2024.
[8] E. Erkut and S. Neuman. Analytical models for locating undesirable facilities. European Journal of Operational Research, 40(3):275–291, 1989.
[9] M. R. Fellows and F. Rosamond. The DIVERSE X paradigm. In Algorithmic Enumeration: Output-sensitive, Input-Sensitive, Parameterized, Approximative (Dagstuhl Seminar 18421). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019.
[10] W. Gálvez, M. Goswami, A. Merino, G. Park, M.-T. Tsai, and V. Verdugo. A framework for the design of efficient diversification algorithms to NP-hard problems, 2025. URL https://arxiv.org/abs/2501.12261.
[11] J. Gao, M. Goswami, C. S. Karthik, M.-T. Tsai, S.-Y. Tsai, and H.-T. Yang. Obtaining approximately optimal and diverse solutions via dispersion. In Proc. LATIN 2022, volume 13568 of Lecture Notes Comput. Sci., pages 222–239, 2022.
[12] S. Gören and H. Pierreval. Taking advantage of a diverse set of efficient production schedules: A two-step approach for scheduling with side concerns. Computers & Operations Research, 40(8):1979–1990, 2013.
[13] R. L. Graham, E. L. Lawler, J. K. Lenstra, and A. H. G. Rinnooy Kan. Optimization and approximation in deterministic sequencing and scheduling: a survey. Annals of Discrete Mathematics, 5:287–326, 1979.
[14] T. Hanaka, Y. Kobayashi, K. Kurita, and Y. Otachi. Finding diverse trees, paths, and more. In Proc. AAAI 2021, volume 35, pages 3778–3786, 2021.
[15] T. Hanaka, M. Kiyomi, Y. Kobayashi, Y. Kobayashi, K. Kurita, and Y. Otachi. A framework to design approximation algorithms for finding diverse solutions in combinatorial problems. In Proc. AAAI 2023, volume 37, pages 3968–3976, 2023.
[16] D. G. Harris and A. Srinivasan. Constraint satisfaction, packet routing, and the Lóvasz local lemma. In Proc. STOC 2013, pages 685–694, 2013.
[17] D. G. Harris and A. Srinivasan. The Moser–Tardos framework with partial resampling. Journal of the ACM, 66(5), 2019.
[18] D. König. Graphok és alkalmazásuk a determinánsok és a halmazok elméletére. Mathematikai és Természettudományi Értesítő, 34:104–119, 1916. In Hungarian.
[19] M. Korupolu, A. Meyerson, R. Rajaraman, and B. Tagiku. Coupled and k-sided placements: generalizing generalized assignment. Mathematical Programming, 154(1–2):493–514, 2015.
[20] J. Krarup. The peripatetic salesman and some related unsolved problems. In Combinatorial Programming: Methods and Applications, pages 173–178, 1975.
[21] C.-C. Kuo, F. Glover, and K. S. Dhir. Analyzing and modeling the maximum diversity problem by zero-one programming. Decision Sciences, 24(6):1171–1185, 1993.
[22] L. C. Lau, R. Ravi, and M. Singh. Iterative methods in combinatorial optimization, volume 46 of Cambridge Texts in Applied Mathematics. Cambridge University Press, 2011.
[23] J. K. Lenstra, D. B. Shmoys, and É. Tardos. Approximation algorithms for scheduling unrelated parallel machines. Mathematical Programming, 46(1–3):259–271, 1990.
[24] A. Nikfarjam, A. Moosavi, A. Neumann, and F. Neumann. Computing high-quality solutions for the patient admission scheduling problem using evolutionary diversity optimisation. In Proc. PPSN 2022, pages 250–264, 2022.
[25] Santhini K. A., K. Munagala, M. Nasre, and G. S. Sankar. Group fairness and multi-criteria optimization in school assignment. In Proc. FORC 2025, volume 329 of Leibniz Int. Proc. Informatics, pages 20:1–20:20, 2025.
[26] A. Schrijver. Combinatorial Optimization: Polyhedra and Efficiency, volume 24 of Algorithms and Combinatorics. Springer, Berlin, Heidelberg, 2003.
[27] D. B. Shmoys and É. Tardos. An approximation algorithm for the generalized assignment problem. Mathematical Programming, 62(1–3):461–474, 1993.
A Hardness at a fixed makespan target
Lemma 1. Given a makespan target T and a diversity value Q, it is NP-hard to decide whether there exist two schedules such that and . The same hardness applies to both max-sum and max-min diversity, since for the two objectives coincide.
Proof. We reduce from PARTITION. Let be positive integers with total sum 2B, and also assume without loss of generality that for every . We create one job for each , so the set of all jobs is . There is one machine and, for every job , one private dummy machine . We set and define and for every other machine . Thus, at makespan target , job is eligible exactly on and . All diversity weights are equal to 1. We set the makespan target to and the target diversity to .
If the PARTITION instance has a set with , then we define two schedules as follows. In the first schedule, assign the jobs of to and all other jobs to their private dummy machines. In the second schedule, we assign the jobs of to and the jobs of to their private dummy machines. Both schedules have makespan and every job is assigned to different machines in the two schedules. Hence .
Conversely, suppose that there are two schedules of makespan at most and pairwise diversity . Since all weights are 1, the maximum possible diversity is , so every job must be assigned to different machines in the two schedules. Each job has only two eligible machines, and , and therefore exactly one of the two schedules assigns to . Let . From the two makespan bounds we get
Since the total size is 2B, both inequalities are tight and S is a feasible partition.
Finally, finding two distinct schedules of makespan at most is trivial in the reduction. Choose any job (which has by assumption) and create two distinct schedules in the following way: Assign all jobs to their private dummy machines in the first schedule, and assign only to in the second schedule while assigning all other jobs to their private dummy machines. Both schedules have makespan at most .
Note that the reduction shows hardness even in the graph-balancing machine model [6] (where each eligible set is represented by an edge between two machines), on stars in particular.
B Max-sum diversity proofs
B.1 Minimization k-sided placement
For completeness, we recall the minimization -sided placement problem (MINkSP) [19]. There are sides , each consisting of capacitated nodes. Each job must be assigned to one -tuple , where for every side . For each job and tuple , the input specifies a cost and a demand vector . If job is assigned to , then it incurs cost and consumes the coordinate of from the capacity of node , for every . The goal is to assign every job to one tuple so as to minimize the total cost, while respecting all node capacities.
In our application, side corresponds to schedule , the nodes on each side are copies of the machines, and job may only use tuples . Assigning job to tuple consumes demand on machine of side . The cost of the tuple is
where .
Corollary 3 (Labeled k-tuple guarantee). Fix . There is a polynomial-time algorithm that, for every feasible makespan target , computes schedules , each with makespan at most and with .
Proof. Let . Note that any integral tuple assignment has total diversity exactly minus its total penalty . Any schedules of makespan at most define a feasible -sided placement of capacity , and conversely. In particular, an optimal solution attaining has penalty , so the minimum penalty at capacity is at most .
Applying the -capacity algorithm for MINkSP yields an integral tuple assignment whose penalty is at most this minimum penalty and whose capacities are at most . Translating the tuple assignment back into schedules gives makespan at most and total diversity at least .
The multiplicity linear program
Lemma 5. The multiplicity LP (Mult-LP) is a relaxation of the max-sum problem at makespan target T. In particular, .
Proof. Let be any schedules of makespan at most and set . Define for and otherwise. We check that is feasible for (Mult-LP). For every job , . Furthermore, for every machine ,
The last inequality holds because each schedule has load at most T on machine i. Since y places copies in the lowest ranks, its objective value is
Taking to be an optimal family for max-sum diversity with makespan at most implies .
Rounding the multiplicity linear program
Lemma 6 (Multiplicity rounding). There is a polynomial-time algorithm that computes such that for every , for every , and .
Proof. We prove this using iterative relaxation. The cost of variable is . Moreover, the processing requirement of variable is .
During the algorithm, each variable is either already fixed to 0 or 1, or is still present. A job is active if it still has present variables. Furthermore, a machine is active if its load constraint has not been dropped. Denote the active jobs by and the active machines by . For an active job , let be the number of remaining ranked copies that must still be selected for job . Initially, . For an active machine , let be its residual capacity. Initially, . We write for the set of tuples such that the variable is still present. Moreover, we denote by the set of tuples with present variables containing job and by those containing machine .
At every iteration, we compute an optimal extreme-point solution y of the following residual LP:
minimize
subject to
We apply the following rules to iteratively relax the LP. If , then we remove the variable. If , then we fix this variable to 1 (removing from the residual LP), decrease by one, and if machine is active, then decrease by . Once , all remaining variables of job are fixed to 0, and job becomes inactive. It remains to specify what to do when every remaining variable is strictly fractional.
Suppose that every present variable satisfies . Since no variable bound is tight, the extreme point is determined by linearly independent tight constraints among the active job equalities and the tight active machine constraints. In particular, this implies . Each active job satisfies , hence
Combining these two inequalities gives . For an active machine , we define . Summing over active machine constraints implies
Moreover, is nonempty. Indeed, if , then . Since all variables are strictly fractional, we have , while , a contradiction. Thus some active machine satisfies . We drop this machine constraint. The algorithm terminates because every iteration either fixes at least one variable or drops one machine constraint.
We now prove the load guarantee. Consider a machine . If its constraint is never dropped, then its final aggregate load is at most its initial capacity . Otherwise, consider the moment its constraint is dropped and let be its present variables then. Let be the load already fixed on machine , so that , and recall that and . Let be the final value of each variable. Then
Hence the final load on machine i is at most .
Finally, we maintain the invariant that the fixed cost plus the residual LP optimum is at most . Fixing a variable that is integral in the current optimal extreme point preserves this invariant, and dropping a machine constraint can only decrease the optimum value of the residual LP. Therefore, the final integral solution Y has cost at most .
C Max-min diversity proofs
C.1 Near-optimal max-min diversity
Feasibility after guessing.
Lemma 9 (Feasibility after guessing). Suppose that schedules have makespan at most T and pairwise diversity at least Q. For the correct heavy-contributor guess from these schedules, (Res-Tuple-LP) is feasible.
Proof. The argument has two parts: construct a feasible assignment that performs well for the weights given by the current diversity shortfalls, then use it to decrease their sum of squares unless every target is met.
Light jobs suffice. Let . An unguessed job outside cannot contribute to an active pair in the reference family. If it did, the largest contributors to that pair would each have weight greater than , making , contrary to the pair being active. If there were fewer than contributors, all would have been guessed. Subtracting the guessed contribution from the reference diversity gives
Measure the unmet targets. Let be the set of nonnegative points satisfying only the job and load constraints of (Res-Tuple-LP). It is nonempty: for each unguessed job choose the constant tuple , setting its variable to one and the others to zero. This tuple is in : its machine is eligible because , it uses one machine, and every diversity coefficient is zero. The job equalities hold, and the charged load on each machine is at most its load in , hence, at most .
For every pair , denote its target and supplied residual diversity by
Choose minimizing the sum of squared shortfalls
The minimum exists: linear equalities and non-strict inequalities are preserved under limits, so P is closed; nonnegativity and the job equalities imply that every variable lies in , so it is bounded. In finite dimensions these properties imply compactness. Since P is nonempty and is continuous (a finite sum of squares of positive parts of linear functions), the extreme value theorem guarantees an attained minimum.
If , the lemma follows. Otherwise set
These weights measure shortfalls of the whole point , independently of any job, and remain fixed below. Inactive pairs have and, hence, ; active pairs whose targets are met also have weight zero. Weighting by emphasizes the unmet pairs in proportion to how strongly an increase in their diversity reduces . We construct satisfying
The point y need not meet every target individually; this summed weighted guarantee suffices to decrease , as shown at the end.
Construct an assignment for these weights. We seek an assignment y with large weighted diversity, giving greater importance to pairs with larger shortfalls . Exchanging finite sums gives
For an integral point y, exactly one tuple per job has variable value one, and all others have value zero. Assigning job j to different machines in schedules a and b therefore contributes to the weighted objective. With only a limited number of distinct machines available for each job, we seek tuples separating pairs of large total weight.
Consider the complete graph on schedule indices , with edge weight on pair . For a light job with distinct eligible machines available, let each color correspond to one of these machines. Coloring vertex with the color of machine means assigning job to machine in schedule . Thus the job's weighted contribution is times the total weight of edges whose endpoints have different colors. For , define the maximum such cut weight, achievable by colors, as
A coloring attaining gives weighted contribution . The edge weights are the same for every job, and
We choose the available machines by selecting for all jobs one common collection of t reference schedules among . Restricting each job to machines used by these schedules will allow us to bound each machine's LP load by tT. At each stage, define
Here is the set of available machines for job j, and F is the total weighted diversity attainable by choosing a coloring separately for each light job using its machines in .
Initially select , so that and . Adding increases by one exactly when . Its gain in is therefore
Greedily add reference schedules, each maximizing , and update the sets after each addition. Thus each step chooses one schedule based on its combined gain over all light jobs. Repetitions are allowed; selecting an already chosen schedule gives zero gain. We will show that the resulting is large enough to satisfy (3).
For each , choose a coloring attaining and map its distinct colors to distinct machines in . The machine corresponding to the color of vertex becomes the entry of the tuple for job . For , use the constant tuple . Denote the chosen tuple by , and set its variable in to one and all other variables for that job to zero.
Each tuple uses at most eligible machines. Among unguessed jobs, its diversity coefficients are zero outside , and at most inside . Thus every chosen tuple belongs to , and the job constraints hold.
To verify the load constraints, list the selected schedules as , including repetitions, with . Every used job–machine pair occurs in at least one selected schedule: for light jobs this follows from the definition of , and for the other unguessed jobs from their constant- tuples. Hence
The left side counts machine once if the tuple uses it; the right side counts the selected schedules assigning job to . Multiplying by and summing over unguessed jobs verifies the load constraint of (Res-Tuple-LP):
The first equality uses that selects exactly for each job . The final inequality follows because each inner sum is at most the load of all jobs on machine in , hence, at most . Consequently, . The light jobs contribute each, while the other unguessed jobs contribute zero, so
Bound the greedy gain. Let denote the value of after selecting reference schedules. We compare with the reference family’s weighted diversity on the light jobs. For , define
Here is the cut weight of the reference coloring for job , and is its contribution to weighted diversity. In contrast, is the maximum cut weight attainable with at most colors. The light-job bound gives , since every positive-weight pair is active. Our goal is to show that, after selections, . This implies
as required by (3).
Fix a step . In the following argument, , , , and the quantities and defined below refer to their values after selections. In particular, . To bound the gain from adding another reference schedule, we measure the weighted degree at vertices whose reference machines are not yet in . Let
Thus is the fraction of total weighted degree at vertices whose reference colors must change when restricting the coloring to machines in .
To upper-bound the remaining deficit , we lower-bound the increase at each greedy step. Since the coefficients are nonnegative and sum to one, the largest gain is at least their weighted average:
Let measure the positive deficit relative to the reference coloring for job . We will show that, for ,
For this, we establish two recoloring bounds:
For the first, an optimal -coloring has total internal edge weight . One color class has internal weight at least , allowing empty classes. Split that class into two parts maximizing the weight between them. Each vertex has at least as much incident weight across the split as within its part, since otherwise moving it improves the split. Summing over vertices counts each edge twice, so at least half the class's internal weight crosses the split. Giving one part a new color cuts this weight without losing any previously cut edge, proving the first bound.
For the second bound, start with the reference colors . Keep vertices whose colors belong to fixed, and recolor the others using colors in to maximize the cut weight. For each recolored vertex , the incident weights to the color classes sum to , so some class has incident weight at most . If its current color class had greater incident weight, moving to a least-weight class would increase the cut weight, contradicting optimality. Thus each recolored vertex has at most incident weight to vertices of its own color. Every originally cut edge that is lost must touch a recolored vertex, since two fixed endpoints retain their different colors. At that recolored vertex, the lost edge now joins vertices of the same color. Summing the preceding bounds therefore gives
The reference cut weight is , and newly cut edges have nonnegative weight. As the resulting coloring uses at most colors, it proves the second bound. The second bound implies . Combining the bounds in (4) gives, for ,
For the last inequality, when , use to get . When , the bound is immediate; also implies .
Consequently, whenever ,
(5)
The third inequality follows from the Cauchy–Schwarz inequality . The last inequality uses .
Initially , and never decreases. While , (5) gives . If the new deficit remains positive, then
Since initially , after additions, we have or . In the latter case, . Thus, in either case, , which proves (3).
Average to reduce the shortfall. Set . By (3),
For , form the convex combination , meaning coordinatewise. It lies in because linear constraints and nonnegativity are preserved by convex combinations, and . The inequality , applied with and , gives
using (3) in the last step. Since , we have that . By taking , we get . Then , contradicting minimality. Consequently , so every diversity target is met, and satisfies (Res-Tuple-LP).
Rounding the residual LP
Lemma 10 (Rounding after guessing). A deterministic polynomial-time algorithm exists that iteratively rounds feasible solutions of (Res-Tuple-LP) such that exactly one tuple is assigned to each unguessed job, every machine has unguessed-job load at most 3tT in every resulting schedule, and the unguessed jobs contribute diversity at least to every active pair .
Proof. Assume that (Res-Tuple-LP) is feasible. We use iterative rounding as long as there are unassigned unguessed jobs, maintaining feasibility throughout. Each iteration has the following steps: First, we remove every diversity constraint whose current residual right-hand side is non-positive. Second, we compute an extreme-point solution of the resulting LP. Third, we fix variables that were assigned integrally in the extreme-point solution: If , then we delete the variable from the LP. If , then we commit to assigning unguessed job to tuple by deleting with all its variables and updating the load constraints and the diversity constraints accordingly. Specifically, for every machine , we subtract from the remaining load budget of the machine, and we subtract from the remaining diversity target of each active pair . We end the iteration if at least one variable is deleted. Finally, if no variable was fixed, we drop either a load constraint or a diversity constraint: To this end, define and . We drop the load constraint of some machine if . Otherwise, we drop the diversity constraint of an active pair if . This completes one iteration.
We show that, in every iteration where no variable is fixed, one constraint is dropped necessarily. Consider an iteration where the remaining variables are all assigned fractional values strictly between 0 and 1 in the extreme-point solution. Consequently, none of the variable constraints are tight. We use to denote the set of remaining jobs, and we use to denote the set of remaining load and diversity constraints. Then, by the rank lemma, the number of (non-zero) variables is equal to the maximum number of linearly independent tight constraints, which is at most . Further, for each job , there are at least two variables, since for every tuple . Hence, . Combined with , this gives . As , we then get that . We now argue that one constraint from will be dropped. If , every eligible processing time is zero, so any remaining load constraint has and can be dropped. If no load constraint remains, then , and every remaining diversity constraint satisfies
Since , a diversity constraint can then be dropped. Henceforth assume , and define . It suffices to show that for some machine with remaining load constraint or that for some active pair with remaining diversity constraint. We show this using two bounds. In the following sums, machines and pairs range only over constraints in .
First, we need the bound
where we used that , that , and that .
Second, we need the bound
where we used that , that there are at most active pairs, that , and that .
Combining (6) and (7), we obtain
Since the two sums in (8) have terms in total, at least one of these terms must then lead to a constraint being dropped.
It remains to bound the machine loads and the diversity after rounding. Consider a machine when its load constraint is dropped. Let be its charged load from previously fixed unguessed-job tuples, and let at that moment. The load constraint gives . Writing for each remaining variable's final integral value, we obtain
because . This charged load bounds the load in every schedule. A machine whose load constraint is never dropped has charged load at most .
To bound the diversity after rounding, first consider a constraint removed because its current residual right-hand side is non-positive. The fixed unguessed jobs already meet its original target . Otherwise, when a diversity constraint is dropped, its remaining fractional diversity is at most . The unguessed jobs fixed before that moment therefore contribute at least . A diversity constraint retained until all jobs are assigned is satisfied, and later assignments cannot decrease diversity.
Since every iteration deletes a variable or drops a load/diversity constraint, the number of iterations is at most . Thus, the overall run time is polynomial in the size of the LP.
Guessing the diversity target and the heavy contributors
Theorem 8 (Near-optimal max-min diversity). Fix and . There is a deterministic algorithm that, for every feasible makespan target , computes schedules such that , for every , and . The algorithm runs in time , where is the input encoding length.
Proof. We start by guessing the diversity target to use. To this end, define and . First, compute a baseline family of schedules using Theorem 4; every schedule has makespan at most 2T. Let . If , return this baseline family. Otherwise, let . Enumerate diversity targets for , including and stopping at the first value with . The baseline family covers the case where . For the analysis of , we have , so some enumerated value satisfies .
For each enumerated value of , we guess the heavy contributors. Specifically, for every pair with , we guess the jobs with the largest positive contribution to the diversity of schedules and , and we guess the -tuple of machines to which each of these jobs is assigned in the schedules. Should there be fewer than jobs that positively contribute to the diversity of and , then we guess all of them, again together with their -tuples. We discard inconsistent guesses and guesses whose fixed jobs violate a makespan constraint, as described in Section 5.1. For each remaining guess, we set up (Res-Tuple-LP) and discard the guess if this LP is infeasible. Otherwise, we apply Lemma 10 and combine the rounded assignment with the guessed tuples. We return a family of maximum actual max-min diversity among these candidates and the baseline family.
Among our guesses will be and its correct heavy-contributor guess. Then, by Lemma 9, we know that (Res-Tuple-LP) is feasible. From Lemma 10, we thus obtain an assignment of the unguessed jobs with unguessed-job load at most per machine, where , and diversity at least from unguessed jobs, for every active pair . Adding these unguessed jobs to the heavy-contributor guess then gives makespan at most . For each active pair, the diversity is at least
Inactive pairs already receive at least from guessed jobs. Since , this gives diversity at least .
The run time is dominated by guessing the heavy contributors and their k-tuples: As , the number of these guesses is in . This gives the promised run time of .
C.2 Near-optimal max-min diversity with a makespan factor
In this subsection, we give an alternative algorithm that achieves near-optimal max-min diversity with makespan at most . For small fixed , this improves the dependence on compared with the makespan guarantee in Section 5.1. The algorithm guesses a diversity target and the largest contributors to each pairwise distance, together with their assignments in all schedules. After fixing these assignments and removing large residual contributors, it rounds the residual labeled -tuple LP by iterative rounding, using scaled diversity coefficients to control both the load increase and the diversity loss.
Theorem 13 (Near-optimal max-min diversity). Fix and . There is an algorithm that, for every feasible makespan target , computes schedules such that , for every , and . The algorithm runs in time , where is the input encoding length.
We start from the natural labeled k-tuple LP. For each job and tuple , we introduce a variable that indicates whether job is placed on machine in schedule , for all . Together, the tuples assigned to the jobs encode labeled schedules. For a pair , let ; this is the contribution of job to the diversity of pair when the tuple places on different machines in coordinates and . The key insight is that the diversity of pair is the linear function . Thus, requiring the minimum diversity of the schedules to be at least can be expressed by linear covering constraints. Hence, we obtain the following labeled -tuple LP:
(Tuple-LP)
Fix and schedules of makespan at most such that for every . Let , and set
Guessing the heavy contributors. For every pair , the correct guess selects the largest positive contributors to , or all positive contributors if there are fewer than , together with their full -tuples in . Let be the set of guessed jobs. For each , let be the guessed -tuple, where is the guessed machine of in schedule . For the correct guess, for every and . We define
and
We say that pair is active when . For every unguessed job , we start with all tuples in and delete every tuple with for some active pair . Let be the remaining tuples. The residual -tuple LP is obtained from (Tuple-LP) by restricting to jobs , replacing by , replacing the load targets by , and imposing diversity targets for all active pairs.
Lemma 14 (Removing high-contribution pairs is safe). No tuple used by is deleted. Therefore, the residual k-tuple LP is feasible, and every remaining tuple satisfies for every active pair .
Proof. Suppose that the tuple of an unguessed job used by is deleted for an active pair . Then . If fewer than jobs contribute positively to , all of them were guessed, including , a contradiction. Otherwise, the guessed contributors for this pair each have contribution at least , so their total contribution is larger than . This gives , contradicting that is active. Thus no tuple used by is deleted, and restricting these schedules to the unguessed jobs makes the LP feasible. The bounded-coefficient property holds by construction.
Rounding the residual LP. For the following rounding analysis, we assume . We now round the feasible residual LP produced by the correct guess. It has tuple sets , load targets , and active diversity targets . Furthermore, we define constants
The iterative relaxation keeps the true, unscaled load and diversity constraints. We only use scaling to measure the mass of diversity constraints. The scaled coefficient of in diversity constraint is . The scaled mass of a constraint is the sum of its remaining coefficients, with diversity coefficients multiplied by and load coefficients unchanged.
Since every tuple is eligible, a tuple variable has total load mass at most . Since for every active pair, its total scaled diversity mass is at most . Thus every variable has total scaled mass over all remaining load constraints and active diversity constraints at most .
Lemma 15 (Small-mass constraint). If the current residual LP has at least one variable and an extreme point with no integral variable, then some remaining load constraint or active diversity constraint has remaining scaled coefficient mass at most .
Proof. Let be the set of remaining tuple variables, let be the set of active jobs, and be the set of remaining load constraints and active diversity constraints. Since no variable bound is tight, the extreme point is determined by the active job equalities and the tight remaining load or active diversity constraints, so . Every active job has right-hand side 1, and all its remaining variables are non-integral, so it has at least two remaining tuple variables. Hence , and thus . Since the total scaled mass over all constraints in is at most , the pigeonhole principle implies that some constraint in has mass at most .
Lemma 16 (Rounding after guessing). For the correct heavy-contributor guess, the residual k-tuple LP is feasible and can be rounded in polynomial time for fixed k and to schedules such that for every , and for every .
Proof. By Lemma 14, the residual k-tuple LP is feasible and all remaining diversity coefficients are at most Q/h for active pairs.
At each iteration, we compute an extreme-point solution of the current residual LP. If a variable has value 0, we remove it. If a variable has value 1, we fix the corresponding tuple, update all residual right-hand sides, set the other variables of that job to 0, and remove the job. If an active diversity constraint has non-positive residual right-hand side, we remove it. If all remaining variables are fractional, we apply Lemma 15 and drop a remaining load constraint or active diversity constraint of scaled mass at most . Since job equalities are never dropped, the final solution selects exactly one tuple per unguessed job. Together with the guessed tuples, this gives complete schedules.
Consider a load constraint . If it is never dropped, the final integral solution satisfies its residual target. If it is dropped, consider the moment when it is dropped. The current fractional solution satisfies the residual load bound, and the total remaining load mass in this constraint is at most . Hence, after the constraint is dropped, the additional load that can still be assigned to is at most . Adding the guessed load, we get that the final load is at most
Now consider a pair . If it is inactive, then , so the final diversity is already at least Q. If it is active and its constraint is never dropped, or if it is removed because its residual target is non-positive, then the residual target is met. If it is dropped with positive residual target, the remaining scaled mass is at most . Hence the unscaled diversity that we can lose after the constraint is dropped is at most
Thus every active pair has final diversity at least .
The run time of the rounding step is polynomial for fixed and , because the LP has variables and each iteration fixes a variable, removes a job, or drops a constraint.
Guessing the diversity target and proof of Theorem 13
Proof of Theorem 13. If T = 0, we replace every positive processing time by 2 and use makespan target 1. This preserves the eligible pairs and the feasible schedules, so the diversity optimum is unchanged. The rounding procedure assigns jobs only to eligible machines; hence every output schedule has makespan 0 in the original instance. We may therefore assume T > 0.
Let and set . We always try the value and retain the resulting schedules as an initial candidate family, called the baseline family. For this run, we ignore the diversity constraints and apply the same iterative rounding with only load constraints. Since each tuple has total load mass at most , the same counting argument gives schedules of makespan at most .
Let . If , return the baseline family. Otherwise, let . Enumerate for , including and stopping at the first value with . The baseline covers . If , then , so some value satisfies
For a fixed guessed value , we enumerate for every pair up to jobs together with their full -tuples. We discard guesses that are inconsistent or whose fixed jobs already violate a makespan constraint. For each remaining candidate, we form the residual LP, discard the candidate if this LP is infeasible, and otherwise apply the same iterative-rounding procedure. The number of candidates is .
For the guessed value , consider the candidate that agrees with a set of optimal schedules with max-min diversity . Since , these schedules have pairwise diversity at least , and Lemma 16 applies. Thus we obtain schedules of makespan at most and pairwise diversity at least .
Using and (9), we have that
Moreover, the makespan is at most .
Since , the enumeration takes time
Each rounding run is polynomial in the size of the k-tuple LP, and the geometric search contributes only a polynomial factor in the input encoding length . Therefore the total run time is . Returning a solution of maximum actual max-min diversity over all guesses and the baseline family yields the theorem.
C.3 Unrelated-machine scheduling with covering constraints
Guessing the heavy jobs. Let denote an (unknown) integral feasible solution of (Cov-LP), which exists by assumption, and fix . We say a job is heavy for constraint if it is among the jobs of largest positive contribution under , where
The assignment is unknown, hence the algorithm cannot identify the heavy jobs directly. Instead, we enumerate all possible choices. For each constraint we guess up to jobs together with their assigned machines. We call such a guessed partial assignment a candidate. We immediately discard candidates that assign one job to multiple different machines or whose guessed jobs already violate a makespan target. For each constraint, the number of possible guesses is at most . Thus the total number of candidates is at most
Among these candidates is the one that, for every constraint , assigns the heavy contributors of a to their machines under , or all positively contributing jobs if there are fewer than h of them. We fix this candidate for the remainder of the analysis. This candidate does not need to reconstruct on the other jobs. It only fixes the heaviest contributors of , which is precisely the property that bounds the rounding loss.
For this fixed candidate, let G be the set of guessed jobs, where j is placed on guessed machine . We initialize the residual makespan targets and residual covering targets as
By the discard rule, for every machine . The residual makespan and covering targets are updated as the iterative rounding assigns more jobs. A constraint with is already covered by and is discarded from the residual LP. Furthermore, let be the remaining active covering constraints. The residual LP has a variable for each unguessed job and machine , assignment constraints , capacities , and active targets for . Restricting to the unguessed jobs gives a feasible integral point, so the residual LP is feasible.
We now show that in the residual LP we can safely remove every variable whose contribution is large relative to the target of some active constraint , namely . We show that after removing these high-contribution variables, the restriction of to the unguessed jobs remains feasible for the residual LP.
Lemma 17 (Removing high-contribution pairs is safe). Delete from the residual LP every variable with for some active . Then no assignment pair used by is deleted. Consequently the residual LP remains feasible, witnessed by restricted to the unguessed jobs, and every surviving variable satisfies for all .
Proof. Suppose that there is an active covering constraint and an unguessed job such that and . We show that this is impossible by deriving a contradiction. If uses fewer than jobs with positive contribution to covering constraint , then the candidate guesses all of them, including , a contradiction. Hence, uses at least jobs with positive contribution to covering constraint . The candidate guesses the largest positive contributors for constraint under . Since the unguessed assignment pair has contribution , each guessed contributor has contribution at least . Together they therefore contribute more than to constraint . It follows that , hence , contradicting that is active. Therefore no pair of is deleted, so restricted to the unguessed jobs remains feasible, and the surviving variables are exactly those with for every active .
For an arbitrary candidate, if the resulting residual LP is infeasible, we discard the candidate. Otherwise, we run the iterative-rounding procedure described below.
Iterative rounding. After removing the variables corresponding to high-contribution pairs, the algorithm rounds the residual LP by iterative relaxation. We maintain a fractional extreme point of the current residual LP and repeatedly apply one of the relaxation rules below. We recompute an extreme point of the updated LP after each relaxation. Throughout, we write for the set of pairs such that the variable is part of the residual LP. Moreover, for a machine , we write for the number of unassigned jobs that still have as an eligible machine, i.e., the number of remaining variables . A job is assigned once its variable is fixed to 1, at which point the residual capacity is decreased by the load of this job, and each residual covering target becomes .
The rules are as follows. If a variable is equal to 0, it is removed from the LP. If a variable is equal to 1, then job is assigned to machine , and we update and the accordingly and remove the variables corresponding to . If an active constraint is covered by the assigned jobs, that is, , then we remove it from and the LP. Finally, if some machine has , then we remove the makespan constraint of machine from the LP. This last rule is inspired by the iterative rounding procedure of Korupolu, Meyerson, Rajaraman, and Tagiku [19].
Each rule strictly decreases the number of variables or constraints, so the process terminates. Next we show that once none of these rules applies, the remaining number of variables is small, and since all jobs have low contribution to the covering constraints, completing the remaining assignment can lose at most an fraction of each covering target.
Lemma 18. Let be an extreme point of the residual LP at which none of the rules above apply. Then .
Proof. If , the claim is immediate. We therefore assume . Let be the set of machines still having a makespan constraint and let be the set of unassigned jobs. We denote by the machines whose makespan constraint has been dropped. Every remaining variable satisfies , because the first two rules do not apply. Moreover, since the last rule does not apply, we have for every machine , where the sum is over the unassigned jobs with a variable on .
Each remaining variable is counted by exactly one machine, so . Using the degree bound for and yields
(10)
All remaining variables are strictly fractional, so no variable-bound constraint is tight. Thus, the extreme point is determined by linearly independent tight constraints among the assignment constraints, the remaining makespan constraints, and the active covering constraints. There are at most assignment constraints, at most remaining makespan constraints, and at most active covering constraints, hence
Moreover, each unassigned job is split over at least two machines, because it has and , so it accounts for at least two variables, hence . If , then (11) and imply , and hence . Thus, we may assume . We combine (10), (11) and to obtain
Rearranging yields , that is, .
Thus, when none of the rounding rules apply, the process ends with at most variables still fractional. Crucially, the covering constraints no longer matter, because each surviving variable contributes at most to any active constraint , and hence by the choice of , the total fractional contribution is at most . This means that any assignment of the remaining fractional variables loses at most a fraction of each covering target. We discard the remaining covering constraints. The residual assignment LP now only has assignment and makespan constraints, and the surviving fractional solution is a feasible point. Rounding this LP the same way as Shmoys and Tardos [27] did assigns each remaining job to an eligible machine and increases the load on every machine whose makespan constraint remains by at most the largest processing time of a remaining job eligible on that machine, which is at most its target. We show in Lemma 20 that the resulting load stays within on each machine. Before turning to the makespan, we first prove that the covering guarantee holds for any assignment of the remaining variables.
Lemma 19 (Covering guarantee). When the iterative rounding terminates, dropping all remaining active covering constraints and completing the assignment yields for every that
Proof. Fix a constraint . If was discarded during the rounding or inactive from the start, then , meaning the guessed and assigned jobs already contribute the full target , hence the bound holds. So suppose is still active when the rounding terminates.
By Lemma 17 every surviving variable satisfies . Hence, using the bound of Lemma 18, the contribution to a carried by the remaining fractional variables is
Therefore the fractional variables carry at most of constraint , and dropping them decreases the covering value by at most this much. The guessed and assigned jobs supply the remaining target , and the fractional solution is at least before rounding, so after discarding the fractional contribution the integral assignment collects at least
Completing the assignment of the remaining fractional jobs only adds contribution, so the bound is preserved.
It remains to bound the makespan. The residual capacity tracks the budget left on machine . Initially is equal to minus the guessed load, and it decreases by whenever a job is assigned to machine . Thus, as long as the makespan constraint of machine remains present, the assigned load charged to never exceeds , and the increase over the fractional load present when this constraint is dropped is bounded in Lemma 20 by at most .
Lemma 20 (Makespan guarantee). The final assignment satisfies
for every machine .
Proof. Fix a machine . The makespan constraint of machine is either dropped before all rounding rules have been applied or not. First suppose that machine is dropped, and let be the fractional solution at the moment it is dropped from the residual LP. Then there are at most jobs with a variable to machine . The jobs already assigned to machine have load equal to . Furthermore, . All variables considered here are eligible on machine , so . Hence, the increase in load on machine after rounding these jobs is bounded by
Thus, the total load on machine i for the final integral assignment is at most the load of the jobs already assigned to i at the moment that the makespan constraint is dropped, plus the load of the fractional jobs at that moment, plus the potential increase of the fractional jobs when they are rounded up, that is,
In the second case, the makespan constraint of machine is never dropped. Let be the final fractional solution at the moment that none of the rounding rules apply. Then, as mentioned in Lemma 19, we can drop all covering constraints and are left with a generalized assignment problem. We can round the job assignments using the rounding technique of Shmoys and Tardos [27], violating the remaining makespan constraint on machine by at most the largest processing time of a remaining job eligible on . This largest processing time is at most . Hence, the total load on machine is at most .
Proof of Proposition 11. We now assemble the preceding lemmas into a proof of Proposition 11.
Proposition 11. Fix and . If (Cov-LP) admits an integral feasible solution, then an integral assignment can be computed in time , where is the input encoding length, satisfying for all , for all , and for all .
Proof of Proposition 11. If , there are no covering constraints, and the claim directly follows from the generalized-assignment rounding of Shmoys and Tardos [27], which already yields makespan at most . We therefore assume and run the algorithm described above.
The algorithm enumerates all candidates and, for each one that is not discarded, performs the iterative rounding and outputs an integral assignment. It returns an assignment satisfying the makespan and covering bounds. To prove correctness it therefore suffices to exhibit one candidate whose run produces such an assignment. Let be the candidate that, for each constraint , selects the heavy contributors of a together with their machines under . Since agrees with the feasible assignment , it is consistent and its fixed load on every machine is at most , so it is not discarded.
Consider the run on . By Lemma 17, deleting the high-contribution variables keeps the residual LP feasible, witnessed by restricted to the unguessed jobs, and leaves every surviving contribution below . The iterative rounding terminates, and by Lemma 18 we have . Discarding the remaining covering constraints and completing the assignment, Lemma 19 gives for every , and Lemma 20 gives for every machine . Since each job is assigned to exactly one eligible machine, we also have for every job . Hence the run on produces an assignment meeting the makespan and covering bounds.
It remains to bound the run time. There are at most candidates. For each candidate the iterative rounding performs polynomially many steps, each recomputing an extreme point by solving a linear program of polynomial size, and assigning the remaining variables also takes polynomial time. The total run time is therefore .
C.4 Low-makespan max-min diversity
We are now ready to give the full proof of Theorem 12.
Theorem 12 (Low-makespan max-min diversity). Fix and . There is an algorithm that, for every feasible makespan target , computes schedules such that for every and . The algorithm runs in time , where is the input encoding length.
Proof. Set . We first prove a threshold statement. Fix a value . We show that, given such a threshold , one can compute schedules of makespan at most and max-min diversity at least .
The algorithm constructs the schedules one by one. After schedules have been constructed, we maintain that each of them has makespan at most and that every pair among them has diversity at least .
For the first schedule, we apply Proposition 11 with no covering constraints and makespan targets for all machines . Since is feasible, the corresponding LP has an integral feasible solution. Thus, we obtain a schedule with .
Now suppose that and that schedules have already been constructed. Let be an optimal solution for . Thus, for every , and for every distinct . We claim that there exists such that
Suppose not. Then for every , there exists some such that
Since , the pigeonhole principle implies that two distinct optimal schedules and are mapped to the same constructed schedule . By the triangle inequality,
This contradicts . Hence, such a schedule exists.
Fix such a schedule . The schedule has makespan at most and diversity at least from each of . For each previously constructed schedule , define covering coefficients
Then is an integral feasible solution of (Cov-LP) with makespan targets for all machines and covering targets , one covering constraint for each previously constructed schedule. Applying Proposition 11 with parameter gives a schedule with and, for every ,
Thus, after adding , all constructed schedules still satisfy the same makespan and pairwise-diversity guarantees. By induction, after steps we obtain schedules of makespan at most and max-min diversity at least . This proves the threshold statement.
It remains to remove the assumption that a suitable threshold is known. Let . We always run the threshold algorithm with and retain its output as a baseline family. Let . If , return this family. Otherwise, let . Enumerate for , including and stopping at the first value with . The baseline covers . If , then , so one guessed threshold satisfies
We run the threshold algorithm for every guessed threshold. Runs that do not return k schedules satisfying the required makespan and pairwise-diversity bounds for the guessed threshold are discarded. Among the remaining outputs and the baseline family, we return a family with maximum actual max-min diversity.
For the guessed threshold , the threshold statement applies. Therefore, one of the runs returns schedules of makespan at most and max-min diversity at least
The second inequality follows from and .
Finally, we bound the run time. For a fixed threshold, the sequential construction invokes Proposition 11 exactly times. Each invocation has at most covering constraints and uses parameter . Therefore, each threshold run takes time . The number of guessed thresholds is , which is absorbed in the stated bound. Hence the total run time is .
C.5 Hardness for max-min diversity
We prove the hardness result using two machines and all processing times equal to 0. Thus, every schedule has makespan 0, and only the diversity requirement matters.
Lemma 2. Given a diversity value Q, it is NP-hard to decide whether there exist three schedules such that , even if the makespan constraint is ignored.
Proof. We reduce from PARTITION. Let be an instance of PARTITION with . Without loss of generality, we assume that for every .
For each , we create a job of weight . We also create one additional dummy job of weight . Thus, the total weight of all jobs is 3B.
We use exactly two machines, . Every job, including the dummy job, may be assigned to either machine, and we set for every machine i and job j. Consequently, every assignment is a feasible schedule with makespan 0.
We set the diversity value Q equal to 2B. We show that the PARTITION instance is a “yes”-instance if and only if there exist three feasible schedules such that
First suppose that the PARTITION instance is a “yes”-instance. Then there exists a set such that . Let . Since , we also have that . We define three schedules as follows. For the dummy job, set
For each job set
For each job set
The three groups S, , and each have total weight B, and each pair of schedules differs on exactly two of them. Hence,
Therefore, the constructed instance admits three feasible schedules with minimum pairwise diversity at least 2B.
Conversely, suppose there exist three schedules such that
Since there are only two machines, for each job either all three schedules assign it to the same machine, or exactly one schedule assigns it to a different machine from the other two.
Let be the set of jobs on which all three schedules agree. For , let be the set of jobs for which is the unique schedule that differs from the other two. Define
Then
Jobs in do not contribute any positive pairwise diversity. A job in contributes to the two pairwise diversities involving , and analogously for and . Therefore,
Since all three pairwise diversities are at least 2B, summing the three inequalities gives
On the other hand, . So and thus and all three pairwise diversities are exactly 2B. Hence,
Solving this set of equations gives .
Consequently, the jobs are partitioned into three groups , each of total weight . The dummy job has weight exactly , so the group containing the dummy job contains no other jobs. The remaining two groups contain only the original jobs and each group has total weight . Therefore, they define a partition of .
Thus the PARTITION instance is a “yes”-instance if and only if the constructed instance admits three feasible schedules with minimum pairwise diversity at least 2B. Consequently, the decision version of the max-min diversity problem is NP-hard.