Open AccessPosted Content
The Sum Composition Problem.
TL;DR: A first algorithm is presented solving the exhaustive problem and then a second algorithm solving the existential problem of the "sum composition problem" between two lists of positive integers.
read more
Abstract: In this paper, we study the "sum composition problem" between two lists $A$ and $B$ of positive integers. We start by saying that $B$ is "sum composition" of $A$ when there exists an ordered $m$-partition $[A_1,\ldots,A_m]$ of $A$ where $m$ is the length of $B$ and the sum of each part $A_k$ is equal to the corresponding part of $B$. Then, we consider the following two problems: $i)$ the "exhaustive problem", consisting in the generation of all partitions of $A$ for which $B$ is sum composition of $A$, and $ii)$ the "existential problem", consisting in the verification of the existence of a partition of $A$ for which $B$ is sum composition of $A$. Starting from some general properties of the sum compositions, we present a first algorithm solving the exhaustive problem and then a second algorithm solving the existential problem. We also provide proofs of correctness and experimental analysis for assessing the quality of the proposed solutions along with a comparison with related works.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Figures
![Figure 5: Experiments with function sumCompExist. (a) Execution times varying the length of An1,200 (3 ≤ n ≤ 32) and the length of B (2 ≤ `(B) ≤ 31); (b) number of enabling decompositions and execution times varying the length of An1,200 (3 ≤ n ≤ 32) and for `(B) = 4; (c) number of enabling decompositions and execution times for `(A) = 32 and varying the length of B (2 ≤ `(B) ≤ 31); execution times with `(A) = 32 varying the number of repetitions in A and the considered ranges ([1, 100], [1, 150], [1, 200]).](/figures/figure5-1-3ke6mnqtggjc.png)
Figure 5: Experiments with function sumCompExist. (a) Execution times varying the length of An1,200 (3 ≤ n ≤ 32) and the length of B (2 ≤ `(B) ≤ 31); (b) number of enabling decompositions and execution times varying the length of An1,200 (3 ≤ n ≤ 32) and for `(B) = 4; (c) number of enabling decompositions and execution times for `(A) = 32 and varying the length of B (2 ≤ `(B) ≤ 31); execution times with `(A) = 32 varying the number of repetitions in A and the considered ranges ([1, 100], [1, 150], [1, 200]). 
Figure 2: Trace of the execution of function sumCompAux 
Figure 3: Recursive calls of the sumComp Algorithm ![Figure 4: Experiments with function sumComp by applying rule R1. (a) Execution times varying the length of An1,200 and B (1 ≤ `(A), `(B) ≤ 22); (b) number of enabling decompositions and execution times varying the length of An1,200 (with 1 ≤ n ≤ 22) and fixing `(B) = 4; (c) number of enabling decompositions and execution times for `(A) = 23 and varying the length of B (1 ≤ `(B) ≤ 22); and, (d) execution times with `(A) = 23 and `(B) = 2 varying the number of repetitions in A and the considered ranges ([1, 100], [1, 150], [1, 200]).](/figures/figure4-1-6ilsnpjcysep.png)
Figure 4: Experiments with function sumComp by applying rule R1. (a) Execution times varying the length of An1,200 and B (1 ≤ `(A), `(B) ≤ 22); (b) number of enabling decompositions and execution times varying the length of An1,200 (with 1 ≤ n ≤ 22) and fixing `(B) = 4; (c) number of enabling decompositions and execution times for `(A) = 23 and varying the length of B (1 ≤ `(B) ≤ 22); and, (d) execution times with `(A) = 23 and `(B) = 2 varying the number of repetitions in A and the considered ranges ([1, 100], [1, 150], [1, 200]). 
Table 1: Number of AB-decompositions by varying the length of A and the range of values ![Figure 1: (a) Ferrers diagram ΦB of the integer partition B = [2, 2, 4, 7]. (b) Tiling of ΦB corresponding to the decomposition [[1, 1], [2], [2, 2], [1, 3, 3]] of the integer partition A = [1, 1, 1, 2, 2, 2, 3, 3].](/figures/figure1-1-5jzhscv5nw20.png)
Figure 1: (a) Ferrers diagram ΦB of the integer partition B = [2, 2, 4, 7]. (b) Tiling of ΦB corresponding to the decomposition [[1, 1], [2], [2, 2], [1, 3, 3]] of the integer partition A = [1, 1, 1, 2, 2, 2, 3, 3].
Citations
On the poset of partitions of an integer
TL;DR: A rotary pickles making device comprises a base body including spaced drive and guide rollers rotatably mounted in the body, and a pickling casing for containing pickling rice-bran paste with foodstuffs.
2
References
•Book
Computers and Intractability: A Guide to the Theory of NP-Completeness
Michael Randolph Garey,David S. Johnson +1 more
- 01 Jan 1979
TL;DR: The second edition of a quarterly column as discussed by the authors provides a continuing update to the list of problems (NP-complete and harder) presented by M. R. Garey and myself in our book "Computers and Intractability: A Guide to the Theory of NP-Completeness,” W. H. Freeman & Co., San Francisco, 1979.
Reducibility Among Combinatorial Problems.
Richard M. Karp
- 01 Jan 1972
TL;DR: Throughout the 1960s I worked on combinatorial optimization problems including logic circuit design with Paul Roth and assembly line balancing and the traveling salesman problem with Mike Held, which made me aware of the importance of distinction between polynomial-time and superpolynomial-time solvability.
13.6K
Reducibility Among Combinatorial Problems
TL;DR: The work of Dantzig, Fulkerson, Hoffman, Edmonds, Lawler and other pioneers on network flows, matching and matroids acquainted me with the elegant and efficient algorithms that were sometimes possible.
8.7K
Coalgebras and Bialgebras in Combinatorics
TL;DR: The following material is discussed in this article : Incidence coalgebras for PO sets, reduced Boolean coalgegebra, Dirichlet coalgebra, Eulerian coalgebra and Faa di Bruno Bialgebra.
483