Reinforcement Learning, Artificial Intelligence, Machine Learning, Data Science, Statistics.
stock_after_sales = x_t_1 - d_t stock_arrived = a_t_1 return_cost = R * (stock_after_sales + stock_arrived > m) #can't use x_t_1 directly because it will be cut off at m #6. MONEY BACK stock_after_sales = x_t_1 - d_t stock_arrived = a_t_1 money_back = c * (stock_after_sales + stock_arrived - m) *