Genetic Algorithm functions unrecognized
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have this code for a knaspack problem and the function of selection causes me an error. I dont know why.
0 Commenti
Risposte (1)
Walter Roberson
il 1 Dic 2021
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 Commenti
Vedere anche
Categorie
Scopri di più su Genetic Algorithm in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!