Inventory control. A problem in stocking perishable goods