Stochastic Dynamic Programming and the Control of Queueing Systems II: The Discount Optimality EquationTextbook
Motivation
Control problems for queueing systems (admission control, routing, service rate selection, inventory replenishment) are naturally modelled as Markov decision chains with a countable state space, such as the number of customers in a buffer, and with costs that grow without bound in the state, such as holding costs proportional to queue length. The expected discounted cost criterion is the first infinite horizon criterion applied to such models, and it is also the tool through which the average cost criterion is treated later in the same book (Chapters 6–8 of Sennott's text reach average cost optimal policies through limits of discounted problems as the discount factor tends to one).
Classical treatments of discounted dynamic programming assume bounded costs, under which the dynamic programming operator is a contraction and has a unique bounded fixed point. That assumption fails for queueing models. This mission formalizes Chapter 4, Sections 4.1–4.4, of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999), which develops the discounted theory for nonnegative, possibly unbounded costs, where value functions may be infinite.
Timeline of the underlying theory:
- 1965. Blackwell (Ann. Math. Statist. 36) establishes the discounted theory with bounded rewards.
- 1966. Strauch (Ann. Math. Statist. 37) treats "negative" dynamic programming, the case of nonpositive rewards (equivalently nonnegative costs), with no boundedness assumption.
- 1977–1978. Bertsekas (SIAM J. Control Optim. 15) and Bertsekas and Shreve (Stochastic Optimal Control: The Discrete-Time Case) give the abstract monotone-mapping framework covering both cases.
- 1999. Sennott's text states the countable-state, finite-action, nonnegative-cost discounted theory in the form used for queueing control, with general history-dependent randomized policies.
Setting
A Markov decision chain has a countable state space ; for each state a finite nonempty action set ; for each a nonnegative finite cost and a probability distribution of the next state. A policy chooses the action at time at random from a distribution on that may depend on the entire history . A stationary policy always chooses in state ; for it one writes and .
Fix a discount factor . For an initial state and a policy , the -horizon cost with terminal cost zero and the infinite horizon discounted cost are
and the value functions are and , infima over all policies. All of these lie in . A policy is discount optimal if . The discount optimality equation is
With , denotes the set of actions attaining the minimum at .
Formalization targets
Goal: Theorem 4.1.4
solves (4.9); every solving (4.9) satisfies ; and every stationary policy with
is discount optimal. No boundedness of costs and no finiteness of is assumed.
Milestones
In attack order: Lemma 4.1.1 (); Proposition 4.1.2 (a supersolution of the one-policy equation dominates and ); Corollary 4.1.3 (a supersolution of the optimality inequality dominates ); then, beyond the goal, Corollary 4.1.5 ( where ), Proposition 4.2.2 and Corollary 4.2.4 (conditions under which a solution of (4.9) equals ), Proposition 4.3.1 (, and limit points of finite horizon optimal stationary policies are discount optimal) and Proposition 4.4.1 (optimal policies are exactly those concentrated on the sets along histories of positive probability).
Significance
Theorem 4.1.4 is the foundation for everything in the book that concerns discounted costs: it produces an optimal stationary deterministic policy, identifies among the many solutions of (4.9) (Example 4.2.1 of the book gives a one-parameter family of finite solutions), and underlies value iteration (Proposition 4.3.1) and the approximating-sequence method of Sections 4.6–4.7. The average cost results of Chapters 6–8 are proved from it by letting . Proposition 4.4.1 describes the full set of optimal policies, including randomized and history-dependent ones.
These are known results with published proofs. The contribution of this mission is a machine-checked development of the discounted theory for countable state spaces with unbounded costs and infinite values, over the general policy class. Related statements on the platform (the monotone-mapping propositions of Bertsekas 1977 in the MonotoneDP missions, and bounded-cost or finite-state discounted results) use different models and are open; no machine-checked proof of the present statements is known to this mission.
Difficulty
The contraction argument that settles the bounded case is unavailable: with unbounded costs the operator in (4.9) has many fixed points, and can equal at some states, so neither uniqueness of fixed points nor subtraction of values is available. The optimality equation compares the infimum over all history-dependent randomized policies with a one-step minimum, so the general policy class and the law of the process under it must be handled directly; restricting attention to Markov or stationary policies begs the question. Every limit exchange (monotone limits of finite horizon costs, the passage to limit points of policies in Proposition 4.3.1) takes place in , where finite-valued arguments do not transfer verbatim.
Formalization scope
The Lean development lives in the namespace SennottDP.Discounted. Conventions:
- The state space is a type
Swith[Countable S]; actions form a typeActandA i : Finset Actis nonempty. Costs areℝ≥0; transition probabilities areℝ≥0∞with∑' j, P i a j = 1fora ∈ A i. - A history at time is a pair
Fin (n+1) → S,Fin n → Act; a policy assigns to every history a distribution on the action set of its last state. The probability of a history is the product of the policy and transition probabilities; expectations areℝ≥0∞sums over histories, so no integrability conditions arise. - All values (, , , , and the competing solutions ) are
ℝ≥0∞-valued; . The discount factor isα : ℝ≥0with0 < αandα < 1. Terminal costs are zero. - and are infima over the type of all general policies. Defining them over stationary policies only would make the optimality of a tautology; that formalization is ruled out.
- Proposition 4.4.1: the book states the equivalence without a finiteness assumption, but its necessity argument needs , and necessity fails otherwise. Sufficiency is stated in general and necessity under everywhere.
Useful infrastructure, reusable by the later missions of this series (approximating sequences, average cost): the shift of a general policy after its first step, the Chapman–Kolmogorov identity for the history law, and the computation for stationary policies. Contributions of such lemmas, and proofs of any milestone, are welcome.
Selected references
- L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley Series in Probability and Statistics, John Wiley & Sons, 1999, Chapter 4. https://doi.org/10.1002/9780470317037
- D. Blackwell, Discounted dynamic programming, Annals of Mathematical Statistics 36 (1965), 226–235. https://doi.org/10.1214/aoms/1177700285
- R. E. Strauch, Negative dynamic programming, Annals of Mathematical Statistics 37 (1966), 871–890. https://doi.org/10.1214/aoms/1177699369
- D. P. Bertsekas, Monotone mappings with application in dynamic programming, SIAM Journal on Control and Optimization 15 (1977), 438–464. https://doi.org/10.1137/0315031
- D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978.
- M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887