Optimization running. Error running optimization. Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
Ältere Kommentare anzeigen
Optimization running.
Error running optimization.
Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
What does this mean
2 Kommentare
Alan Weiss
am 25 Sep. 2019
Please show us the function call that led to this error message.
Alan Weiss
MATLAB mathematical toolbox documentation
Shamir Sheikkariem
am 25 Sep. 2019
Antworten (1)
Naveen Venkata Krishnan
am 10 Okt. 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);
Kategorien
Mehr zu Genetic Algorithm finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!