arXiv:2610.23253cs.DSOct 2026

Manuscript Offprint

arXiv:2610.23253

Critical-state algorithms for lot sizing with all-units discounts and variable inventory bounds

Kleitos Papadopoulos

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study deterministic single-item lot sizing with all-units quantity discounts, linear holding costs, and time-varying end-of-period inventory bounds. Unit prices may vary arbitrarily over time. For one common positive discount threshold, we give an exact algorithm requiring O(n3)O(n^{3}) arithmetic operations and O(n2)O(n^{2}) working space, including recovery of an optimal purchase plan. The method combines a critical-state theorem in cumulative-purchase coordinates with two prefix-minimum scans per dynamic-programming layer. The structural argument accommodates downward price discontinuities and distinguishes prescribed from free terminal inventory. With a fixed global set of m positive threshold values, the bounds become Om(nm+2)O_{m}(n^{m+2}) time and Om(nm+1)O_{m}(n^{m+1}) space. Period-specific thresholds admit the same exact construction, but its state set can be exponential. For commensurate flow data, an inventory-lattice implementation takes O(PW)O(PW) time, where P is the total number of price tiers and W is the largest inventory-lattice width. We also derive a conditional optimality certificate from a monotone one-threshold relaxation; this certificate does not imply a near-linear worst-case algorithm for arbitrary prices. Exact-arithmetic implementations are checked against exhaustive inventory dynamic programs and tier-enumeration linear programs. An illustrative timing study identifies settings in which the lattice implementation is preferable.

Keywords: Lot sizing, Dynamic programming, Quantity discounts, Inventory bounds, Exact algorithms

1. Introduction

An all-units quantity discount applies a lower unit price to an entire order once its quantity reaches a threshold. Unlike an incremental discount, the resulting procurement cost can decrease discontinuously as the order grows. In a multi-period setting, a discount therefore creates a trade-off among ordering more than immediate demand, paying holding costs, and occupying limited storage space. When prices fluctuate over time, the cheapest inventory remaining in a particular policy need not identify the cheapest complete history for another inventory level. Exact methods must compare total costs while preserving both threshold eligibility and the storage constraints of each history.

This paper considers continuous order quantities, nonnegative deterministic demands, linear nonnegative holding costs, and arbitrary finite end-of-period inventory bounds. There are no setup charges, separate production limits, backlogging, or disposal. The entire horizon is known in advance. Our main algorithm does not require either unit-price sequence to be monotone. Its central observation is that an optimal plan can be selected from a finite set of cumulative-purchase levels obtained by translating inventory-bound values by sums of discount thresholds. For one common threshold, this set has O(n2)O(n^{2}) elements. The apparent quadratic predecessor search in each state then reduces to two prefix minima, giving an O(n3)O(n^{3}) algorithm.