Sum-of-Max Partition under a Knapsack Constraint
Kai Jin, Danna Zhang, Canhui Zhang

TL;DR
This paper introduces an efficient linear-time algorithm for a sequence partition problem with weight and parameter constraints, and explores its NP-completeness on trees with specialized algorithms for certain cases.
Contribution
It presents a novel $O(n)$ time algorithm for the sum-of-max partition problem under a knapsack constraint, improving over previous dynamic programming solutions.
Findings
The $O(n)$ algorithm is simple to implement.
The tree partition problem is NP-complete.
Algorithms for tree cases with unit and integer weights are provided.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · graph theory and CDMA systems · Optimization and Packing Problems
