Optimal production run time for two-stage production system with imperfect processes and allowable shortages · Study