Hi, <br><br>I am trying to write an hybrid GA and 3-OPT algorithm to solve the TSP problem. Ok, I could write the 3-OPT function... it's working, I guess :). The big problem is that, I can't replace genomes... I can optimize them using 3-OPT, but I can't replace, so it has no use...<br><br>I tried replacing it using the replace member function of the GAPopulation class.. when I do it, the genome's score is 0. If I remove and add the new one, it happens also. So, I'm lost. I thought it was just the statistics that wasn't being updated, but it is not! because I called some funtions supposed to update it.<br><br>So, that's it, if someone has had the same problem... I would aprecciate any help!<br><br>bye!<br><br><br><br><p>&#32;


      Flickr agora em português. Você clica, todo mundo vê. <a href="http://br.rd.yahoo.com/mail/taglines/flickr/*http://www.flickr.com.br/">Saiba mais</a>.