Integration of production planning and scheduling using an expert system and a genetic algorithm