arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10467cs.DS
收藏

调度两类作业以最小化 makespan

Scheduling two types of jobs with minimum makespan

Song Cao, Kai Jin

AI总结:

针对两类作业在 $p$ 台机器上的最小 makespan 调度问题,提出基于动态规划与二分搜索的 $O(n^2p\log(n))$ 算法,并覆盖二次与线性处理时间情形。

摘要:

我们考虑将两类作业(A 作业和 B 作业)调度到 $p$ 台机器上,并最小化它们的 makespan。由一台机器连续处理的一组同类型作业称为一个批次。对于机器 $v$,在给定速度 $k^A_v$ 的情况下,在一个批次中处理 $x$ 个 A 作业需要 $k^A_vx^2$ 个时间单位;在给定速度 $k^B_v$ 的情况下,在一个批次中处理 $x$ 个 B 作业需要 $k^B_vx^2$ 个时间单位。我们给出了一种基于动态规划和二分搜索的 $O(n^2p\log(n))$ 算法来求解该问题,其中 $n$ 表示要分配给各机器的 A 作业和 B 作业的最大数量。我们的算法也适用于更简单的线性情形:长度为 $x$ 的每个 A 作业批次需要 $k^A_v x$ 个时间单位,而长度为 $x$ 的每个 B 作业批次需要 $k^B_vx$ 个时间单位。其运行时间与上述情形相同。

英文摘要:

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 $k^A_vx^2$ time units for a given speed $k^A_v$, and processing $x$ B-jobs in a batch takes $k^B_vx^2$ time units for a given speed $k^B_v$. We give an $O(n^2p\log(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 $k^A_v x$ time units and each batch of length $x$ of $B$-jobs takes $k^B_vx$ time units. The running time is the same as the above case.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