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

4 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Saurabh Gupta
Saurabh Gupta il 31 Lug 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!

Translated by