Capacity Allocation And Rescheduling In Supply Chains