Optimization running. Error running optimization. Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
5 Ansichten (letzte 30 Tage)
Ä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
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);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!