The new generation of candidate solutions is then used in the next iteration of the algorithm .
The new population is then used in the next iteration of the algorithm .