Repeat optimisation and save results