I would like a formula, similar to progressive pricing, but where the "packs" can't be broken into units. So, for any given order quantity, the biggest packs (which have the best rate) would be selected, then the remaining balance would pick the next appropriate size pack to fulfill the order. I'll provide my example on this.
Qty Price 5 $0.50 25 $2.25 125 $11.00 250 $19.00 550 $36.00
Rules:
1. Packs can't be broken up
2. Quantity must equal or exceed to fulfill an order
3. In a case where multiple combos have equivalent price, the tiebreaker is the least number of packs. (This is not a critical rule and can be ignored if it adds too much complexity)
Examples:
Order Packs Cost 114 4x25+3x5 $10.50 118 1x125 (or same cost 4x25+4x5) $11.00 121 1x125 $11.00 570 1x550+4x5 (this is cheaper than adding 1x25) $38.00
Is there a formula that can calculate the order cost, based on a given quantity?
Bookmarks