We study the computational complexity of scheduling jobs on a single speed-scalable processor with the objective of capturing the trade-off between the (weighted) flow time and the energy consumption. This trade-off has been extensively explored in the literature through a number of problem formulations that differ in the specific job characteristics and the precise objective function. Nevertheless, the computational complexity of four important problem variants has remained unresolved and was explicitly identified as an open question in prior work. In this paper, we settle the complexity of these variants. More specifically, we prove that the problem of minimizing the objective of total (weighted) flow time plus energy is NP-hard for the cases of (i) unit-weight jobs with arbitrary sizes, and (ii)~arbitrary-weight jobs with unit sizes. These results extend to the objective of minimizing the total (weighted) flow time subject to an energy budget and hold even when the schedule is required to adhere to a given priority ordering. In contrast, we show that when a completion-time ordering is provided, the same problem variants become polynomial-time solvable. The latter result highlights the subtle differences between priority and completion orderings for the problem.
翻译:本文研究在单个速度可调处理器上调度作业的计算复杂性,旨在刻画(加权)流时间与能耗之间的权衡关系。文献中已通过多种问题模型对此权衡进行了广泛探索,这些模型在具体作业特性与精确目标函数方面存在差异。然而,四个重要问题变体的计算复杂性仍未解决,先前研究已明确指出其为开放性问题。本文最终确定了这些变体的复杂性。具体而言,我们证明了在以下两种情况下最小化总(加权)流时间与能耗之和的目标函数是NP难的:(i)具有任意大小的单位权重作业;(ii)具有单位大小的任意权重作业。这些结果可推广至在能量预算约束下最小化总(加权)流时间的目标函数,且即使要求调度遵循给定的优先级排序仍然成立。相反,我们证明当提供完成时间排序时,相同的问题变体可在多项式时间内求解。后一结果凸显了该问题中优先级排序与完成时间排序之间的微妙差异。