English

Improved Algorithms for Monotone Moldable Job Scheduling using Compression and Convolution

Data Structures and Algorithms 2023-03-03 v1

Abstract

In the moldable job scheduling problem one has to assign a set of nn jobs to mm machines, in order to minimize the time it takes to process all jobs. Each job is moldable, so it can be assigned not only to one but any number of the equal machines. We assume that the work of each job is monotone and that jobs can be placed non-contiguously. In this work we present a (32+ϵ)(\frac 3 2 + \epsilon)-approximation algorithm with a worst-case runtime of O(nlog2(1ϵ+log(ϵm)ϵ)+nϵlog(1ϵ)log(ϵm)){O(n \log^2(\frac 1 \epsilon + \frac {\log (\epsilon m)} \epsilon) + \frac{n}{\epsilon} \log(\frac 1 \epsilon) {\log (\epsilon m)})} when m16nm\le 16n. This is an improvement over the best known algorithm of the same quality by a factor of 1ϵ\frac 1 \epsilon and several logarithmic dependencies. We complement this result with an improved FPTAS with running time O(nlog2(1ϵ+log(ϵm)ϵ))O(n \log^2(\frac 1 \epsilon + \frac {\log (\epsilon m)} \epsilon)) for instances with many machines m>8nϵm> 8\frac n \epsilon. This yields a 32\frac 3 2-approximation with runtime O(nlog2(logm))O(n \log^2(\log m)) when m>16nm>16n. We achieve these results through one new core observation: In an approximation setting one does not need to consider all mm possible allotments for each job. We will show that we can reduce the number of relevant allotments for each job from mm to O(1ϵ+log(ϵm)ϵ)O(\frac 1 \epsilon + \frac {\log (\epsilon m)}{\epsilon}). Using this observation immediately yields the improved FPTAS. For the other result we use a reduction to the knapsack problem first introduced by Mouni\'e, Rapine and Trystram. We use the reduced number of machines to give a new elaborate rounding scheme and define a modified version of this this knapsack instance. This in turn allows for the application of a convolution based algorithm by Axiotis and Tzamos. We further back our theoretical results through a practical implementation and compare our algorithm to the previously known best result.

Keywords

Cite

@article{arxiv.2303.01414,
  title  = {Improved Algorithms for Monotone Moldable Job Scheduling using Compression and Convolution},
  author = {Kilian Grage and Klaus Jansen and Felix Ohnesorge},
  journal= {arXiv preprint arXiv:2303.01414},
  year   = {2023}
}
R2 v1 2026-06-28T08:57:40.802Z