You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I don't know why excess_inventory would be needed to calculate the purchase cost.
For reference, the corresponding line from the original implementation by Balaji et al is appears to be the same except for the multiplication by excess inventory
Hi team,
It looks to me like there's an error in the
_STEP
method of NewsVendorEnv when calculating the purchase cost.The line is
But I don't know why
excess_inventory
would be needed to calculate the purchase cost.For reference, the corresponding line from the original implementation by Balaji et al is appears to be the same except for the multiplication by excess inventory
(see https://github.com/awslabs/or-rl-benchmarks/blob/master/News%20Vendor/src/news_vendor_environment.py, their
self.l
is the lead time,c
is the purchase cost andbuys
is the order quantity).The text was updated successfully, but these errors were encountered: