Why should I change the mutation function to '@mutationadaptfeasile' when using lower and upper bounds?

11 views (last 30 days)
lennse
lennse on 26 Jul 2017
Answered: Saurabh Gupta on 31 Jul 2017
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
Saurabh Gupta on 31 Jul 2017
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!

Community Treasure Hunt

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

Start Hunting!