Defining a stopping criterion for fmincon
조회 수: 4 (최근 30일)
이전 댓글 표시
I am looking at an optimisation problem with the following objective function:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/275026/image.png)
Here,
is some data and and
is a function which I want to find the values of X for which I is a minimum. Now I thought I would have to set the following:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/275027/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/275028/image.png)
options = optimset('TolFun',1e-3);
problem = createOptimProblem('fmincon','x0',X_old,'objective',fun,'lb',LB,'ub',UB,'options',options);
Is this the right thing to do?
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!