Parameters optimization in a production line using genetic algorithms