MuGA (n , m , problem)
MP0 = generate n MultiIndividuals from problem
Evaluate MP0
Repeat
MP1 = Select m Individuals from MP0
MP2 = Recombine the Individuals of MP1
MP3 = Mutate the Individuals of MP2
Evaluate MP3
MP4 = Select n MultiIndividuals from MP3 and MP0
MP0 = Rescale the number of copies of MP4
Until stop criteria
End Function.