# Suppose k = 100, h = 5, d = 200, p = 1000. Then the production run at
# t=0.1, the optimal order interval is T = 0.5, the optimal order quantity
# is Q = 100, the maximum inventory level is I=80 and the total cost is
# TC = $400.
EPQ(d=200,p=1000,k=100,h=5)
Run the code above in your browser using DataLab