arXiv:2608.12224cs.DSAug 2026

Manuscript Offprint

arXiv:2608.12224

Faster Exponential Algorithms for Multi-Machine Scheduling Problems

Anubhav Dhar, Anita Dürr, Ahmed Ghazy, Jakob Greilhuber, Karol Węgrzycki

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Minimizing the weighted completion times (P∥ΣwjCj)(P \parallel \Sigma w_j C_j) and weighted number of tardy jobs (P∥ΣwjUj)(P \parallel \Sigma w_j U_j) on multiple identical machines are two classical NP-hard scheduling problems. As shown by Lenté et al. (2014), both problems can be solved in time O⋆(3n)\mathcal{O}^\star(3^n). 1^1 In this paper, we improve these bounds to O(2.755n)\mathcal{O}(2.755^n) and O⋆(2n)\mathcal{O}^\star(2^n), respectively. Our algorithm for P∥ΣwjCjP \parallel \Sigma w_j C_j exploits the meet-in-the-middle paradigm and an efficient data structure answering linear programming queries. Additionally, when the number of machines is at most 6, we show that the running time for P∥ΣwjCjP \parallel \Sigma w_j C_j can further be improved.

Both scheduling problems are generalizations of the classical BIN PACKING problem, which can be solved in O⋆(2n)\mathcal{O}^\star(2^n) time. Improving this running time is an important open question. We show that, when assuming the Asymptotic Rank Conjecture (ARC), BIN PACKING can be solved in time O((2−ε)n)\mathcal{O}((2-\varepsilon)^n) for some ε>0\varepsilon > 0. Our algorithm makes use of two main ingredients: the recent O((2−ε)n)\mathcal{O}((2-\varepsilon)^n)-time algorithm of Nederlof et al. [SICOMP'23] for BIN PACKING when the number of bins is a fixed constant, and the O((2−ε)n)\mathcal{O}((2-\varepsilon)^n)-time algorithm of Björklund et al. [SODA'25] for special instances of the 3-WAY PARTITIONING problem when assuming ARC.

2012 ACM Subject Classification Theory of computation → Parameterized complexity and exact algorithms

Keywords and phrases Scheduling, exact algorithms, exponential-time algorithms, multi-machine scheduling, combinatorial optimization

Funding Anubhav Dhar: Supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) grant number 559177164.

Anita Dürr: Part of this work was done while affiliated to Saarland University and Max Planck Institute for Informatics, Saarbrücken, Germany, where this work was part of the project TIPEA that has received funding from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (grant agreement No. 850979).

Karol Wegrzycki: Supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) grant number 559177164.

1^{1} A function f(n)f(n) is in O⋆(g(n))\mathcal{O}^\star(g(n)) if it is in O(g(n)⋅nc)\mathcal{O}(g(n) \cdot n^c) for some constant cc.

Faster Exponential Algorithms for Multi-Machine Scheduling Problems

1 Introduction

A central goal in the study of NP-hard problems is to determine the smallest possible running time, specifically for problems that admit exponential-time algorithms. For many fundamental scheduling problems a O⋆(3n)\mathcal{O}^\star(3^n)-time algorithm constitutes a natural baseline, where nn is the number of jobs [30]. Contrasting this, the Exponential Time Hypothesis (ETH) excludes 2o(n)2^{o(n)}-time algorithms [23]. Therefore, it is a key question to find O⋆(Cn)\mathcal{O}^\star(C^n)-time algorithms, for a constant C>0C > 0 as small as possible. In this paper, we address this question for two fundamental scheduling problems.

