>>1829867well, you just need to be able to teach them what they are in control of, and tell whether they improved or not compared to their previous attempt at solving the given problem.
sure, there are many different types of evolutionary algorithms that are developed for different tasks, but you can pretty much use them interchangeably, with varying degrees of efficiency. but they will generally be able to come up with at least an applicable solution to the problem at hand.
there is nothing preventing you from teaching a single evolutionary algorithm how to solve many different problems. you just need to make sure that it recognizes that they are completely separate problems, and threats them as such.