<html><div style='background-color:'><DIV>
<P>I think you should zero the fitness of chromosomes not applying the constraints assuming that 0 is the worst and lets say 100 is the best fitness value.</P>
<P>GAAL, Balazs<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: JOHN ONG <OKU337@YAHOO.COM>
<DIV></DIV>&gt;Reply-To: galib@mit.edu 
<DIV></DIV>&gt;To: galib@mit.edu 
<DIV></DIV>&gt;Subject: how to apply condtrsints in GA program 
<DIV></DIV>&gt;Date: Tue, 18 Mar 2003 07:09:54 -0800 (PST) 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Hi, I am a new used of GA. Trying to optimize a objective function which satifies several constrait.For example minimize y=x1*x1+x2*x2 which satify the contraints x1+x2&gt;2 How can I include the contraints in my problem? any example? 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;--------------------------------- 
<DIV></DIV>&gt;Do you Yahoo!? 
<DIV></DIV>&gt;Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! 
<DIV></DIV></div><br clear=all><hr>Add photos to your messages with  <a href="http://g.msn.com/8HMFEN/2749">MSN 8. </a> Get 2 months FREE*.</html>