Change the random solution generation for all algorithms.