can genetic algorithm optimizer be used with nonlinear constraint as a simulation function?
조회 수: 1 (최근 30일)
이전 댓글 표시
Min objfunction(x) subject to: C(x)<=0 where C(x) is a matlab simulation file
댓글 수: 0
채택된 답변
Walter Roberson
2017년 3월 6일
댓글 수: 6
Walter Roberson
2017년 3월 8일
If you need integer constraints along with nonlinear constraints, then you need to use a work-around. Do not tell it there are integer constraints: instead provide your own custom population function, mutation function, and cross-over function, all of which "just happen" never to emit a population member that would violate your integer constraints.
추가 답변 (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!