Optimization running. Error running optimization. Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
2 ビュー (過去 30 日間)
古いコメントを表示
Optimization running.
Error running optimization.
Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
What does this mean
2 件のコメント
Alan Weiss
2019 年 9 月 25 日
Please show us the function call that led to this error message.
Alan Weiss
MATLAB mathematical toolbox documentation
回答 (1 件)
Naveen Venkata Krishnan
2019 年 10 月 10 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Genetic Algorithm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!