Typically, the input of scheduling problems consists of nn jobs with processing times p1,…,pnp_1, \ldots, p_n, weights w1,…,wnw_1, \ldots, w_n and due dates d1,…,dnd_1, \ldots, d_n, as well as a number m∈Nm \in \mathbb{N} of machines available. A schedule is an assignment of each job to a machine and a starting time, such that no two jobs are processed at the same time by the same machine. The goal is to find a schedule that minimizes some cost, where the used cost function varies from one scheduling problem to another. In this paper, we focus on two cost functions: the total weighted completion time ∑j=1nwjCj\sum_{j=1}^n w_j C_j and the weighted number of tardy jobs ∑j=1nwjUj\sum_{j=1}^n w_j U_j, where CjC_j denotes the completion time of job jj and UjU_j is the indicator variable taking value 1 if job jj completes after its due date djd_j (i.e. Cj>djC_j > d_j, in which case job jj is called tardy) and 0 otherwise. In the Graham et al. [18] notation2^2 these problems are denoted by P∥ΣwjCjP \parallel \Sigma w_j C_j and P∥ΣwjUjP \parallel \Sigma w_j U_j, respectively.

The problems P∥ΣwjCjP \parallel \Sigma w_j C_j and P∥ΣwjUjP \parallel \Sigma w_j U_j are among the most fundamental problems in theoretical computer science. Minimizing the weighted number of tardy jobs is NP-hard even on a single machine [24,29]. The problem P∥ΣwjCjP \parallel \Sigma w_j C_j is polynomial-time solvable on a single machine [40], but NP-hard already when m=2m = 2 [10,29]. As a result, numerous approximation algorithms [17,39] as well as exact algorithms with parameterized or pseudopolynomial running time for (special cases of) both P∥ΣwjUjP \parallel \Sigma w_j U_j [1,8,9,16,20,22,25,27,28,32] and P∥ΣwjCjP \parallel \Sigma w_j C_j [21,26–28,38] are present in the literature.

Lenté et al. [30] were the first to provide non-trivial exact exponential-time algorithms for P∥ΣwjCjP \parallel \Sigma w_j C_j and P∥ΣwjUjP \parallel \Sigma w_j U_j, concretely they proposed O⋆(3n)\mathcal{O}^\star(3^n)-time algorithms. Contrasting this result, the work of Jansen et al. [23] implies that those problems do not admit any 2o(n)2^{o(n)}-time algorithms, unless ETH fails. In this work, we improve upon the results of Lenté et al. [30].

▶ Theorem 1. P∥ΣwjCjP \parallel \Sigma w_j C_j can be solved in time O(2.755n)\mathcal{O}(2.755^n).

▶ Theorem 2. P∥ΣwjUjP \parallel \Sigma w_j U_j can be solved in time O⋆(2n)\mathcal{O}^\star(2^n).

Both Theorems 1 and 2 are proven using standard dynamic programming. Interestingly, for P∥ΣwjCjP \parallel \Sigma w_j C_j the base cases (computing the dynamic programming tables for a constant number of machines) can be handled efficiently by exploiting the meet-in-the-middle paradigm combined with an efficient data structure that supports linear programming queries in mm dimensions. For P∥ΣwjUjP \parallel \Sigma w_j U_j we observe that Fast Subset Convolution [3] can be used to solve the problem in the stated time, our concrete approach uses an algorithm of Moore [32] to handle the base case.

Additionally, we consider P∥ΣwjCjP \parallel \Sigma w_j C_j for a fixed number of machines mm, and show that even faster algorithms are possible when m⩽6m \leqslant 6. For each integer m⩾1m \geqslant 1, we denote the problem P∥ΣwjCjP \parallel \Sigma w_j C_j where the number of machines is the fixed constant mm as Pm∥ΣwjCjPm \parallel \Sigma w_j C_j.

2^{2} This useful notation is discussed in more detail later in the introduction.

▶ Theorem 3. Pm∥ΣwjCjPm \parallel \Sigma w_j C_j can be solved in time:

O⋆(mn/2)\mathcal{O}^\star(m^{n/2}) if m⩽3m \leqslant 3,

O(2.389n)\mathcal{O}(2.389^n) if m=4m = 4,

O(2.726n)\mathcal{O}(2.726^n) if m=5m = 5,

O(2.733n)\mathcal{O}(2.733^n) if m=6m = 6.

References (39)