Optimization running. Error running optimization. Undefined function 'Cost_minimization_function' for input arguments of type 'double'.
조회 수: 7 (최근 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!