Approximating the optimal competitive ratio for an ancient online scheduling problem

Lin Chen, Deshi Ye, Guochuan Zhang · DOI

Abstract

We address the classical online scheduling problem $P||C_{max}$, where jobs are released over a list and must be assigned to identical machines to minimize the maximum completion time (makespan). This paper introduces a nearly optimal online algorithm that achieves a competitive ratio within a $(1+\epsilon)$ factor of the optimal online algorithm in polynomial time, where the number of machines $m$ is part of the input. This result substantially improves upon decades of research, effectively closing the gap between the long-standing lower bound of 1.88 and the upper bound of 1.92. Our approach treats the online problem as a zero-sum game between an adversary and a scheduler, utilizing a novel framework of discretization and transformation graphs to bound the infinite state space of job sequences.

Introduction

The problem of scheduling jobs on identical machines to minimize makespan, denoted as $P||C_{max}$, is a foundational challenge in combinatorial optimization. First studied by Ronald Graham in 1966, the "online over list" variant requires that each job be assigned to a machine immediately upon arrival, without knowledge of future jobs.

For decades, the competitive ratio—the performance of an online algorithm compared to an optimal offline scheduler—has been the primary metric for this problem. Despite its age, a significant gap persisted: the best-known lower bound stood at 1.88 (Rudin, 2001), while the best upper bound was 1.92 (Fleischer & Wahl, 2000). Previous approximation schemes were limited to scenarios where the number of machines $m$ was fixed. This research provides a "competitive ratio approximation scheme" (CRAS) that remains polynomial even as $m$ scales, offering a near-optimal solution for any $\epsilon > 0$.

Methodology: Scheduling as a Zero-Sum Game

The core innovation of this work is the formalization of the online scheduling process as a game between an adversary (who selects job sizes to maximize the competitive ratio) and an online player (the scheduler, who seeks to minimize it).

Discretization and Scaling

To manage the infinite variety of possible job sizes, the authors introduce a dynamic scaling factor, $T_{LB}$, which categorizes jobs into "big" and "small." By discretizing the loads on machines into "trimmed-states" and "trimmed-scenarios," the authors reduce the continuous state space into a manageable, finite set of configurations. This discretization ensures that small differences in machine loads do not lead to an exponential explosion of states.

The Transformation Graph

The algorithm constructs a layered transformation graph where:

  • Nodes represent "trimmed-scenarios" (approximations of the current load distribution across all $m$ machines).
  • Edges represent the release of a new job and its subsequent assignment to a machine.

By applying dynamic programming to this graph, the algorithm calculates the "utility" for the adversary. The authors prove that if an adversary can force a specific competitive ratio $\rho$, they can do so using a sequence of at most $K$ jobs, where $K$ is a polynomial threshold in $m$. This "Uniform Threshold" effectively bounds the game, allowing the optimal strategy to be approximated within polynomial time.

Key Insights

  1. Bounded Complexity: The realization that only a polynomial number of machine configurations are "meaningfully different" allows the algorithm to ignore redundant states.
  2. Shifted Simulating Scenarios: To prevent the graph from growing indefinitely, the authors developed a method to "delete" equivalent scenarios by shifting and re-scaling machine loads, maintaining the algorithm's efficiency.
  3. Algorithmic Robustness: Unlike previous methods that relied on $m$ being a fixed constant, this framework treats $m$ as part of the input, making it a more general and powerful theoretical result.

Results and Complexity

The proposed algorithm achieves a competitive ratio of $\rho \leq (1+\epsilon)\rho^*$, where $\rho^*$ is the best possible competitive ratio for any online algorithm. The time complexity is $O(m^\Lambda)$, where $\Lambda = 2^{O(1/\epsilon^2 \log^2(1/\epsilon))}$.

While $\Lambda$ is a large constant that makes the algorithm primarily a theoretical tool rather than a practical one for very small $\epsilon$, it represents a massive breakthrough in computational complexity for this problem class. Furthermore, the framework is extensible; the authors demonstrate its applicability to related models, such as unrelated machines ($Rm||C_{max}$) and the minimization of $L_p$ norms.

Conclusion

This work provides a definitive theoretical answer to a problem that has remained open for over half a century. By bridging the gap between the 1.88 and 1.92 bounds, the authors have established a new standard for online scheduling. Future work may focus on reducing the exponent $\Lambda$ to make the approximation scheme more practical or applying this game-theoretic framework to other classic online problems like the $k$-server problem.

Summary updated

Abstract

We consider the classical online scheduling problem P||C_{max} in which jobs are released over list and provide a nearly optimal online algorithm. More precisely, an online algorithm whose competitive ratio is at most (1+ε) times that of an optimal online algorithm could be achieved in polynomial time, where m, the number of machines, is a part of the input. It substantially improves upon the previous results by almost closing the gap between the currently best known lower bound of 1.88 (Rudin, Ph.D thesis, 2001) and the best known upper bound of 1.92 (Fleischer, Wahl, Journal of Scheduling, 2000). It has been known by folklore that an online problem could be viewed as a game between an adversary and the online player. Our approach extensively explores such a structure and builds up a completely new framework to show that, for the online over list scheduling problem, given any ε>0, there exists a uniform threshold K which is polynomial in m such that if the competitive ratio of an online algorithm is ρ<=2, then there exists a list of at most K jobs to enforce the online algorithm to achieve a competitive ratio of at least ρ-O(ε). Our approach is substantially different from that of Gunther et al. (Gunther et al., SODA 2013), in which an approximation scheme for online over time scheduling problems is given, where the number of machines is fixed. Our method could also be extended to several related online over list scheduling models.
BibTeX
@misc{chen2013approximating,
  author = {Lin Chen and Deshi Ye and Guochuan Zhang},
  title = {{Approximating the optimal competitive ratio for an ancient online scheduling problem}},
  year = {2013},
  eprint = {1302.3946},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1302.3946},
}
Figure