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

3 vues (au cours des 30 derniers jours)
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?

Réponses (1)

Saurabh Gupta
Saurabh Gupta le 31 Juil 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