QuantEcon v0.19.0
New features
DiscreteDP:state_valuesandaction_valueslabel fields (constructor keywords), with the value-keyed decode layersigma_values,state_to_index,DDPPolicyFunction,DDPValueFunction, and theIndexMaputility.MarkovChain(ddp, sigma): the Markov chain controlled by the policysigma.
Breaking changes
DPSolveResultis now immutable, with new fieldsddp,epsilon,max_iter, andkand two appended type parameters; the(ddp, ddpr)-taking methods are removed (compute_greedy!entirely) — migrate to the array-level forms, e.g.bellman_operator!(ddp, res.v, res.Tv, res.sigma).- The solution methods and
backward_inductionnow run in the promoted Bellman value type: mixed-precision models (e.g.Float32rewards with aFloat64beta) return promoted value arrays and may select different (correct) policies at near-tied action values.
Merged pull requests:
- ENH: Make DPSolveResult immutable with solve metadata (#401) (@oyamad)
- ENH: Add state_values/action_values to DiscreteDP (#402) (@oyamad)
- FIX: Run the DDP solver iterations in the promoted Bellman value type (#404) (@oyamad)
Closed issues: