Discounted costs, obsolescence and planned stockouts with the EOQ formula · Study