Factory level aggregate scheduling: bridging the gap between optimized scheduling and real time control