In this paper, we study deterministic dynamic lot-sizing problems with service level constraints on the total number of periods in which backorders can occur over the finite planning horizon. We give a natural mixed integer programming formulation for the single item problem (LS-SL-I) and study the structure of its solution. We show that an optimal solution to this problem can be found in $\mathcal O(n^2\kappa)$ time, where $n$ is the planning horizon and $\kappa=\mathcal O(n)$ is the maximum number of periods in which demand can be backordered. Using the proposed shortest path algorithms, we develop alternative tight extended formulations for LS-SL-I and one of its relaxations, which we refer to as uncapacitated lot sizing with setups for stocks and backlogs. We show that this relaxation also appears as a substructure in a lot-sizing problem which limits the total amount of a period's demand met from a later period, across all periods. We report computational results that compare the natural and extended formulations on multi-item service-level constrained instances.
Technical Report, Ohio State University.