From: Syed Ali on 27 May 2010 17:59 Dear All, I am trying to implement GA in MATLAB. For my problem I am using real value Genetic Chromosome. But for the practice I have implemented an example from the Book of "Introduction to GA by SN Sivanandam". In which the author has maximize the function f(x) = x^2. For the value (0 to 31). The problem in the code is that the author has use a command initbp for Initialization of Binary Value Population. But when I tried the code it gives me error on the same command. I have searched and found that this command is used in GEAT toolbox. Can any one help me in the following problems : How do we initialize the chromosomes if they are in Binary and in Real Values. What if according to SCHEMATA some of the chormosomes are null like " CHROMOSOME = size, length, height, weight, color SCHEMA = size , * , height ,weight, * Regards Faisal sfaisalaliutp(a)gmail.com
|
Pages: 1 Prev: How to read a string and convert it into array?? Next: fwrite |