An integrated model for the production planning and the allocation of locations to items in a warehouse