On Problems Related to Unbounded SubsetSum: A Unified Combinatorial Approach

02/27/2022
by   Mingyang Deng, et al.
0

Unbounded SubsetSum is a classical textbook problem: given integers w_1,w_2,⋯,w_n∈ [1,u], c,u, we need to find if there exists m_1,m_2,⋯,m_n∈ℕ satisfying c=∑_i=1^n w_im_i. In its all-target version, t∈ℤ_+ is given and answer for all integers c∈[0,t] is required. In this paper, we study three generalizations of this simple problem: All-Target Unbounded Knapsack, All-Target CoinChange and Residue Table. By new combinatorial insights into the structures of solutions, we present a novel two-phase approach for such problems. As a result, we present the first near-linear algorithms for CoinChange and Residue Table, which runs in Õ(u+t) and Õ(u) time deterministically. We also show if we can compute (min,+) convolution for n-length arrays in T(n) time, then All-Target Unbounded Knapsack can be solved in Õ(T(u)+t) time, thus establishing sub-quadratic equivalence between All-Target Unbounded Knapsack and (min,+) convolution.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/12/2021

On the Fine-Grained Complexity of the Unbounded SubsetSum and the Frobenius Problem

Consider positive integral solutions x ∈ℤ^n+1 to the equation a_0 x_0 + ...
research
05/17/2022

Faster Knapsack Algorithms via Bounded Monotone Min-Plus-Convolution

We present new exact and approximation algorithms for 0-1-Knapsack and U...
research
03/01/2019

An FPTAS for Stochastic Unbounded Min-Knapsack Problem

In this paper, we study the stochastic unbounded min-knapsack problem (M...
research
10/06/2021

More on Change-Making and Related Problems

Given a set of n integer-valued coin types and a target value t, the wel...
research
08/04/2022

Makespan Scheduling of Unit Jobs with Precedence Constraints in O(1.995^n) time

In a classical scheduling problem, we are given a set of n jobs of unit ...
research
02/15/2020

A Note on Unbounded Polyhedra Derived from Convex Caps

The construction of an unbounded polyhedron from a "jagged” convex cap i...
research
06/07/2017

A New Use of Douglas-Rachford Splitting and ADMM for Identifying Infeasible, Unbounded, and Pathological Conic Programs

In this paper, we present a method for identifying infeasible, unbounded...

Please sign up or login with your details

Forgot password? Click here to reset