Genetic Algorithm functions unrecognized
1 回表示 (過去 30 日間)
古いコメントを表示
I have this code for a knaspack problem and the function of selection causes me an error. I dont know why.
0 件のコメント
回答 (1 件)
Walter Roberson
2021 年 12 月 1 日
After line 201
nueva2=nueva1;
there should be an end statement before the next line
function [nueva]= selection(poblacioninicial,fitvalue)
and there should be one fewer end statements at the bottom of the file.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Genetic Algorithm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!