SYNC: add inventory_q.md from lecture-python.myst#19
Merged
Conversation
Mirrors lectures/inventory_q.md from QuantEcon/lecture-python.myst at upstream commit d825b9236 (#830, optimistic initialization update; originally added in #827). File is not yet wired into _toc.yml, so it will not build until the TOC PR for #4 lands. Preparation step for the new "Markov Decision Processes" section proposed in #4. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR adds a new lecture page, lectures/inventory_q.md, introducing an inventory management model solved via dynamic programming and then via Q-learning, as part of the planned new Markov Decision Processes section.
Changes:
- Adds the new MyST/Jupytext-synced lecture
inventory_q.md. - Implements VFI and Q-learning code examples (Numba-accelerated) and accompanying figures/text.
- Introduces new cross-references/citations that will need to resolve cleanly once the page is included in the TOC.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2 tasks
Adds the missing BibTeX entry for the {cite} reference on line 180 of inventory_q.md (flagged by Copilot review on this PR). Entry copied verbatim from QuantEcon/lecture-python.myst/lectures/_static/quant-econ.bib so the citation resolves once the file enters the build via the upcoming TOC PR for #4.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
mmcky
added a commit
that referenced
this pull request
May 28, 2026
Mirrors lectures/rs_inventory_q.md from QuantEcon/lecture-python.myst at upstream commit 78030a3a2 (latest commit touching this file, via PR QuantEcon/lecture-python.myst#859). File contains 10 {doc} references to inventory_q (added in #19) and no {cite} keys. Not yet wired into _toc.yml; activated by the TOC PR for #4. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lectures/inventory_q.md, mirrored fromQuantEcon/lecture-python.mystat upstream commit 78030a3a2 (latest commit touching this file, via PR Add lectures on Kihlstrom's paper, Ross Recovery Theorem and update lectures in probability theory lecture-python.myst#859; originally introduced in #827, with later updates in #830 and #859).discrete_dpwith the upstream Q-learning lectures._toc.yml—only_build_toc_files: truemeans it will not build until the TOC PR lands. This is intentional so the three PRs can land sequentially.Follow-ups
rs_inventory_q.md(depends on this file existing, since it{doc}-referencesinventory_q).lecture-python.mystmapping from 25 → 27 files.Test plan
🤖 Generated with Claude Code