Editing the Individual during the FitnessFcn of a multiobj GA

4 views (last 30 days)
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.

Accepted Answer

Alan Weiss
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)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!