Optimization of flow shop scheduling based on genetic algorithm with reinforcement learning