Definition
3-Partition Problem
The 3-partition problem is a strongly NP-hard decision problem that asks whether a multiset of
positive integers can be partitioned into triplets with equal sum. Instance: a multiset
of positive integers, where .
Question: canbe partitioned into sets such that where
Relation
The 3-partition problem is a specialised k-partition problem. Here the number of parts is
First compute the target sum per part. Since all
Thus
The standard hard version restricts every integer
These bounds force the number of integers in each part.
One integer cannot form a part, because every integer is smaller than
Two integers cannot form a part either. If
So one or two integers are always too small to reach the required part sum
Four integers cannot form a part. If
So four integers are already too large, and any larger group is too large as well.
A valid part must therefore contain neither fewer than three nor more than three integers. It must contain exactly three integers. This is why the equal-sum condition plus the bounds already force triplets.
Strong NP-Hardness
3-partition is strongly NP-hard, even under the restriction
This makes 3-partition useful for reductions to scheduling problems. The bounds force each target block of size