Browse > Article
http://dx.doi.org/10.7236/JIIBC.2022.22.3.185

An Exact Division Algorithm for Change-Making Problem  

Lee, Sang-Un (Dept. of Multimedia Eng., Gangneung-Wonju National University)
Publication Information
The Journal of the Institute of Internet, Broadcasting and Communication / v.22, no.3, 2022 , pp. 185-191 More about this Journal
Abstract
This paper proposed a division algorithm of performance complexity $O{\frac{n(n+1)}{2}}$ for a change-making problem(CMP) in which polynomial time algorithms are not known as NP-hard problem. CMP seeks to minimize the sum of the xj number of coins exchanged when a given amount of money C is exchanged for cj,j=1,2,⋯,n coins. Known polynomial algorithms for CMPs are greedy algorithms(GA), divide-and-conquer (DC), and dynamic programming(DP). The optimal solution can be obtained by DP of O(nC), and in general, when given C>2n, the performance complexity tends to increase exponentially, so it cannot be called a polynomial algorithm. This paper proposes a simple algorithm that calculates quotient by dividing upper triangular matrices and main diagonal for k×n matrices in which only j columns are placed in descending order of cj of n for cj ≤ C and i rows are placed k excluding all the dividers in cj. The application of the proposed algorithm to 39 benchmarking experimental data of various types showed that the optimal solution could be obtained quickly and accurately with only a calculator.
Keywords
Change making problem; Dynamic programming; Divider; Multiply; Division algorithm;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 M. Fienup, "Greedy Coin-Change Algorithm," http://www.cs.uni.edu/~fienup/cs270s04/lectures/lec6_1-29-04_coin_change_web.htm, Retrieved Feb. 2022.
2 M. R. Salavatipour, "Tutorial Notes for the Change Making Problem," http://webdocs.cs.ualberta.ca/~mreza/courses/CSC364/tut-notes/tut2, Retrieved Feb. 2022.
3 A. Kumar and M. S. Visal, "Coin Change Making Problem Using Greedy Algorithm," https://www.yutube.com/watch?v=ZiQAqMR8jco, Retrieved Feb. 2022.
4 M. Fienup, "Topics in Computing: Bioinformatics, Lecture 6(1-27-05) Slides, Divide-and-Conquer," http://www.cs.uni.edu/~fienup/cs188s05/lectures/lec6_1-27-05.htm, Retrieved Feb. 2022.
5 P. Patel, "Change-Making Problem: Dynamic Method," https://medium.com/@pp7954296/changemaking-problem-dynamic-method-4954a446a511, Retrieved Feb. 2022.
6 A. Mehmood, "ASH CC Algo.: Coin Change Algorithm Optimization," International Journal of Computer Applications, Vol. 178, No. 15, pp. 1-9, May 2019.   DOI
7 Terahertz, "The Coin-Change Problem," http://terahertzatheist.ca/2013/12/04/the-coin-change-problem/, Retrieved Feb. 2022.
8 ProProfs, "What do You Know About the Change Making Problem?," https://www.proprofs.com/quizschool/story.php?title=3dq-what-do-you-know-about-the-change-making-problem, Retrieved Feb. 2022.
9 Z. Chan, "Coin Change Problem(Variation of Change Making Problem)," Oct. 2014, http://www.udaychettiar.com/wp/2014/10/coin-change-problem-variation-of-change-making-problem/
10 M. C. Patterson and B. Harmel, "The Coin Changing Problem as a Mathematical Model," Journal of Applied Quantitative Methods, Vol. 5, No. 2, pp. 298-301, Sep. 2010.
11 J. Shallit, "What This Country Needs is an 18¢ Piece," Mathematical Intelligencer, Vol. 25, No. 2, pp. 20-23, Feb. 2003.   DOI
12 D. Anguin, "Making Change: Memorization and Dynamic Programming," http://zoo.cs.yale.edu/classes/topics/topic-making-change, Retrieved Feb. 2022.
13 Y. Suzuki and R. Miyashino, "Characterization of Canonical Systems with Six Types of Coins for the Change-Making Problem," arXiv:2111.12392, pp. 1-18, Nov. 2021.
14 A. Adamaszek and M. Adamaszek, "Combinatorics of the change-making problem," European Journal of Combinatorics, Vol. 31, No. 1, pp. 47-63, Jan. 2010, https://doi.org/10.1016/j.ejc.2009.05.002   DOI
15 S. Goebbels, F. Gurski, J. Rethmann, and E. Yilmaz, "Change-Making Problems Revisited: A Parameterized Point of View," Journal of Combinatorial Optimization, Vol. 34, pp. 1218-1236, May 2017, https://doi.org/10.1007/s10878-017-0143-z   DOI
16 A. Kaswan, "Greedy Algorithm to Find Minimum Number of Coins," https://www.baeldung.com/cs/min-number-of-coins-algorithm, Retrieved Feb. 2022.
17 D. Kozen and S. Zaks, "Optimal Bounds for the Change-Making Problem," Theoretical Computer Science, Vol. 123, No. 2, pp. 377-388, Jan. 1994, https://doi.org/10.1007/3-540-56939-1_69   DOI
18 D. Pearson, "A Polynomial-time Algorithm for the Change-Making Problem," Operations Research Letters, Vol. 33, No. 3, pp. 231-234, May 2005, https://doi.org/10.1016/j.orl.2004.06.001   DOI
19 J. W. Wright, "The Change-Making Problem," Journal of the Association for Computing Machinery, Vol. 22, No. 1, pp. 125-128, Jan. 1975, https:// doi.org/10.1145/321864.321874   DOI
20 P. E. Black, "Greedy Algorithm," Dictionary of Algorithms and Data Structures, U.S. National Institute of Standards and Technology, Feb. 2005.
21 StackOverflow, "Divide and conquer recursive solution for making change," https://stackoverflow.com/questions/56063638/divide-and-conquer-recursive-solution-for-making-change, Retrieved Feb. 2022.
22 Pweave, "Divide and Conquer Recursive Solution for Making Change," https://stackoverflow.com/questions/56063638/divide-and-conquer-recursive-solution-for-making-change, Retrieved Feb. 2022.
23 T. M. Chen and Q. He, "More on Change- Making and Related Problems," Journal of Computer and System Sciences, Vol. 124, pp. 159-169, Mar. 2021, https://doi.org/10.1016/j.jcss.2021.09.005   DOI
24 J. A. Aslam, "CS7800 Advanced Algorithms: Dynamic Programming Solution to the Coin Changing Problem," Khoury College of Computer and Information Science, Northeastern University, Retrieved Feb. 2022.
25 Q. Vu, "The Famous Coin Change Problem and its Possible New Applications," Undergraduate Journal of Mathematical Modeling: One+Two, Vol. 11, No. 1, Article 5, pp. 1-9, Jan. 2020, https://doi.org/10.5038/2326-3652.11.1.4924   DOI
26 X. Cai, "Canonical Coin Systems for Change- Making Problems," 9th International Conference on Hybrid Intelligent Systems, pp. 499-504, Aug. 2009, https://doi.org/10.1109/HIS.2009.103   DOI
27 T. M. Chen and Q. He, "On the Change- Making Problem," Symposium on Simplicity in Algorithms, pp. 38-42, Feb. 2020, https://doi.org/10. 1137/1.9781611976014.7   DOI
28 Wikipedia, "Greedy Algorithm," https://en.wikipedia.org/wiki/Greedy_algorithm, Retrieved Feb. 2022.