An inventory model with limited production capacity and uncertain demands II: The discounted-cost criterion