Essays on Inventory Management and Object Allocation