English

Scheduling two types of jobs with minimum makespan

Data Structures and Algorithms 2025-03-17 v1

Abstract

We consider scheduling two types of jobs (A-job and B-job) to pp machines and minimizing their makespan. A group of same type of jobs processed consecutively by a machine is called a batch. For machine vv, processing xx A-jobs in a batch takes kvAx2k^A_vx^2 time units for a given speed kvAk^A_v, and processing xx B-jobs in a batch takes kvBx2k^B_vx^2 time units for a given speed kvBk^B_v. We give an O(n2plog(n))O(n^2p\log(n)) algorithm based on dynamic programming and binary search for solving this problem, where nn denotes the maximal number of A-jobs and B-jobs to be distributed to the machines. Our algorithm also fits the easier linear case where each batch of length xx of AA-jobs takes kvAxk^A_v x time units and each batch of length xx of BB-jobs takes kvBxk^B_vx time units. The running time is the same as the above case.

Keywords

Cite

@article{arxiv.2406.10467,
  title  = {Scheduling two types of jobs with minimum makespan},
  author = {Song Cao and Kai Jin},
  journal= {arXiv preprint arXiv:2406.10467},
  year   = {2025}
}