{"title":"On the Complexity of Minimizing Energy Consumption of Partitioning DAG Tasks","authors":"Wei Liu, Jian-Jia Chen, Yongjie Yang","doi":"arxiv-2404.01022","DOIUrl":null,"url":null,"abstract":"We study a graph partition problem where we are given a directed acyclic\ngraph (DAG) whose vertices and arcs can be respectively regarded as tasks and\ndependencies among tasks. The objective of the problem is to minimize the total\nenergy consumed for completing these tasks by assigning the tasks to k\nheterogeneous machines. We first show that the problem is NP-hard. Then, we\npresent polynomial-time algorithms for two special cases where there are only\ntwo machines and where the input DAG is a directed path. Finally, we study a\nnatural variant where there are only two machines with one of them being\ncapable of executing a limited number of tasks. We show that this special case\nremains computationally hard.","PeriodicalId":501024,"journal":{"name":"arXiv - CS - Computational Complexity","volume":"51 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Complexity","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2404.01022","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We study a graph partition problem where we are given a directed acyclic
graph (DAG) whose vertices and arcs can be respectively regarded as tasks and
dependencies among tasks. The objective of the problem is to minimize the total
energy consumed for completing these tasks by assigning the tasks to k
heterogeneous machines. We first show that the problem is NP-hard. Then, we
present polynomial-time algorithms for two special cases where there are only
two machines and where the input DAG is a directed path. Finally, we study a
natural variant where there are only two machines with one of them being
capable of executing a limited number of tasks. We show that this special case
remains computationally hard.
我们研究的是一个图分割问题,即给定一个有向无环图(DAG),其顶点和弧可分别视为任务和任务间的依赖关系。问题的目标是通过将任务分配给 k 台异构机器,使完成这些任务所消耗的总能量最小。我们首先证明了该问题的 NP 难度。然后,我们提出了只有两台机器和输入 DAG 为有向路径的两种特殊情况下的多项式时间算法。最后,我们研究了一种自然变体,即只有两台机器,其中一台只能执行数量有限的任务。我们证明,这种特殊情况仍然难以计算。