Sum-of-Max Partition under a Knapsack Constraint
Abstract
Sequence partition problems arise in many fields, such as sequential data analysis, information transmission, and parallel computing. In this paper, we study the following partition problem variant: given a sequence of items , where each item is associated with weight and another parameter , partition the sequence into several consecutive subsequences, so that the total weight of each subsequence is no more than a threshold , and the sum of the largest in each subsequence is minimized. This problem admits a straightforward solution based on dynamic programming, which costs time and can be improved to time easily. Our contribution is an time algorithm, which is nontrivial yet easy to implement. We also study the corresponding tree partition problem. We prove that the problem on the tree is NP-complete and we present an time ( time, respectively) algorithm for the unit weight (integer weight, respectively) case.
Cite
@article{arxiv.2207.00768,
title = {Sum-of-Max Partition under a Knapsack Constraint},
author = {Kai Jin and Danna Zhang and Canhui Zhang},
journal= {arXiv preprint arXiv:2207.00768},
year = {2022}
}