Optimization of polymer extrusion with genetic algorithms