Now it is possible to force the updateBestSolution and
updateLocalBestSolution.