A k-swap Local Search for Makespan Scheduling
Lars Rohwedder, Ashkan Safari, Tjark Vredeveld
TL;DR
This work investigates makespan minimization on $m$ identical parallel machines using a generalized $k$-swap neighborhood that exchanges up to $k$ jobs between two machines. It develops a fast randomized method to find improving $k$-swaps in $O(n^{\lceil k/2 \rceil + O(1)})$ time with high probability and provides derandomization, a lower bound based on the $k$-sum conjecture, and both a polynomial upper bound for $k=2$ with $m=2$ and an exponential lower bound for $k\ge 3$. Theoretical results are complemented by computational experiments showing practical efficiency of the randomized approach, especially for larger $k$ or higher job density. The paper also establishes a $O(n^4)$ bound on iterations to reach a 2-swap optimum when $m=2$, while proving exponential lower bounds for $k\ge 3$, offering nuanced insights into local search dynamics for scheduling.
Abstract
Local search is a widely used technique for tackling challenging optimization problems, offering significant advantages in terms of computational efficiency and exhibiting strong empirical behavior across a wide range of problem domains. In this paper, we address the problem of scheduling a set of jobs on identical parallel machines with the objective of makespan minimization. For this problem, we consider a local search neighborhood, called $k$-swap, which is a generalized version of the widely-used swap and jump neighborhoods. The $k$-swap neighborhood is obtained by swapping at most $k$ jobs between two machines. First, we propose an algorithm for finding an improving neighbor in the $k$-swap neighborhood which is faster than the naive approach, and prove an almost matching lower bound on any such an algorithm. Then, we analyze the number of local search steps required to converge to a local optimum with respect to the $k$-swap neighborhood. For $k \geq 3$, we provide an exponential lower bound regardless of the number of machines, and for $k = 2$ (similar to the swap neighborhood), we provide a polynomial upper bound for the case of having two machines. Finally, we conduct computational experiments on various families of instances.
