Joint determination of optimal safety stocks and production policy for an imperfect production system · Study