Multiple subset sum explained

S

of n integers and a positive integer m representing the number of subsets. The goal is to construct, from the input integers, some m subsets. The problem has several variants:

Max-sum and max-min MSSP

When m is variable (a part of the input), both problems are strongly NP-hard, by reduction from 3-partition. This means that they have no fully polynomial-time approximation scheme (FPTAS) unless P=NP.

Even when m=2, the problems do not have an FPTAS unless P=NP. This can be shown by a reduction from the equal-cardinality partition problem (EPART):

1-1/(n+1)

.

\epsilon<1/(n+1)

, any algorithm with approximation ratio

(1-\epsilon)

must find the optimal solution if it exists.

\epsilon=1/(n+2)

, with run-time polynomial in n. This algorithm could be used to solve EPART in time polynomial in n. But this is not possible unless P=NP.

The following approximation algorithms are known:

\epsilon

is fixed. The run-time is at least exponential in

1/\epsilon2

, and the authors consider it impractical.

O(n2m/\epsilon)

.

Fair subset sum problem

The fair subset sum problem[4] (FSSP) is a generalization of SSP in which, after the subset is selected, its items are allocated among two or more agents. The utility of each agent equals the sum of weights of the items allocated to him/her. The goal is that the utility profile satisfies some criterion of fairness, such as the egalitarian rule or the proportional-fair rule. Two variants of the problem are:

Both variants are NP-hard. However, there are pseudopolynomial time algorithms for enumerating all Pareto-optimal solutions when there are two agents:[5]

Q

such that

Q(w1,w2)=true

iff there exists a solution giving a total weight of wi to agent i. It is possible to enumerate all possible utility profiles in time

O(nc2)

where n is the number of items and c is the maximum size of an item.

Qj

, such that

Qj(w)=true

iff there exists a solution giving a total weight of w to agent j. Each array

Qj

can be constructed separately using the separate items of agent j. Then, one can traverse the two arrays in opposite directions and enumerate all allocations in the Pareto frontier. The run-time is

O(nc)

.

Nicosia, Pacifici and Pferschy study the price of fairness, that is, the ratio between the maximum sum of utilities, and the maximum sum of utilities in a fair solution:

In both cases, if the item value is bounded by some constant a, then the POF is bounded by a function of a.

Multiple knapsack problem

The multiple knapsack problem (MKP) is a generalization of both the max-sum MSSP and the knapsack problem. In this problem, there are m knapsacks and n items, where each item has both a value and a weight. The goal is to pack as much value as possible into the m bins, such that the total weight in each bin is at most its capacity.

The MKP has a Polynomial-time approximation scheme.[6]

Notes and References

  1. Caprara. Alberto. Kellerer. Hans. Pferschy. Ulrich. 2000-02-01. The Multiple Subset Sum Problem. SIAM Journal on Optimization. 11. 2. 308–319. 10.1137/S1052623498348481. 1052-6234.
  2. 2000-02-29. A PTAS for the Multiple Subset Sum Problem with different knapsack capacities. Information Processing Letters. en. 73. 3–4. 111–118. 10.1016/S0020-0190(00)00010-7. 0020-0190. Caprara . Alberto . Kellerer . Hans . Pferschy . Ulrich .
  3. Caprara. Alberto. Kellerer. Hans. Pferschy. Ulrich. 2003-03-01. A 3/4-Approximation Algorithm for Multiple Subset Sum. Journal of Heuristics. en. 9. 2. 99–111. 10.1023/A:1022584312032. 1120180 . 1572-9397.
  4. Nicosia. Gaia. Pacifici. Andrea. Pferschy. Ulrich. 2015. Hoefer. Martin. Brief Announcement: On the Fair Subset Sum Problem. Algorithmic Game Theory. Lecture Notes in Computer Science. 9347 . en. Berlin, Heidelberg. Springer. 309–311. 10.1007/978-3-662-48433-3_28. 978-3-662-48433-3.
  5. 2017-03-16. Price of Fairness for allocating a bounded resource. European Journal of Operational Research. en. 257. 3. 933–943. 10.1016/j.ejor.2016.08.013. 0377-2217. 1508.05253. Nicosia . Gaia . Pacifici . Andrea . Pferschy . Ulrich . 14229329 .
  6. Chandra Chekuri and Sanjeev Khanna. 2005. A PTAS for the multiple knapsack problem. SIAM Journal on Computing. 35. 3. 713–728. 10.1.1.226.3387. 10.1137/s0097539700382820.