Time the optimization of the plan.