Optimization running. Error running optimization. Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Shamir Sheikkariem
el 25 de Sept. de 2019
Respondida: Naveen Venkata Krishnan
el 10 de Oct. de 2019
Optimization running.
Error running optimization.
Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
What does this mean
2 comentarios
Alan Weiss
el 25 de Sept. de 2019
Please show us the function call that led to this error message.
Alan Weiss
MATLAB mathematical toolbox documentation
Respuestas (1)
Naveen Venkata Krishnan
el 10 de Oct. de 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 comentarios
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!