How can I come to know that the Constraints are satisfied in Pattern Search algorithm?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi I am using Patternsearch algorithm to find minimum value of objective function. Pattern Search algorithm terminates when number of generations exceeds. How can I come to know that the Constraints are satisfied?
댓글 수: 0
채택된 답변
Walter Roberson
2018년 2월 20일
You can set the options to display information for each iteration. Or you can use the four-output variation and look at the output structure for maxconstraint
댓글 수: 4
Walter Roberson
2018년 2월 21일
I would be more likely to loop doing patternsearch with a limited number of iterations but different x0 vectors, hoping to find locations where the constraints are satisfied. This is basically the same technique used by multiStart() but unfortunately multiStart does not appear to support patternsearch.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Direct Search에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!