Why should I change the mutation function to '@mutationadaptfeasile' when using lower and upper bounds?
Show older comments
Many MathWorks examples about the genetic algorithm use constraints, including lower and upper bounds. When they call the algorithm and demonstrate the result, nothing is said about using a nondefault mutation function. Why do they not worry about this warning I'm getting?
Answers (1)
Saurabh Gupta
on 31 Jul 2017
0 votes
The following documentation explains that "default mutation function, mutationgaussian, is only appropriate for unconstrained minimization problems", so mutation function mutationadaptfeasible is required for constrained minimization problems.
Hope this helps!
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!