- If the member is feasible, the penalty function is the fitness function.
- If the member is infeasible, the penalty function is the maximum fitness function among feasible members of the population, plus a sum of the constraint violations of the (infeasible) point.
why ga generates different fval and penalty values
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello everyone, I have a question when I check the result after i using GA on my integer (binary) minimization problem that the generated fval and penalty value are not the same. Even when i tried to type like myfun(x), the result of that differs from fval and penalty value.
Also, for the penalty value, I am not sure why GA generates that because all my constraints are linear.
Thank you!
댓글 수: 0
답변 (1개)
Alan Weiss
2019년 8월 22일
The penalty function value of a member of a population is:
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Quadratic Programming and Cone Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!