QBMX - A Generalized Bill Mix Routine - Examples

Following are some examples that illustrate the features of QBMX.

Example No. 1.

We have bills of $10, $20, $50 and €50, and we ask for $80. We dispense one bill each of $10, $20 and $50.

Sample 1 - Dispense $50

Example No. 2.

We have bills of $10, $20, $50 and €50, and we ask for $2,000. The policy is to issue at least one bill of $20. The ATM has a limit of 40 bills, so the policy constraint is ignored, and we dispense 40 bills of $50.

Sample 2 - Dispense $2,000

Example No. 3.

We have bills of $10, $20, $50 and €50, and we ask for $80. Unfortunately, the $10s are out. We dispense 4 bills of $20.

Sample 3 - Dispense $50 no $10

Example No. 4.

We ask for €200. We dispense 4 bills of €50.

Sample 4 - Dispense €200

Example No. 5.

We ask for $1,000. The policy requires one bill of $20, which would in this case mean that 5 are needed to make $100. Since only 1 bill is available, the policy is ignored and we dispense 20 bills of $50.

Sample 5 - Dispense $1,000

Example No. 6.

We ask for $1,000. The policy requires one bill of $20. Since no $10 bills are available, we dispense 5 bills of $20 and 18 of $50.

Sample 6 - Dispense $1,000, no 10s

Back to QBMX

Copyright © 2006 QSM Programming Ltd. All rights reserved.

Contact: Jonathan (Jony) Rosenne, rosennej@qsm.co.il.