필터 지우기
필터 지우기

Failure in user-supplied fitness function evaluation

조회 수: 1 (최근 30일)
Hamid
Hamid 2014년 8월 5일
편집: Hamid 2014년 8월 13일
Calculating

채택된 답변

Alan Weiss
Alan Weiss 2014년 8월 5일
Is penalty2 a function on your MATLAB path? Find out by issuing the command
which -all penalty2
Alan Weiss
MATLAB mathematical toolbox documentation
  댓글 수: 2
Alan Weiss
Alan Weiss 2014년 8월 5일
I hope that you realize that this is the answer to your question. MATLAB is not finding your fitness function. Put it on your path, or change directories to wherever it is.
Alan Weiss
MATLAB mathematical toolbox documentation
Alan Weiss
Alan Weiss 2014년 8월 5일
Please copy the entire MATLAB output and show us. And perhaps show us how you called ga (I mean something like x = ga(@penalty2,4,...))
Alan Weiss
MATLAB mathematical toolbox documentation

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by