Doubt regarding genetic algorithm

4 views (last 30 days)
I am using optimization toolbox to solve mixed integer optimization problem by specifying variables to integer variables, my question is what is the probability that a crossover child is being muted for producing next generation i know we can specify percentage for crossover but what is probability of mutation?

Accepted Answer

Alan Weiss
Alan Weiss on 7 May 2018
As explained in the documentation (step 2e), children are EITHER mutation OR crossover. One or the other. So the probability that a child is from mutation is 1 - the probability that the child is from crossover.
If I misunderstood your question, feel free to ask again.
Alan Weiss
MATLAB mathematical toolbox documentation

More Answers (1)

Parikshit  Sharma
Parikshit Sharma on 7 May 2018
Thanks Alan for your response it means that
children from elite count + children from crossover + children from mutation = population size
right?
Now my question is that whether these children from mutation are produced by mutating children produced from crossover or mutating parent generation directly?
  2 Comments
Alan Weiss
Alan Weiss on 7 May 2018
Both crossover and mutation children are produced from parents. To quote from the documentation of step 2e:
"e. Produces children from the parents. Children are produced either by making random changes to a single parent—mutation—or by combining the vector entries of a pair of parents—crossover."
Alan Weiss
MATLAB mathematical toolbox documentation
Parikshit  Sharma
Parikshit Sharma on 7 May 2018
Thank you very much Alan for your prompt replies

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!