Is my genetic algorithm result correct?

5 ビュー (過去 30 日間)
Ripunjoy Gogoi
Ripunjoy Gogoi 2017 年 3 月 2 日
コメント済み: Walter Roberson 2017 年 3 月 2 日
I wrote a G.A. code (Programme files attached here). Its running without any error. But from the plot it can be seen that my results are not converging. That is the minimum value and mean values are not coming close to each other. I am trying to minimise my objective function. Please tell what am I ignoring in my coding. P.S. I am new to G.A. and matlab coding.
  1 件のコメント
Walter Roberson
Walter Roberson 2017 年 3 月 2 日
I recommend you learn how to use dec2bin(Somevalue,4) . It will save you from all of those if/elseif .
For example, dec2bin(r/250 + 1, 4)

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

回答 (0 件)

カテゴリ

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