Trying to set up a minimum value to 'objective function value' using fmincon on Optimization Toolbox

조회 수: 1 (최근 30일)
Hello there,
I'm starting to learn about MATLAB optimization methods.
I'm trying the Optimization Toolbox to minimize a predefined fuction using 'fmincon'.
I understand that the solver will minimize my function value as much as possible, taking into consideration my constrains.
But, is there any way to set up a minimum value to the 'objective function value'?
As you can see on the attached file, I'm trying to stop the iterations at value 0.01.
Thanks in advance.
-Vinicius

채택된 답변

Walter Roberson
Walter Roberson 2017년 3월 27일
If you are using sqp or sqp legacy or active set, then you can specify an ObjectiveLimit option.
https://www.mathworks.com/help/optim/ug/fmincon.html#inputarg_options
  댓글 수: 1
Andrea Longobardi
Andrea Longobardi 2019년 5월 24일
편집: Andrea Longobardi 2019년 5월 24일
And what about other optimization methods? Is there a way to specify it for e.g. pattern search or any other global optimization method? Thank you in advance for your answer!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by