MATLAB Answers

lennse
0

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

Asked by lennse
on 26 Jul 2017
Latest activity Answered by 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?

  0 Comments

Sign in to comment.

1 Answer

Answer by 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!

  0 Comments

Sign in to comment.