This paper addresses resource allocation problem with a separable objective function under a single linear constraint, formulated as maximizing \(\sum _{j=1}^{n}R_j(x_j)\) subject to \(\sum _{j=1}^{n}x_j=k\) and \(x_j\in \{0,\dots ,m\}\) . While classical dynamic programming approach solves this problem in \(O(n^2m^2)\) time, we propose a regret-enabled greedy algorithm that achieves \(O(n\log n)\) time when \(m=O(1)\) . The algorithm significantly outperforms traditional dynamic programming for small m. Our algorithm actually solves the problem for all \(k~(0\le k\le nm)\) in the mentioned time.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Discrete Effort Distribution via Regret-Enabled Greedy Algorithm

  • Song Cao,
  • Taikun Zhu,
  • Kai Jin

摘要

This paper addresses resource allocation problem with a separable objective function under a single linear constraint, formulated as maximizing \(\sum _{j=1}^{n}R_j(x_j)\) subject to \(\sum _{j=1}^{n}x_j=k\) and \(x_j\in \{0,\dots ,m\}\) . While classical dynamic programming approach solves this problem in \(O(n^2m^2)\) time, we propose a regret-enabled greedy algorithm that achieves \(O(n\log n)\) time when \(m=O(1)\) . The algorithm significantly outperforms traditional dynamic programming for small m. Our algorithm actually solves the problem for all \(k~(0\le k\le nm)\) in the mentioned time.