3-partition problem

3-partition problem

The 3-partition problem is an NP-complete problem in computer science. The problem is to decide whether a given multiset of integers can be partitioned into triples that all have the same sum. More precisely, given a multiset "S" of "n" = 3 "m" positive integers, can "S" be partitioned into "m" subsets "S"1, "S"2, …, "S""m" such that the sum of the numbers in each subset is equal? The subsets "S"1, "S"2, …, "S""m" must form a partition of "S" in the sense that they are disjoint and they cover "S". Let "B" denote the (desired) sum of each subset "S""i", or equivalently, let the total sum of the numbers in "S" be "m" "B". The 3-partition problem remains NP-complete when every integer in "S" is strictly between "B"/4 and "B"/2. In this case, each subset "S""i" is forced to consist of exactly three elements (a triple).

The 3-partition problem is similar to the partition problem, which in turn is related to the subset sum problem. In the partition problem, the goal is to partition "S" into two subsets with equal sum. It is important to note that in 3-partition the goal is to partition "S" into "m" subsets (or "n"/3 subsets), not just three subsets, with equal sum.

trong NP-completeness

What is interesting about 3-partition is that it remains NP-complete even when the integers in "S" are bounded above by a polynomial in "n". In other words, the problem remains NP-complete even when representing the numbers in the input instance in unary. In other words, 3-partition is NP-complete in the strong sense or strongly NP-complete. This property, and 3-partition in general, is useful in many reductions where numbers are naturally represented in unary. In contrast, the partition problem is known to be NP-complete only when the numbers are encoded in binary, and have value exponential in "n".

Descriptions

Garey and Johnson (1975) originally proved that 3-partition to be NP-complete, by a reduction from 3-dimensional matching. The classic reference by Garey and Johnson (1979) describes an NP-completeness proof, reducing from 3-dimensional matching to 4-partition to 3-partition. The 4-partition problem is an analog of 3-partition in which the goal is to partition a given set "S" into quadruples all with the same sum: precisely, the difference is that "S" now consists of "n" = 4 "m" integers, each strictly between "B"/5 and "B"/3.

References

* Garey, Michael R. and David S. Johnson (1979), "Computers and Intractability; A Guide to the Theory of NP-Completeness". ISBN 0-7167-1045-5. Pages 96–105 and 224.

*


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Partition problem — In computer science, the partition problem is an NP complete problem. The problem is to decide whether a given multiset of integers can be partitioned into two halves that have the same sum. More precisely, given a multiset S of integers, is… …   Wikipedia

  • Partition — Generally, a partition is a splitting of something into parts. The term is used in a variety of senses: Law *Partition (law), to divide up a piece of land into separate portions representing the proportionate interests of the tenants. It may also …   Wikipedia

  • Partition of India — The Partition of British India Colonial India …   Wikipedia

  • Partition of Belgium — The partition of Belgium, or the dissolution of the Belgian State through the separation of the Dutch speaking peoples of the Flanders region from the French speaking peoples of the Walloon Region, granting them either independence or respective… …   Wikipedia

  • Partition (Server) — Die Serverpartitionierung bezeichnet eine logische (softwareseitige) oder physische (hardwareseitige) Abtrennung eines Computersystems, in dem eine oder mehrere autonome Betriebssysteminstanzen mit ihren Anwendungen betrieben werden kann. Die… …   Deutsch Wikipedia

  • Partition of Ireland — The partition of Ireland (Irish: críochdheighilt na hÉireann) was the division of the island of Ireland into two distinct territories, now Northern Ireland (a part of the United Kingdom) and the Republic of Ireland (an independent state).… …   Wikipedia

  • Problem des Handelsreisenden — Optimaler Reiseweg eines Handlungsreisenden durch die 15 größten Städte Deutschlands. Die angegebene Route ist die kürzeste von 43.589.145.600 möglichen. Das Problem des Handlungsreisenden (engl. Traveling Salesman Problem, kurz TSP) ist ein …   Deutsch Wikipedia

  • PARTITION — Das Partitionsproblem (auch Zahlenaufteilungsproblem, oft mit PARTITION notiert) ist ein Optimierungs bzw. Entscheidungsproblem der Kombinatorik. Inhaltsverzeichnis 1 Formulierung des Partitionsproblems 2 Phasenübergang im Partitionsproblem 3… …   Deutsch Wikipedia

  • Birthday problem — In probability theory, the birthday problem, [This is not a paradox in the sense of leading to a logical contradiction, but is called a paradox because the mathematical truth contradicts naïve intuition: most people estimate that the chance is… …   Wikipedia

  • List of partition topics — This is a list of partition topics, in the mathematical sense. Partition (disambiguation) lists meanings in other fields. In mathematics, a partition may be a partition of a set or an ordered partition of a set, or a partition of a graph, or a… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”