An optimal production run time with imperfect production processes and allowable shortages · Study