Optimal control for Automated Fibre Placement using PGD