Manuscript Offprint
arXiv:2610.33666Approximation algorithms for identical parallel machine scheduling with assignment costs
Abstract
We study non-preemptive scheduling on identical parallel machines in which assigning job to machine incurs the cost . The processing times and the cost weights are independent, and the number of machines is part of the input. For every fixed and every deadline for which a schedule with makespan at most exists, we give a polynomial-time algorithm that computes a schedule with makespan at most whose total assignment cost does not exceed the minimum under the deadline . Using this algorithm as a subroutine, we obtain a polynomial-time approximation scheme for minimizing the makespan under a total cost budget whose schedules always satisfy the budget; this answers an open question for costs with independent of . For the lexicographic problem, in which the total assignment cost is minimized among all schedules of minimum makespan, we obtain in polynomial time a schedule with makespan at most times the minimum and total assignment cost at most that of a lexicographically optimal schedule; this improves the makespan guarantees of earlier algorithms for additive and multiplicative costs. For costs , where is charged for each job processed on , the same guarantees are obtained in quasi-polynomial time.
Keywords: Scheduling; Identical parallel machines; Machine assignment costs; Approximation schemes; Bicriteria approximation; Lexicographic optimization
1 Introduction
In parallel machine scheduling with assignment costs, the machine selected for a job determines both the load placed on that machine and the cost of processing the job. Scheduling decisions must therefore take time and cost into account simultaneously. The generalized assignment problem (GAP) provides a general model for this trade-off (Ross and Soland, 1975; Shmoys and Tardos, 1993). An instance consists of parallel machines and independent jobs; processing job on machine requires time units and incurs a cost , and every job must be processed non-preemptively by exactly one machine. Given a makespan bound and a cost bound , the GAP asks whether there exists a schedule with makespan at most and total cost at most . When all costs are zero, the GAP reduces to the unrelated parallel machine scheduling problem and inherits its inapproximability (Lenstra et al., 1990). Research has therefore concentrated on bicriteria approximation and on special cases with additional structure.
Special cases with machine-independent processing times arise in green manufacturing, where the machines have the same functionality and speed but differ in energy consumption (Li et al., 2016). In this setting, and , where denotes the processing cost per unit time on machine ; the cost incurred on a machine is thus proportional to its load. Two optimization problems have been studied for this model: the minimization of the total assignment cost subject to a common deadline (Jiang et al., 2023; Li and Ou, 2025), and the minimization of the makespan subject to a cost budget (Li et al., 2016; Jiang et al., 2023; Li and Ou, 2024).
Leung et al. (2012) proposed a lexicographic treatment of the two criteria, motivated by the different objectives of customers and service providers. When the makespan is the primary objective, it is minimized first, and the total assignment cost is then minimized over all schedules that attain the minimum makespan. In this line of work, the job cost parameters are specified independently of the processing times. Additive costs (Leung et al., 2012; Lee et al., 2014; Kononov et al., 2019) and multiplicative costs (Leung et al., 2012; Lee et al., 2014) have received particular attention, where is a machine-dependent parameter and is a job-dependent parameter. Leung et al. (2012) also considered , , and a setting with two classes of machines.
The cost functions , , and are special cases of
where is a machine cost coefficient, is a job cost weight, and is a job-specific cost that is independent of the selected machine. This paper studies (1) with processing times and weights specified independently. In this case, the load of a machine no longer determines the cost of the jobs assigned to it, and an assignment must account for processing times and weights at the same time. Because takes the same value for every schedule, the terms do not affect the set of optimal schedules; they are retained so that additive costs are obtained with and . We also study the cost function , in which a base cost is charged for each job processed on .
Using the three-field notation, we consider three problems. For a common deadline , problem TMC asks for a schedule that minimizes the total assignment cost among all schedules with makespan at most . For a cost budget , problem asks for a schedule that minimizes the makespan among all schedules with total assignment cost at most . Problem LEX( , TMC) asks for a schedule that minimizes the total assignment cost among all schedules with minimum makespan.
Approximation guarantees are stated as pairs with . For TMC, an -approximation algorithm returns, whenever a schedule with makespan at most exists, a schedule with makespan at most and total assignment cost at most times the minimum total assignment cost among schedules with makespan at most . For , it returns, whenever a schedule with total assignment cost at most exists, a schedule with total assignment cost at most and makespan at most times the minimum makespan among such schedules. In both cases, measures the violation of the constraint and measures the objective value relative to the optimum under the original constraint; in particular, means that the constraint is satisfied. When , the benchmark for remains the optimum under the original constraint, so does not imply optimality among the schedules that satisfy the relaxed constraint. For , an -approximation algorithm returns a schedule whose makespan is at most times the minimum makespan and whose total assignment cost is at most times the minimum total assignment cost among schedules with minimum makespan. The same notation is used for the corresponding problems on unrelated machines; for example, TMC denotes the cost-minimization version of the GAP with a common capacity . Several results in the literature are stated for a given cost bound : if a schedule with makespan at most and total cost at most exists, a schedule with makespan at most and total cost at most is returned. For rational data, such a guarantee is equivalent to an -approximation for TMC, by a binary search over . Formal definitions are given in Section 2.
1.2 Related work
General assignment costs. For TMC, Lin and Vitter (1992) obtained a polynomial-time -approximation algorithm for every , and Shmoys and Tardos (1993) subsequently improved the approximation ratio to . Their rounding technique also applies to machine-dependent capacities , in which case the load of each machine is at most . Without costs, Potts (1985) and Lenstra et al. (1990) gave 2-approximation algorithms for with a fixed and an arbitrary number of machines, respectively, and Shchepin and Vakhania (2005) improved the ratio to . Lenstra et al. (1990) also proved that, unless , no polynomial-time algorithm for achieves a ratio less than , even for restricted assignment instances with .
Because every schedule satisfies the cost guarantee when all costs are zero, this result implies that, unless P = NP, no polynomial-time -approximation algorithm with exists for TMC, for any . For a fixed number of machines, Jansen and Porkolab (2001) and Angel et al. (2001) developed algorithms that, for every , achieve - and -approximations, respectively, in time polynomial in and . For instances in which the machines fall into a constant number of types, with machines of the same type having identical processing times and identical costs, Nguyen and Rothe (2020) obtained polynomial-time -approximation algorithms for TMC . They also raised the question of whether a polynomial-time -approximation algorithm, which respects the budget, exists for this problem.
Identical machines without costs. Hochbaum and Shmoys (1987) developed the first polynomial-time approximation scheme (PTAS) for by combining dual approximation, rounding of processing times, and dynamic programming over machine configurations. Alon et al. (1998) extended this approach to a broad class of objective functions of the machine loads, and efficient polynomial-time approximation schemes (EPTASs) were subsequently developed by Jansen (2010) and Jansen et al. (2020). Since is strongly NP-hard, it admits no fully polynomial-time approximation scheme (FPTAS) unless P = NP (Garey and Johnson, 1978). The algorithms in this paper build on the dual approximation framework of Hochbaum and Shmoys (1987). The main difficulty is to ensure that the total assignment cost does not exceed the optimum under the original deadline while the processing times are rounded.
Costs proportional to processing times. For with , let . For TMC, Jiang et al. (2023) gave a polynomial-time -approximation algorithm, and Li and Ou (2025) improved the guarantee to for any fixed . Li and Ou (2025) further showed that, when is unbounded, no polynomial-time -approximation algorithm with constant exists unless P = NP, and obtained a linear-time -approximation algorithm for the case in which the maximum unit processing cost is a fixed constant. For , Li et al. (2016) gave an -time -approximation algorithm for the non-preemptive problem and a linear-time exact algorithm for the preemptive problem. Jiang et al. (2023) improved the guarantee for the non-preemptive problem to , where . Li and Ou (2024) then obtained an -time -approximation algorithm and the first PTAS for this problem, that is, a polynomial-time -approximation algorithm for each fixed ; for a fixed number of machines, they also developed an FPTAS. They also proposed the development of PTASs for two extensions: , where is a setup cost charged for each job processed on , and , where is specified independently of . Gong and Mumey (2026) studied a related model in which jobs may be rejected at a penalty and the machines have different energy consumption rates.
Lexicographic optimization. For , Leung et al. (2012) studied both LEX( , TMC) and LEX(TMC, ). In the non-preemptive setting, both problems with are solvable in time on unrelated machines, whereas both problems with are strongly NP-hard even on identical machines. For LEX( , TMC) on identical machines, Lee et al. (2014) proposed heuristics that are -approximation algorithms for additive and multiplicative costs, where is the approximation ratio of the algorithm used for . For additive costs, Kononov et al. (2019) improved the guarantee to . Kononov et al. (2019) also studied TMC, where is the optimal makespan of and is a fixed constant. They proved that this problem is strongly NP-hard for both additive and multiplicative costs and that, unless P = NP, it admits no pseudo-polynomial-time -approximation algorithm for any finite . For additive costs with and , they gave a polynomial-time -approximation algorithm in which depends on , , and , together with an -time dynamic programming algorithm for instances with a fixed number of distinct processing times. Lee et al.
(2014) additionally studied LEX( , MMC), where MMC denotes the maximum total assignment cost incurred on a single machine.
Relation to the present work. Several of the results above already yield guarantees of the type considered here, either for particular cost functions or for a fixed number of machines. For fixed m, the algorithm of Angel et al. (2001) provides a -approximation for arbitrary costs ; combined with the search procedures in Sections 4 and 5, it yields the guarantees of this paper for all three problems. The results of this paper are therefore of interest when m is part of the input. The algorithms of Nguyen and Rothe (2020) require identical costs within each of a constant number of machine types, a condition that fails when the coefficients take more than a constant number of distinct values, and they provide -rather than -approximations. For and integral data, the -approximation algorithm of Li and Ou (2024), combined with a binary search over the budget, yields a -approximation algorithm for TMC and hence for LEX( , TMC). The novelty of the present work therefore lies in allowing the weights to be independent of the processing times , which covers the additive and multiplicative costs of Leung et al. (2012) and the extension proposed by Li and Ou (2024).
The structure of the cost function cannot be dispensed with. For arbitrary costs , even with machine-independent processing times, the restricted assignment problem is obtained by setting for permitted assignments, otherwise, and . By the result of Lenstra et al. (1990), there is then no polynomial-time -approximation algorithm with for and no polynomial-time -approximation algorithm with for , unless P = NP. This does not conflict with the results of this paper. Under (1), for every job j, so all jobs rank the machines in the same order of . Such costs cannot express machine restrictions in which two jobs prefer different machines, as the instances in the above reduction require. The inapproximability results of Kononov et al. (2019) and Li and Ou (2025) concern -approximations for deadline-constrained problems and therefore do not apply to the -approximations developed here.
1.3 Our contributions
The main results concern the cost function (1) with processing times and weights specified independently and with the number of machines part of the input.
For each fixed , we develop a polynomial-time -approximation algorithm for TMC. Whenever a schedule meeting the deadline T exists, the algorithm returns a schedule with makespan at most whose total assignment cost does not exceed the minimum under the original deadline. Following the dual approximation framework, the algorithm rounds the processing times of large jobs and selects machine configurations by dynamic programming, while the individual jobs are chosen by two ordering rules. Within each rounded processing time class, large jobs are assigned to the machines in non-increasing order of weight. Small jobs are assigned in non-increasing order of according to cumulative, rather than machine-wise, processing time bounds. Under these rules, the machine index and the cumulative numbers of large jobs assigned from each class determine exactly which small jobs have been assigned, so that the dynamic program requires no state component for small jobs. An exchange argument based on prefix sums of weights shows that every schedule meeting the deadline T can be transformed into a schedule generated by these rules without increasing its total assignment cost, at the expense of exceeding T by a factor of at most .
Using this algorithm as a subroutine, we obtain, for each fixed , a polynomial-time -approximation algorithm for and a polynomial-time -approximation algorithm for . The former satisfies the original budget and is therefore a PTAS; in particular, it provides the PTAS for sought by Li and Ou (2024). For multiplicative costs, the latter improves the -approximation of Lee et al. (2014) to a -approximation; for additive costs, it improves the -approximation of Kononov et al. (2019) in the same way. The algorithms of Lee et al. (2014) and Kononov et al. (2019) have substantially lower running times, so the improvement concerns the approximation guarantee rather than computational efficiency.
For , with no ordering relation imposed between and , the total base cost depends on the number of jobs assigned to each machine and cannot be controlled through the weights alone. We assign every job with processing time at most to a machine of minimum assignment cost and schedule the remaining jobs, which fall into rounded classes, by dynamic programming. This yields quasi-polynomial-time algorithms with the same guarantees for all three problems. In particular, it gives a quasi-polynomial-time approximation scheme (QPTAS) that satisfies the original budget for , which partially answers the second question of Li and Ou (2024); the existence of a PTAS for this cost function remains open.
The remainder of the paper is organized as follows. Section 2 introduces the notation, defines the approximation guarantees formally, and presents a lemma for comparing total assignment costs. Section 3 presents and analyzes the algorithm for TMC. Using this algorithm as a subroutine, Sections 4 and 5 develop the algorithms for and , respectively. Section 6 extends the approach to the cost function , and Section 7 concludes with a discussion of open problems.
2 Preliminaries
Instances and schedules. For a positive integer , let . We use the model of Section 1.1 and write for the machine and job data, where , , , and are the vectors of processing times, machine cost coefficients, job cost weights, and job-specific costs, respectively. An instance of TMC is a pair with , an instance of TMC is a pair with , and an instance of LEX(, TMC) is given by alone. For each of these instances, denotes the length of its binary encoding, including or where applicable. By reindexing the machines, we assume without loss of generality that .
For , let and denote the total processing time and the total weight of , respectively, with . A schedule is an m-tuple of pairwise disjoint, possibly empty, subsets of whose union is , where is the set of jobs assigned to machine . A partial schedule is defined in the same way, except that the union of its sets may be a proper subset of . Since neither objective depends on the order in which the jobs in are processed, a schedule is determined by its assignment of jobs to machines. Let denote the set of all schedules. The makespan and the total assignment cost of are
where does not depend on the assignment.
Optimal values and basic bounds. Throughout the paper, the minimum over an empty set is defined as . For , let
denote the set of schedules that meet the deadline and the minimum total assignment cost over this set. For , the optimal makespan of is
For , let denote the minimum makespan, and let denote the minimum total assignment cost among schedules with makespan . A schedule with and is called lexicographically optimal. Since whenever , the function is non-increasing, that is,
Let and . Every schedule satisfies
because its makespan is at least the longest processing time and at least the average machine load, and at most the total processing time. In particular, implies and . Moreover, the definition of and the inequality give .
Since for every and for every , every schedule satisfies . Equality holds for the schedule , which assigns all jobs to and has makespan . Consequently, has a schedule satisfying the budget if and only if , in which case . The same schedule shows that for every .
Approximation guarantees. We now state formally the guarantees described in Section 1.1. Let . An algorithm for TMC is an -approximation algorithm if, for every instance with , it returns a schedule such that
An algorithm for is an -approximation algorithm if, for every instance with , it returns a schedule such that
On an instance that admits no schedule satisfying the original constraint, such an algorithm may return an arbitrary schedule or report that no feasible schedule exists. An algorithm for is an -approximation algorithm if, for every instance , it returns a schedule such that
These definitions do not restrict the running time, which is stated separately for each algorithm. In Section 6, they are used with the total assignment cost defined by the cost function considered there.
Approximation schemes. Given a minimization problem, an -approximation algorithm produces, for every feasible instance I, a feasible solution with objective value at most times the optimal objective value in time polynomial in the input size . A quasi-polynomial-time approximation scheme (QPTAS) is a family of algorithms such that, for every fixed , it contains an algorithm with approximation ratio and running time . If the running time is polynomial in for each fixed , the scheme is called a polynomial-time approximation scheme (PTAS). A PTAS is called an efficient polynomial-time approximation scheme (EPTAS) if its running time is , where is a constant independent of and is a computable function. An EPTAS is called a fully polynomial-time approximation scheme (FPTAS) if is polynomial in , so that its running time is polynomial in both and . For , the budget is a constraint and the makespan is the objective, so a family of -approximation algorithms, which satisfy the budget, is an approximation scheme in this sense. For and , the guarantees obtained in this paper allow the makespan to exceed the deadline or the minimum makespan by a factor of , and we do not refer to the corresponding algorithms as approximation schemes.
Comparison of total assignment costs. The following lemma gives a sufficient condition for comparing the total assignment costs of two schedules of the same instance. It is an equivalent form of Lemma 2.1 in Li and Ou (2024), stated in terms of prefix sums; a short proof is included for completeness.
Lemma 1. Let , and let and be real vectors such that and for . Then .
Proof. Let and for . By assumption, and for . Summation by parts gives
since and for every .
Corollary 1. Let and be schedules of the same instance. If for , then .
Proof. Both schedules assign every job exactly once, so . Applying Lemma 1 with and gives . The claim follows from (2), because is the same for both schedules.
3 An approximation algorithm for TMC
Throughout this section, the deadline and the accuracy parameter are fixed, and we set
By Section 2, if or . We therefore assume that and , but we do not assume that . Following the dual approximation framework of Hochbaum and Shmoys (1987), the algorithm rounds the processing times of large jobs and selects machine configurations by dynamic programming. Each sequence of configurations determines a single schedule through two ordering rules, and the dynamic program selects the cheapest of these schedules. Section 3.1 introduces the rounding and the configurations, and Sections 3.2 and 3.3 present the ordering rules for large and small jobs. Section 3.4 compares the resulting schedules with the schedules in , and Sections 3.5 and 3.6 give the dynamic program and the analysis of the algorithm.
3.1 Rounding and configurations
A job is large if and small otherwise; let and denote the sets of large and small jobs, respectively. Since and every large job has processing time greater than , we have .
Let for , and let be the smallest index with . Then and
where the bound follows from . Since for every large job, the classes
are pairwise disjoint and cover ; some of them may be empty. Let and . The processing time of each job is rounded up to , whereas small jobs keep their processing times. Since for , every satisfies
All jobs in have the same rounded processing time, so the rounded load of the large jobs on a machine depends only on the number of jobs taken from each class. A configuration is a vector , where is the number of jobs from on the machine. For , let , and write if for all . With , we use the set of configurations
Because for every , the condition is implied by . It is stated explicitly because is constructed by enumerating the nonnegative integer vectors with component sum at most . Hence , which is a constant for fixed . The zero vector belongs to .
A sequence with is called a configuration sequence, where is the configuration of . Every schedule induces a configuration sequence. Indeed, let . By (6), , so for every , and because every large job is assigned exactly once.
3.2 Assignment of large jobs
A configuration specifies only the number of jobs taken from each class. Since the jobs of a class may have different weights, the individual jobs are selected by the following rule. For each nonempty class , let be its jobs in non-increasing order of weight, with ties broken by increasing job index. Given configurations of the machines , let and , so that is the number of jobs from assigned to . The machines are considered in the order , and machine receives the next jobs of each list:
For a configuration sequence, , so the sets are pairwise disjoint with union , and for all and . In particular, , regardless of which jobs are selected. Moreover, depends only on . The next lemma shows that, among all assignments of large jobs with the same numbers of jobs from each class on each machine, the rule (8) maximizes every prefix sum of the machine weights and therefore minimizes the total assignment cost of large jobs.
Lemma 2. Let be given by (8) for a configuration sequence, and let be pairwise disjoint, possibly empty, subsets of with union such that for all and . Then
and consequently .
Proof. Fix and . Both assignments place exactly jobs of on , and (8) places the first jobs of the list . These jobs have the largest total weight among all subsets of of this size, so . Summing over gives (9). Since , Lemma 1 with and yields . Adding to both sides proves the cost inequality.
3.3 Assignment of small jobs
For configurations as in Section 3.2, let . Then , so does not exceed the capacity that remains on below after the large jobs are assigned.
Let , and let be the small jobs in non-increasing order of , with ties broken by increasing job index. For , let , so that and . The following lemma shows that a prefix of this list has the largest total weight among all sets of small jobs with no larger total processing time.
Lemma 3. Let for some . Every with satisfies .
Proof. If , then , and because all processing times are positive. Let and . Every job in has ratio , and every job in has ratio . Therefore,
The small jobs are assigned in list order according to cumulative processing time bounds. For , let
which is well defined because . Thus , for , and is non-decreasing. Let and . Machine receives the small jobs
Equivalently, the machines are considered in the order , and receives the next jobs of the list until the small jobs on have total processing time at least or the list is exhausted. The stopping rule thus compares the cumulative load of small jobs on with , rather than with . In particular, is empty if the small jobs on already have total processing time at least . As for large jobs, depends only on .
Lemma 4. Let , and let be given by (11). Then are pairwise disjoint, and for every ,
Moreover, if , then .
Proof. Since and is non-decreasing, the index intervals in (11) are pairwise disjoint, and . For , let and . By the definition of , , with equality if . If , the minimality of gives , and hence . Thus for every . Furthermore, for : if , then ; otherwise, . Consequently, and , which proves (12). Finally, if , then , and every small job is assigned.
3.4 Canonical schedules
For a configuration sequence , let and be given by (8) and (11) with , and let . We call the canonical schedule of the sequence. We first verify that is a schedule. By (6), , and by assumption. Hence
(13)
By Lemma 4, the sets are pairwise disjoint with union , so assigns every job exactly once. Moreover, and give
This bound holds for every configuration sequence, regardless of whether is empty. A canonical schedule need not meet the deadline T.
Let C denote the set of canonical schedules of all configuration sequences. The following lemma is the key step of the analysis: every schedule that meets the deadline can be transformed into a canonical schedule without increasing its total assignment cost.
Lemma 5. For every , there exists such that
Consequently, .
Proof. Let and , and let . By Section 3.1, is a configuration sequence. Let be its canonical schedule, with . By Lemma 2, for every .
For the small jobs, (6) and give
Fix , and let and . Then is a prefix of the small-job list. The inequalities above give , and holds trivially; together with Lemma 4, this yields . Lemma 3 now gives , that is, . Adding the inequalities for large and small jobs gives (15), and Corollary 1 gives .
Applying Lemma 5 to a schedule that attains shows that, whenever ,
In view of (14), it therefore suffices to find a canonical schedule of minimum total assignment cost.
3.5 Dynamic programming
The dynamic program chooses the configurations of in this order. Let . A state with and represents the partial schedules in which the jobs on are assigned by (8) and (11) for some configurations with , and no job is assigned to .
All partial schedules represented by the same state assign the same set of jobs. By (8), their large jobs are the first jobs of each list . For the small jobs, let . For configurations with sum ,
which depends only on and . Since , such configurations can exist only if . In this case, by (11), the machines receive exactly the first
(17) small jobs of the list. The machine index and the cumulative numbers of large jobs from each class thus determine the assigned small jobs, and the dynamic program requires no state component for small jobs.
By (2), the total assignment cost of a schedule equals , where is the same for all schedules. For a state , let be the minimum of over the partial schedules represented by the state, with if the state represents no partial schedule.
Let be a state with , and let with . Then and , so . Choosing as the configuration of assigns to the next jobs of each class list and the small jobs in positions , that is, the set
(18)
With the prefix sums for and for , the weight of this set is
(19)
which can be evaluated in time.
Set and for . For and , set if , and otherwise
The condition ensures that is defined, so every term in (20) is well defined. For each finite , a minimizing configuration is recorded as , with ties broken by a fixed enumeration order of .
By (13), , and hence . If , a schedule is recovered as follows: starting from , for , let , set , and replace by .
Lemma 6. For all and , the value computed by (20) equals the minimum of over the partial schedules represented by , and if the state represents no partial schedule. In particular, . If , the recovered schedule belongs to and satisfies .
Proof. We proceed by induction on . For , the only represented partial schedule is the empty one, with count vector and cost zero. Let , and assume that the claim holds for . If , no configurations sum to , because any such configurations would satisfy ; hence is correct. Let .
Consider the term of (20) for a configuration , and let . By the induction hypothesis, some partial schedule represented by has cost ; it assigns the first jobs of each class list and the first small jobs. Assigning to extends it in accordance with both assignment rules, so the result is a partial schedule represented by whose cost equals the term. Conversely, consider a partial schedule represented by and generated by , and let and . Since and depend only on , its restriction to is represented by and, by the induction hypothesis, has cost at least . Machine receives exactly , so the cost of the partial schedule is at least the term of (20) for . The two directions prove the claim for ; in particular, the minimum in (20) is taken over an empty set exactly when the state represents no partial schedule.
The partial schedules represented by are exactly the canonical schedules, because configurations with sum form configuration sequences and . Together with (2), this gives . If , each recorded configuration attains the minimum in (20) at a state with finite value, so the recovery passes only through such states and ends at , the only state of layer 0 with finite value. The recorded configurations therefore form a configuration sequence whose canonical schedule is , and the costs of the corresponding transitions sum to .
3.6 The algorithm and its analysis
The complete algorithm is summarized below.
Algorithm .
Input: An instance of TMC with , and an accuracy parameter .
Output: A schedule together with and , or FAIL.
Step 1. If or , return FAIL.
Step 2. Set , , and . Determine , , the values , the classes in (5), and .
Step 3. Sort each nonempty class in non-increasing order of and in non-increasing order of , breaking ties by increasing job index. Compute the prefix sums , , and .
Step 4. Construct by enumerating all with and retaining those with and . For all and with , compute by binary search on .
Step 5. Compute and for and by (20), evaluating the transition weights by (19).
Step 6. If , return FAIL. Otherwise, recover from the records Prev, and return , computed with the original processing times, and .
Theorem 1. For every , algorithm is a -approximation algorithm for TMC. More precisely, every schedule returned by satisfies , even if ; if , the algorithm returns a schedule with ; and if it returns FAIL, then . The running time of is
Proof. If Step 1 returns FAIL, then by Section 2. Otherwise, Steps 2–5 carry out the constructions of Sections 3.1–3.5. By Lemma 6, Step 6 returns FAIL exactly when , which by (16) implies . Otherwise, it returns a schedule of minimum total assignment cost over , together with its makespan and its cost. By (14), . If , (16) gives . Hence is a -approximation algorithm.
For the running time, let and . Since , Steps 1–3 take time, including the classification of the large jobs by binary search over . In Step 4, the enumeration takes time, the values take time, and the binary searches take time. Step 5 considers at most mVQ pairs of a state and a configuration, each in time, and Step 6 takes time. The total running time is therefore
Since , we have . Moreover, with , , and . Finally, and . Hence all terms of (21) other than are bounded by . Substituting and using and yields the stated bound.
4 A PTAS for
Throughout this section and the next, denotes a call of algorithm on the instance with accuracy parameter . By Theorem 1, every schedule returned by such a call has makespan at most , even if , and the call returns a schedule with total assignment cost at most whenever .
By Section 2, a schedule satisfying the budget exists if and only if , and in this case , where . The algorithm is based on the following observation. If , then a schedule attaining belongs to and has total assignment cost at most , so that
Hence returns a schedule that satisfies the budget whenever . Since is not known, the algorithm tries the deadlines of a geometric sequence in increasing order and accepts the first returned schedule that satisfies the budget.
Algorithm .
Input: An instance of | TMC with , and an accuracy parameter .
Output: A schedule together with and , or a report that no schedule satisfies the budget.
Step 1. If , report that no schedule satisfies the budget and stop.
Step 2. Set and . Let for , where is the smallest nonnegative integer with .
Step 3. For , call . If the call returns a schedule with , return together with its makespan and total assignment cost, and stop.
Theorem 2. For every , algorithm is a -approximation algorithm for with running time
Consequently, the algorithms with form a PTAS for this problem.
Proof. If Step 1 stops, no schedule satisfies the budget by Section 2. Suppose that , so that . Since and , there is a smallest index with . Either and , or ; in both cases,
By (22) and Theorem 1, the call returns a schedule with total assignment cost at most . Step 3 therefore returns a schedule at some index , and by the acceptance condition. By Theorem 1, (23), and ,
Since and ,
Hence , and is a -approximation algorithm.
For the running time, the inequalities and give
Steps 1 and 2 take time, and Step 3 makes at most calls of with accuracy . By Theorem 1, each call takes time. Since and , this is . Multiplying the first term by the bound in (24) gives the first term of the stated running time. For the second term, , so the factor changes only the constant in the exponent. Finally, the running time is polynomial in for each fixed , and never violates the budget, so the algorithms form a PTAS.
5 An approximation algorithm for LEX( , TMC)
This section uses to obtain, for each fixed , a polynomial-time -approximation algorithm for . Recall that is the minimum makespan and that . Every satisfies and, by (3), . Consequently, a call with returns a schedule with total assignment cost at most . In contrast to the budget in Section 4, however, the bound is not part of the input, so the acceptance test of is not available.
The algorithm therefore proceeds in two phases. It first calls with the deadlines of Section 4 in increasing order and stops at the first call that returns a schedule . The deadline of this call may be smaller than , in which case and the total assignment cost of is not controlled. The makespan , however, satisfies and, as shown below, exceeds by a factor of at most . A second call with deadline therefore returns a schedule whose total assignment cost is at most and whose makespan is at most .
Algorithm .
Input: An instance of LEX(, TMC) with , and an accuracy parameter .
Output: A schedule together with and .
Step 1. Set , and define , , and as in Step 2 of .
Step 2. For , call . At the first call that returns a schedule , set and go to Step 3.
Step 3. Call and return its output.
Theorem 3. For every , algorithm is a -approximation algorithm for LEX( , TMC) with running time
Proof. Since , the argument that leads to (23), with in place of , yields an index with . Because , Theorem 1 ensures that returns a schedule. Hence the first call in Step 2 that returns a schedule has an index . Its output is a schedule of , so , and Theorem 1 gives
Since , the set contains a lexicographically optimal schedule, and (3) gives . By Theorem 1, Step 3 returns a schedule with and, by (25),
Since and ,
Hence and , which proves that is a -approximation algorithm.
The deadline sequence and the accuracy of the calls are the same as in , and makes at most calls of . The analysis in the proof of Theorem 2 therefore yields the stated running time.
6 Extension to costs
This section considers the cost function , in which a base cost is charged for each job processed on machine . We write for the machine and job data and index the machines so that ; no ordering relation is imposed on . All other assumptions are as in Section 2. The total assignment cost of a schedule is
and , , , , and are defined as in Section 2 with this cost function. In particular, (3) and (4) remain valid.
The base cost depends on the number of jobs assigned to each machine. If the number of jobs from each rounded class on each machine is fixed, reassigning jobs within a class leaves this term unchanged, so the rule for large jobs in Section 3 remains applicable. The rule for small jobs, by contrast, maximizes prefix sums of weights but may change the number of jobs on each machine, and it may therefore increase the base cost. We thus treat separately only the jobs with processing time at most . Their total processing time is at most , so each of them can be assigned to a machine of minimum cost without regard to the machine loads. The remaining jobs are assigned by a dynamic program over rounded classes, as in Section 3. Since their processing times can be as small as , the number of classes grows to and the number of jobs on a machine is no longer bounded by a constant, which leads to a quasi-polynomial running time.
6.1 The deadline-constrained problem
Fix and . As in Section 3, we assume that and , since otherwise , and we set
The symbols , , , , , , , , , and Prev are redefined in this section.
Tiny jobs. Let and . Each job is assigned to machine , where is the smallest index in . Let for , and let denote the total cost of these assignments. Since ,
Rounding and ordered assignment. Let for , and let be the smallest index with , that is,
In contrast to Section 3, depends on ; it is for fixed . The classes , , are pairwise disjoint and cover . Let , , and for . The rounding bound (6) holds for every subset of , with the same proof. For each nonempty class, let be its jobs in non-increasing order of weight, with ties broken by increasing job index, and let for . For , let . The following lemma adapts Lemma 2 to the present cost function.
Lemma 7. Let be pairwise disjoint, possibly empty, subsets of with union , and let for and . Let be obtained by considering in this order and assigning to the next jobs of the list of for every , as in (8). Then are pairwise disjoint with union , for all and , and
In particular, for every .
Proof. Since for every , every job of is assigned exactly once, and . Hence , so the base costs coincide on every machine, and both and have rounded load . The argument in the proof of Lemma 2 shows that for every , and Lemma 1 then gives .
Dynamic program. Let . A state with and represents the assignments of the first jobs of each list to in which, for every , the machines receive consecutive blocks of the list of in this order, and the rounded load of every machine is at most . In contrast to Section 3, no configuration set is used: a machine may receive any number of jobs, subject only to the bound . Let be the minimum of over these assignments, where is the set of jobs assigned to , with if no such assignment exists.
If receives the jobs in positions of each list, where , its rounded load is , and its cost is
Set and for . For and , let
and record a minimizing vector as whenever is finite. The choice assigns no job of to . The induction in the proof of Lemma 6 shows that the values computed by (29) are the minima defined above.
The algorithm. The complete procedure for the deadline-constrained problem is as follows.
Algorithm .
Input: An instance of TMC with costs and , and an accuracy parameter .
Output: A schedule together with and , or FAIL.
Step 1. If or , return FAIL.
Step 2. Set , , and . Determine , , the sets , and .
Step 3. Determine , the classes , and . Sort each nonempty class in non-increasing order of , breaking ties by increasing job index, and compute .
Step 4. Compute and for and by (29).
Step 5. If , return FAIL. Otherwise, starting from , for , let , set
and replace by . Return , computed with the original processing times, and .
If , then , and the algorithm returns .
Theorem 4. For every , algorithm is a -approximation algorithm for TMC with costs . More precisely, every schedule returned by satisfies , even if ; if , the algorithm returns a schedule with ; and if it returns FAIL, then . The running time of is , where .
Proof. If Step 1 returns FAIL, then by Section 2. Suppose that Step 5 returns a schedule . As in Lemma 6, the recovery passes only through states with finite values and ends at , so every job of is assigned exactly once; every job of is assigned through the sets . By (28), . The jobs of on each machine have rounded load at most , so and (27) give
This bound does not depend on whether is empty.
Suppose that , and let be a schedule attaining . By (6), the jobs of on each machine of have rounded load at most . Lemma 7, applied to , yields an assignment of that is represented by the state and whose cost does not exceed the cost of the jobs of in . Hence is finite and at most this cost, and Step 5 returns a schedule. Since each job of is assigned at its minimum cost, does not exceed the cost of the jobs of in . Adding the two bounds gives
In particular, if Step 5 returns FAIL, then .
For the running time, let . Step 2 takes time. Step 3 takes time, including the computation of for all . Step 4 considers at most pairs for each machine, and each pair is processed in time with the prefix sums , so this step takes time. Step 5 takes time. Since , all terms are bounded by . Finally, gives , which yields the stated value of .
6.2 The budget-constrained and lexicographic problems
For , the minimum total assignment cost is attained by assigning every job to a machine of minimum cost. Hence a schedule satisfying the budget exists if and only if
The left-hand side can be computed in time, and the corresponding schedule has makespan at most , so that whenever (31) holds. Let be obtained from by replacing the test in Step 1 with (31) and every call with , and let be obtained from by the latter replacement.
Theorem 5. Let and . Algorithm is a -approximation algorithm for , and algorithm is a -approximation algorithm for . Both run in time
which is quasi-polynomial for each fixed . In particular, the algorithms with form a QPTAS for with these costs.
Proof. The proofs of Theorems 2 and 3 use only three ingredients: the characterization of budget feasibility together with ; the relations (22), (3), and (4), which hold for every cost function; and the properties of stated in Theorem 1. The first ingredient is provided by (31), and Theorem 4 provides the same properties for . The proofs therefore carry over and show that returns a schedule with and , and that returns a schedule with and . Since , we have .
By (24), each algorithm makes at most calls of with accuracy . In each call, and , so Theorem 4 bounds its running time by . The feasibility test and the generation of the deadlines take time, which is dominated by the calls. This proves (32). For fixed , , so , and the running time is bounded by . Since never violates the budget, the algorithms form a QPTAS.
For , which is obtained with and , Theorem 5 yields a QPTAS for that satisfies the original budget. Whether a PTAS exists for this cost function remains open.
7 Conclusion
This paper has studied non-preemptive scheduling on identical parallel machines with assignment costs , where the processing times and the cost weights are specified independently and the number of machines is part of the input. For each fixed , we obtained polynomial-time -, -, and -approximation algorithms for TMC, , and , respectively. In all three cases, the guarantee on the total assignment cost is exact.
These results have the following consequences for the special cases discussed in Section 1.2. The algorithm for is a PTAS that satisfies the original budget, and it applies in particular to the extension proposed by Li and Ou (2024). For with multiplicative costs, our algorithm improves the -approximation of Lee et al. (2014) to a -approximation; for additive costs, it improves the -approximation of Kononov et al. (2019) in the same way. Here, is the approximation ratio of the algorithm used for in those studies, whose algorithms have substantially lower running times than ours. For costs , with no ordering relation imposed between and , we obtained the same guarantees in quasi-polynomial time by assigning every job with processing time at most to a machine of minimum cost and the remaining jobs by dynamic programming. This yields a QPTAS that satisfies the original budget for , the second extension proposed by Li and Ou (2024).
AI use. The author used ChatGPT and Claude to assist with text editing. The author is responsible for all content of the paper.
References
N. Alon, Y. Azar, G. J. Woeginger, and T. Yadid. Approximation schemes for scheduling on parallel machines. Journal of Scheduling, 1(1):55–66, 1998. doi: 10.1002/(SICI)1099-1425(199806)1:1<55::AID-JOS2>3.0.CO;2-J.
E. Angel, E. Bampis, and A. Kononov. A FPTAS for approximating the unrelated parallel machines scheduling problem with costs. In European symposium on algorithms, pages 194–205. Springer, 2001. doi: 10.1007/3-540-44676-1-16.
M. R. Garey and D. S. Johnson. "Strong" NP-completeness results: Motivation, examples, and implications. Journal of the ACM, 25(3):499–508, 1978.
M. Gong and B. Mumey. Approximation algorithms for scheduling with rejection in green manufacturing. Theoretical Computer Science, 1083, 2026.
D. S. Hochbaum and D. B. Shmoys. Using dual approximation algorithms for scheduling problems: Theoretical and practical results. Journal of the ACM, 34(1):144–162, 1987. doi: 10.1145/7531.7535.
K. Jansen. An EPTAS for scheduling jobs on uniform processors: Using an MILP relaxation with a constant number of integral variables. SIAM Journal on Discrete Mathematics, 24(2):457–485, 2010.
K. Jansen and L. Porkolab. Improved approximation schemes for scheduling unrelated parallel machines. Mathematics of Operations Research, 26(2):324–338, 2001. doi:10.1287/moor.26.2.324.10559.
K. Jansen, K.-M. Klein, and J. Verschae. Closing the gap for makespan scheduling via sparsification techniques. Mathematics of Operations Research, 45(4):1371–1392, 2020. doi: 10.1287/moor.2019.1036.
Y. Jiang, X. Tang, K. Li, T. C. E. Cheng, and M. Ji. Approximation algorithms for bi-objective parallel-machine scheduling in green manufacturing. Computers & Industrial Engineering, 176:108949, 2023. doi: 10.1016/j.cie.2022.108949.
A. V. Kononov, M. Y. Kovalyov, and B. M. T. Lin. Minimizing machine assignment costs over -approximate solutions of the scheduling problem . Theoretical Computer Science, 793:70–78, 2019. doi: 10.1016/j.tcs.2019.05.024.
K. Lee, J. Y.-T. Leung, Z.-H. Jia, W. Li, M. L. Pinedo, and B. M. T. Lin. Fast approximation algorithms for bi-criteria scheduling with machine assignment costs. European Journal of Operational Research, 238(1):54–64, 2014. doi: 10.1016/j.ejor.2014.03.026.
J. K. Lenstra, D. B. Shmoys, and É. Tardos. Approximation algorithms for scheduling unrelated parallel machines. Mathematical Programming, 46:259–271, 1990. doi: 10.1007/BF01585745.
J. Y.-T. Leung, K. Lee, and M. L. Pinedo. Bi-criteria scheduling with machine assignment costs. International Journal of Production Economics, 139(1):321–329, 2012. doi: 10.1016/j.ijpe.2012.05.016.
K. Li, X. Zhang, J. Y.-T. Leung, and S.-L. Yang. Parallel machine scheduling problems in green manufacturing industry. Journal of Manufacturing Systems, 38:98–106, 2016. doi: 10.1016/j.jmsy.2015.11.006.
W. Li and J. Ou. Approximation algorithms for scheduling parallel machines with an energy constraint in green manufacturing. European Journal of Operational Research, 314(3):882–893, 2024. doi: 10.1016/j.ejor.2023.11.008.
W. Li and J. Ou. The generalized assignment problem with fixed processing times and uniform processing costs to minimize total cost. European Journal of Operational Research, 327(2):420–431, 2025. doi: 10.1016/j.ejor.2025.05.031.
J.-H. Lin and J. S. Vitter. e-approximations with minimum packing constraint violation. In Proceedings of the Twenty-Fourth Annual ACM Symposium on Theory of Computing, pages 771–782. Association for Computing Machinery, 1992. doi: 10.1145/129712.129787.
T. T. Nguyen and J. Rothe. Bi-criteria approximation algorithms for load balancing on unrelated machines with costs. In 31st International Symposium on Algorithms and Computation (ISAAC 2020), volume 181 of Leibniz International Proceedings in Informatics (LIPIcs), pages 1–14. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2020. doi: 10.4230/LIPIcs.ISAAC.2020.14.
C. N. Potts. Analysis of a linear programming heuristic for scheduling unrelated parallel machines. Discrete Applied Mathematics, 10(2):155–164, 1985. doi: 10.1016/0166-218X(85)90009-5.
G. T. Ross and R. M. Soland. A branch and bound algorithm for the generalized assignment problem. Mathematical Programming, 8(1):91–103, 1975.
E. V. Shchepin and N. Vakhania. An optimal rounding gives a better approximation for scheduling unrelated machines. Operations Research Letters, 33(2):127–133, 2005. doi:10.1016/j.orl.2004.05.004.
D. B. Shmoys and É. Tardos. An approximation algorithm for the generalized assignment problem. Mathematical Programming, 62:461–474, 1993. doi: 10.1007/BF01585178.