planning and scheduling using genetic algorithm