set packing
Set packing is a classical NP-complete problem in computational complexity theory and combinatorics, and was one of Karp's 21 NP-complete problems.[1] Suppose one has a finite set S and a list of subsets of S.[src] Then, the set packing problem asks if some k subsets in the list are pairwise disjoint (in other words, no two of them share an element).[1] More formally, given a universe \mathcal{U} and a family \mathcal{S} of subsets of \mathcal{U} , a packing is a subfamily \mathcal{C}\subseteq\mathcal{S} of sets such that all sets in \mathcal{C} are pairwise disjoint.[src] The size of the packing is |\mathcal{C}| .[src] In the set packing decision problem, the input is a pair (\mathcal{U},\mathcal{S}) and an integer t ; the question is whether there is a set packing of size t or more.[1] In the set packing optimization problem, the input is a pair (\mathcal{U},\mathcal{S}) , and the task is to find a set packing that uses the most sets.[1] The problem is clearly in NP since, given t subsets, we can easily verify that they are pairwise disjoint in polynomial time.[src] The optimization version of the problem, maximum set packing, asks for the maximum number of pairwise disjoint sets in the list.[1] It is a maximization problem that can be formulated naturally as an integer linear program, belonging to the class of packing problems.[src]
Set packing is a classical NP-complete problem in computational complexity theory and combinatorics, and was one of Karp's 21 NP-complete problems.[1] Suppose one has a finite set S and a list of subsets of S.[src] Then, the set packing problem asks if some k subsets in the list are pairwise disjoint (in other words, no two of them share an element).[1] More formally, given a universe \mathcal{U} and a family \mathcal{S} of subsets of \mathcal{U} , a packing is a subfamily \mathcal{C}\subseteq\mathcal{S} of sets such that all sets in \mathcal{C} are pairwise disjoint.[src] The size of the packing is |\mathcal{C}| .[src] In the set packing decision problem, the input is a pair (\mathcal{U},\mathcal{S}) and an integer t ; the question is whether there is a set packing of size t or more.[1] In the set packing optimization problem, the input is a pair (\mathcal{U},\mathcal{S}) , and the task is to find a set packing that uses the most sets.[1] The problem is clearly in NP since, given t subsets, we can easily verify that they are pairwise disjoint in polynomial time.[src] The optimization version of the problem, maximum set packing, asks for the maximum number of pairwise disjoint sets in the list.[1] It is a maximization problem that can be formulated naturally as an integer linear program, belonging to the class of packing problems.[src] ==Integer linear program formulation== The maximum set packing problem can be formulated as the following integer linear program.[1] When k=1, the problem is trivial.[src] When k=2, the problem is equivalent to finding a maximum cardinality matching, which can be solved in polynomial time.[src] For any k≥3, the problem is NP-hard, as it is more general than 3-dimensional matching.[src] However, there are constant-factor approximation algorithms: Cygan presented an algorithm that, for any ε>0, attains a (k+1+ε)/3 approximation.[src] The run-time is polynomial in the number of sets and elements, but doubly-exponential in 1/ε.[src] Furer and Yu presented an algorithm that attains the same approximation, but with run-time singly-exponential in 1/ε.[src]
27 sentences · 27 cited inline · 1 references stored
References
- set packing · retrieved 2026-11-23 · rev 1369239018
Cite this reference
MLA "set packing." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1369239018. Accessed 26 November 2026.
Chicago "set packing." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1369239018.
APA encyclopegia.org. (2026). set packing. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1369239018
Cite this article
MLA
"set packing." encyclopegia.org, 2026, https://encyclopegia.org/wiki/set-packing. Accessed 26 November 2026.
Chicago
"set packing." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/set-packing.
APA
encyclopegia.org. (2026). set packing. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/set-packing
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| definition | a classical NP-complete problem in computational complexity theory and combinatorics, and was one of Karp's 21 NP-complete problems. | article body |