An output-sensitive Algorithm to partition a Sequence of Integers into Subsets with equal Sums

From MaRDI portal
Publication:5377219




Abstract: We present a polynomial time algorithm, which solves a nonstandard Variation of the well-known PARTITION-problem: Given positive integers n,k and t such that tgeqn and kcdott=n+1choose2, the algorithm partitions the elements of the set In=1,ldots,n into k mutually disjoint subsets Tj such that cupj=1kTj=In and sumxinTjx=t for each jin1,2,ldots,k. The algorithm needs mathcalO(ncdot(fracn2k+logfracn(n+1)2k)) steps to insert the n elements of In into the k sets Tj.










This page was built for publication: An output-sensitive Algorithm to partition a Sequence of Integers into Subsets with equal Sums

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5377219)