Lot-sizing for inventory systems with product recovery