Week 2: Optimal planning in the Inventory-environment#
What you see#
This example shows what happens when you apply the DP algorithm to the inventory control problem. The optimal policy is in this case very simple: buy one item if the inventory is empty.
How it works#
The planning occurs using the DP algorithm that you implement during week 2 and to make the visualization work I use the DP Agent you will implement during week 2.