Indexed Subset Construction: A Structured Algorithmic Framework
Abstract
1. Introduction
- (i)
- an index-based representation of subsets;
- (ii)
- a certificate-driven characterization of candidate solutions;
- (iii)
- a structured subset construction procedure based on interval-restricted index combinations;
- (iv)
- an empirical evaluation against standard baseline methods.
2. Indexed Representation Framework
2.1. Basic Definitions
2.2. Power Set and Set Operations
2.3. Indexed Representation of Finite Sets
3. Structural Properties of Indexed Construction
4. Algorithmic Construction of Target Subsets
| Algorithm 1. Indexed subset construction |
| The algorithm is described in procedural form below.
Input:
Procedure: Step 1. Construct the index set corresponding to the elements . Step 2. Determine admissible subset cardinalities and compute the corresponding bounds according to (7). Step 3. Construct the set of all two-element subsets using the matrix representation (10). Step 4. Group subsets by their index sums using diagonal traversal. Step 5. Identify candidate index combinations whose sums are consistent with the target value , and compute the corresponding index certificate . Step 6. Check whether the index certificate belongs to the admissible range (7) and locate the corresponding diagonal structures. Step 7. Construct candidate subsets iteratively based on index combinations. Starting from the set of two-element subsets , higher-cardinality subsets are constructed by extending existing combinations. In particular, elements are added sequentially to previously constructed subsets while preserving index ordering and disjointness. This process can be interpreted as an index concatenation procedure that builds subsets of increasing cardinality from lower-order components. The resulting subsets correspond to index certificates formed as sums of lower-order certificates in accordance with (11). Step 8. Map the constructed index subset to the corresponding subset ⊆. Step 9. Verify the condition . Step 10. If the condition is satisfied, return the subset ; otherwise, continue the construction within the admissible range. If no subset is found, report that no solution is identified within the indexed construction framework. |
4.1. Illustrative Examples
4.2. Numerical Experiments and Analysis of Results
4.2.1. Experimental Setup
- execution time;
- memory usage.
- brute-force enumeration;
- dynamic programming using bitset representation;
- meet-in-the-middle (MM);
- the proposed index-based certificate method.
4.2.2. Baseline Methods
4.2.3. Results and Scaling Behavior
5. Discussion
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Cook, S.A. The complexity of theorem-proving procedures. In Proceedings of the Third Annual ACM Symposium on Theory of Computing, Shaker Heights, OH, USA, 3–5 May 1971; pp. 151–158. [Google Scholar]
- Karp, R.M. Reducibility among combinatorial problems. In Complexity of Computer Computations; IBM Research Symposia Series; Springer: Boston, MA, USA, 1972; pp. 85–103. [Google Scholar]
- Horowitz, E.; Sahni, S. Computing partitions with applications to the knapsack problem. J. ACM 1974, 21, 277–292. [Google Scholar] [CrossRef]
- Schroeppel, R.; Shamir, A. A T = O(2^{n/2}), S = O(2^{n/4}) algorithm for certain NP-complete problems. SIAM J. Comput. 1981, 10, 456–464. [Google Scholar] [CrossRef]
- Koiliaris, K.; Xu, C. A Faster Pseudopolynomial Time Algorithm for Subset Sum. In Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), Barcelona, Spain, 16–19 January 2017; pp. 1062–1072. [Google Scholar]
- Cormen, T.H.; Leiserson, C.E.; Rivest, R.L.; Stein, C. Introduction to Algorithms, 3rd ed.; MIT Press: Cambridge, MA, USA, 2009. [Google Scholar]
- Sinchev, B.; Sinchev, A.; Mukhanova, A.M. Algorithm based on the subset sum problem for high performance computing. In Springer Link Proceedings of Ninth International Congress on Information and Communication Technology; Springer: Singapore, 2024; pp. 627–637. [Google Scholar]
- Kellerer, H.; Pferschy, U.; Pisinger, D. Knapsack Problems; Springer: Berlin/Heidelberg, Germany, 2004. [Google Scholar]
- Bringmann, K. A Near-Linear Pseudopolynomial Time Algorithm for Subset Sum. In Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), Barcelona, Spain, 16–19 January 2017; pp. 1073–1084. [Google Scholar]
- Garey, M.R.; Johnson, D.S. Computers and Intractability: A Guide to the Theory of NP-Completeness; Freeman: San Francisco, CA, USA, 1979. [Google Scholar]
- Pisinger, D. Linear time algorithms for knapsack problems with bounded weights. J. Algorithms 1999, 33, 1–14. [Google Scholar] [CrossRef]
- Nederlof, J. Fast polynomial-space algorithms using inclusion–exclusion. Algorithmica 2013, 65, 868–884. [Google Scholar] [CrossRef]
| k | Brute Force | DP | MM | Proposed Algorithm |
|---|---|---|---|---|
| 2 | 0.000832 | 0.004859 | 0.002704 | 0.000440 |
| 3 | 0.013477 | 0.056155 | 0.015735 | 0.000686 |
| 4 | 0.162232 | 0.175204 | 0.096054 | 0.001880 |
| 5 | 1.487983 | 0.347012 | 0.489582 | 0.009901 |
| 6 | 11.801322 | 0.582465 | 1.868361 | 0.053281 |
| 7 | 75.863641 | 0.855779 | 5.661248 | 0.276737 |
| 8 | 410.724292 | 1.226117 | 14.392234 | 1.408649 |
| 9 | 1930.081431 | 1.607236 | 32.073095 | 5.771941 |
| 10 | 8194.289910 | 2.185671 | 67.489330 | 21.926987 |
| 11 | 30,392.163831 | 2.629544 | 184.990949 | 75.611436 |
| 12 | 95,885.083828 | 3.567317 | 406.939238 | 244.409451 |
| k | Brute Force | DP | MM | Proposed Algorithm |
|---|---|---|---|---|
| 2 | 0.00 | 0.09 | 0.10 | 0.09 |
| 3 | 0.00 | 1.23 | 0.74 | 0.16 |
| 4 | 0.00 | 3.21 | 4.68 | 0.26 |
| 5 | 0.09 | 5.46 | 22.61 | 0.39 |
| 6 | 0.56 | 9.72 | 85.17 | 0.63 |
| 7 | 3.28 | 13.62 | 262.94 | 1.23 |
| 8 | 16.68 | 17.70 | 678.20 | 3.73 |
| 9 | 73.30 | 21.96 | 1489.38 | 16.99 |
| 10 | 283.11 | 26.37 | 2856.66 | 62.79 |
| 11 | 973.54 | 31.00 | 4914.39 | 213.73 |
| 12 | 3032.79 | 40.58 | 7717.29 | 661.01 |
| k | Brute Force | DP (Feasibility) | MM | Proposed Algorithm |
|---|---|---|---|---|
| 2 | 0 | 0 | 0 | 0 |
| 3 | 0 | 0 | 0 | 0 |
| 4 | 13 | 1 | 13 | 13 |
| 5 | 133 | 1 | 133 | 133 |
| 6 | 800 | 1 | 800 | 800 |
| 7 | 4664 | 1 | 4664 | 4664 |
| 8 | 23,754 | 1 | 23,754 | 23,754 |
| 9 | 104,346 | 1 | 104,346 | 104,346 |
| 10 | 403,260 | 1 | 403,260 | 403,260 |
| 11 | 1,385,718 | 1 | 1,385,718 | 1,385,718 |
| 12 | 4,320,584 | 1 | 4,320,584 | 4,320,584 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Sinchev, B.; Sinchev, A.; Mukhanova, A.; Sadykova, T.; Auyezova, A.; Baimirov, K. Indexed Subset Construction: A Structured Algorithmic Framework. Algorithms 2026, 19, 397. https://doi.org/10.3390/a19050397
Sinchev B, Sinchev A, Mukhanova A, Sadykova T, Auyezova A, Baimirov K. Indexed Subset Construction: A Structured Algorithmic Framework. Algorithms. 2026; 19(5):397. https://doi.org/10.3390/a19050397
Chicago/Turabian StyleSinchev, Bakhtgerey, Askar Sinchev, Aksulu Mukhanova, Tolkynai Sadykova, Anel Auyezova, and Kuanysh Baimirov. 2026. "Indexed Subset Construction: A Structured Algorithmic Framework" Algorithms 19, no. 5: 397. https://doi.org/10.3390/a19050397
APA StyleSinchev, B., Sinchev, A., Mukhanova, A., Sadykova, T., Auyezova, A., & Baimirov, K. (2026). Indexed Subset Construction: A Structured Algorithmic Framework. Algorithms, 19(5), 397. https://doi.org/10.3390/a19050397

