Doubt regarding genetic algorithm

4 ビュー (過去 30 日間)
Parikshit  Sharma
Parikshit Sharma 2018 年 5 月 7 日
コメント済み: Parikshit Sharma 2018 年 5 月 7 日
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?

採用された回答

Alan Weiss
Alan Weiss 2018 年 5 月 7 日
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

その他の回答 (1 件)

Parikshit  Sharma
Parikshit Sharma 2018 年 5 月 7 日
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 件のコメント
Alan Weiss
Alan Weiss 2018 年 5 月 7 日
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 2018 年 5 月 7 日
Thank you very much Alan for your prompt replies

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by