English

Canonical Coin Systems for Change-Making Problems

Data Structures and Algorithms 2009-03-21 v2 Discrete Mathematics

Abstract

The Change-Making Problem is to represent a given value with the fewest coins under a given coin system. As a variation of the knapsack problem, it is known to be NP-hard. Nevertheless, in most real money systems, the greedy algorithm yields optimal solutions. In this paper, we study what type of coin systems that guarantee the optimality of the greedy algorithm. We provide new proofs for a sufficient and necessary condition for the so-called \emph{canonical} coin systems with four or five types of coins, and a sufficient condition for non-canonical coin systems, respectively. Moreover, we present an O(m2)O(m^2) algorithm that decides whether a tight coin system is canonical.

Keywords

Cite

@article{arxiv.0809.0400,
  title  = {Canonical Coin Systems for Change-Making Problems},
  author = {Xuan Cai},
  journal= {arXiv preprint arXiv:0809.0400},
  year   = {2009}
}

Comments

7 pages

R2 v1 2026-06-21T11:16:01.762Z