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

From MaRDI portal
Publication:5377219

DOI10.23638/DMTCS-20-2-18zbMATH Open1411.05021arXiv1811.04014MaRDI QIDQ5377219FDOQ5377219

A. Buchel, Kurt-Ulrich Witt, Ulrich Gilleßen

Publication date: 23 May 2019

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.


Full work available at URL: https://arxiv.org/abs/1811.04014







   Recommendations





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)