Optimal control of a stochastic production–inventory system under deteriorating items and environmental constraints · Study