Editing the Individual during the FitnessFcn of a multiobj GA
    4 views (last 30 days)
  
       Show older comments
    
Is there a possibillity to edit the current Individuals of a multiobj GA during the FitnessFcn? I ask, because the GA would converge much faster if I could adjust the current Individuals.
0 Comments
Accepted Answer
  Alan Weiss
    
      
 on 18 Apr 2013
        You should not change the individuals within the fitness function--this function is supposed to evaluate the fitness function, not change the individuals.
You are free to write custom mutation and crossover functions to generate new individuals however you like.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
More Answers (0)
See Also
Categories
				Find more on Genetic Algorithm in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
