Factory level aggregate scheduling: a basis for a hierarchical approach