Sum-of-Max Partition under a Knapsack Constraint

07/02/2022
by   Kai Jin, et al.
0

Sequence partition problems arise in many fields, such as sequential data analysis, information transmission, and parallel computing. In this paper we study the following variant of partition problem: Given a sequence of n items 1,…,n, where each item i is associated with a weight w_i and a parameter s_i, partition the sequence into several consecutive subsequences, so that the total weight of each subsequence is no more than a threshold w_0, and the sum of the largest s_i in each subsequence is minimized. This problem admits a straightforward solution based on dynamic programming, which costs O(n^2) time and can be improved to O(nlog n) time easily. Our main contribution is an O(n) time algorithm, which is nontrivial yet easy to implement. We also study the corresponding tree partition problem. We prove that the problem on tree is NP-complete and we present an O(w_0^2 n^2) time algorithm for the unit weight case.

READ FULL TEXT
research
11/03/2021

Rectangular Partitions of a Rectilinear Polygon

We investigate the problem of partitioning a rectilinear polygon P with ...
research
12/10/2021

Beyond the Longest Letter-duplicated Subsequence Problem

Given a sequence S of length n, a letter-duplicated subsequence is a sub...
research
07/08/2021

An Efficient Reduction of a Gammoid to a Partition Matroid

Our main contribution is a polynomial-time algorithm to reduce a k-color...
research
02/06/2020

The Sum Composition Problem

In this paper, we study the "sum composition problem" between two lists ...
research
06/23/2022

On the parameterized complexity of computing tree-partitions

We study the parameterized complexity of computing the tree-partition-wi...
research
04/06/2018

Subquadratic Approximation Scheme for Partition

The subject of this paper is the time complexity of approximating Knapsa...
research
03/25/2018

Minmax Centered k-Partitioning of Trees and Applications to Sink Evacuation with Dynamic Confluent Flows

Let T=(V,E) be a tree with associated costs on its subtrees. A minmax k-...

Please sign up or login with your details

Forgot password? Click here to reset