{"title":"A heuristic technique for decomposing multisets of non-negative integers according to the Minkowski sum","authors":"L. Margara","doi":"10.46298/dmtcs.9877","DOIUrl":null,"url":null,"abstract":"We study the following problem. Given a multiset $M$ of non-negative\nintegers, decide whether there exist and, in the positive case, compute two\nnon-trivial multisets whose Minkowski sum is equal to $M$. The Minkowski sum of\ntwo multisets A and B is a multiset containing all possible sums of any element\nof A and any element of B. This problem was proved to be NP-complete when\nmultisets are replaced by sets. This version of the problem is strictly related\nto the factorization of boolean polynomials that turns out to be NP-complete as\nwell. When multisets are considered, the problem is equivalent to the\nfactorization of polynomials with non-negative integer coefficients. The\ncomputational complexity of both these problems is still unknown.\n The main contribution of this paper is a heuristic technique for decomposing\nmultisets of non-negative integers. Experimental results show that our\nheuristic decomposes multisets of hundreds of elements within seconds\nindependently of the magnitude of numbers belonging to the multisets. Our\nheuristic can be used also for factoring polynomials in N[x]. We show that,\nwhen the degree of the polynomials gets larger, our technique is much faster\nthan the state-of-the-art algorithms implemented in commercial software like\nMathematica and MatLab.","PeriodicalId":110830,"journal":{"name":"Discret. Math. Theor. Comput. Sci.","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Discret. Math. Theor. Comput. Sci.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46298/dmtcs.9877","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We study the following problem. Given a multiset $M$ of non-negative
integers, decide whether there exist and, in the positive case, compute two
non-trivial multisets whose Minkowski sum is equal to $M$. The Minkowski sum of
two multisets A and B is a multiset containing all possible sums of any element
of A and any element of B. This problem was proved to be NP-complete when
multisets are replaced by sets. This version of the problem is strictly related
to the factorization of boolean polynomials that turns out to be NP-complete as
well. When multisets are considered, the problem is equivalent to the
factorization of polynomials with non-negative integer coefficients. The
computational complexity of both these problems is still unknown.
The main contribution of this paper is a heuristic technique for decomposing
multisets of non-negative integers. Experimental results show that our
heuristic decomposes multisets of hundreds of elements within seconds
independently of the magnitude of numbers belonging to the multisets. Our
heuristic can be used also for factoring polynomials in N[x]. We show that,
when the degree of the polynomials gets larger, our technique is much faster
than the state-of-the-art algorithms implemented in commercial software like
Mathematica and MatLab.