fmincon with external multi-input functions
이전 댓글 표시
Can I use an external function with fmincon that has multiple inpt variables. All the examples I have seen seem to imply that the function is only dependent on x, but I would like to pass other parameters inti the function as well.
답변 (1개)
Steven Lord
2019년 9월 23일
0 개 추천
Use one of the techniques described on this documentation page. While that page specifically mentions fzero and integral, the techniques it describes also work for the objective and/or constraint functions you pass into fmincon.
카테고리
도움말 센터 및 File Exchange에서 Surrogate Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!