Scheduling two types of jobs with minimum makespan
Abstract
We consider scheduling two types of jobs (A-job and B-job) to p machines and minimizing their makespan. A group of same type of jobs processed consecutively by a machine is called a batch. For machine v, processing x A-jobs in a batch takes kAvx2 time units for a given speed kAv, and processing x B-jobs in a batch takes kBvx2 time units for a given speed kBv. We give an O(n2p(n)) algorithm based on dynamic programming and binary search for solving this problem, where n 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 x of A-jobs takes kAv x time units and each batch of length x of B-jobs takes kBvx time units. The running time is the same as the above case.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.