Benchmarking iterative optimization algorithms