Optimization of the Scheduling Strategies for the Dynamic Stacking Problem in Uncertain Environment