Optimization running. Error running optimization. Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Optimization running.
Error running optimization.
Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
What does this mean
2 commentaires
Alan Weiss
le 25 Sep 2019
Please show us the function call that led to this error message.
Alan Weiss
MATLAB mathematical toolbox documentation
Réponses (1)
Naveen Venkata Krishnan
le 10 Oct 2019
Hello Shamir,
There is a mistake in the way you have implemented the 'ga' function . Change it to :
[x, fval, exitFlag, Output] = ga(ObjFcn,nvars,[],[],[],[],lb,ub,ConsFcn);
0 commentaires
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!