A Swarm Intelligence Method Applied to Manufacturing Scheduling