A stochastic inventory problem with piecewise quadratic costs · Study