A polynomial-time algorithm for the change-making problem

被引:16
|
作者
Pearson, D [1 ]
机构
[1] BBN Technol, Cambridge, MA 02138 USA
基金
美国国家科学基金会;
关键词
change-making; coin systems; greedy algorithm;
D O I
10.1016/j.orl.2004.06.001
中图分类号
C93 [管理学]; O22 [运筹学];
学科分类号
070105 ; 12 ; 1201 ; 1202 ; 120202 ;
摘要
Optimally making change-representing a given value with the fewest coins from a set of denominations-is in general NP-hard. In most real money systems however, the greedy algorithm is optimal. We give a polynomial-time algorithm to determine, for a given coin system, whether the greedy algorithm is optimal. (C) 2004 Elsevier B.V. All rights reserved.
引用
收藏
页码:231 / 234
页数:4
相关论文
共 50 条