Optimization running. Error running optimization. Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Optimization running.
Error running optimization.
Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
What does this mean
2 Commenti
Alan Weiss
il 25 Set 2019
Please show us the function call that led to this error message.
Alan Weiss
MATLAB mathematical toolbox documentation
Risposte (1)
Naveen Venkata Krishnan
il 10 Ott 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 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!