Cancel
Showing results for 
Search instead for 
Did you mean: 

Genetic algorithms

Creator
Creator

Hello everyone!

I'm trying to use genetic algorithms to optimize a shift-calender. I'm using "GAOptimization" in combination with "GARangeAllocation". The first generation is created without a problem and a method calculates the fitness for each individual of the generation. At the end of the fitness-calculation-method I use the command "GAOptimization.evolve" to generate the next generation but it seems like it doesn't have any effect, since no further generations are generated.
Does anyone know what the problem might be?
Thank you very much! Smiley Happy

2 REPLIES

Re: Genetic algorithms

Creator
Creator

Hello again. I already found the problem, thank you!

for those who are interested: in the tab "Goal" in GAOptimization it said "0" for "fitness" and "average fitness". That's why the termination control was executed everytime the first generation was finished and no further generation was generated.

Best regards! Smiley Happy

Re: Genetic algorithms

Experimenter
Experimenter

Hi,

 

I am very interested in your quesion and solution, could you show some detail to me?