can we create other function to call the constraint function or create gradient of constraint function without input directly from other source in fmincon?
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear sir,
I have worked with fmincon when i try to input the gradient of constraint function it's okay when it was small problem but if in the big problem case, can we create other function to call the gradient of constraint function by no need to input it manually ?
thank you sir,i am sorry if make you difficult to understand with my poor english.
Best Regards!
댓글 수: 0
채택된 답변
Walter Roberson
2015년 5월 27일
When you use matlabFunction() to create your gradient from symbolic form, tell matlabFunction to write the result to a file. See Write Generated MATLAB Function to File
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!