Time limit for optimisation