restartOpt function

Restart an Optimisation Algorithm