Is there any way to enhance the step of iteration of optimization with fmincon?

조회 수: 1 (최근 30일)
Hello. I am trying to do optimization by fmincon. My objection is to minimize the loss. However, when the optimization running, in every iteration the function decrement is so small. Therefore its taking too much time for optimization. Is there any way to enhance the step means decreases with big step? Thanks in advance.
  댓글 수: 2
Walter Roberson
Walter Roberson 2018년 2월 9일
Are analytic gradient and hessian available? If so then passing functions for those in can improve the performance.
Arifur Rahman
Arifur Rahman 2018년 2월 9일
No. The only I have objective value which I have to minimize and there are some lower and upper bounds.

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

답변 (1개)

Walter Roberson
Walter Roberson 2018년 2월 9일
According to https://www.mathworks.com/matlabcentral/answers/6694-controlling-stepsize-of-fmincon#answer_266363 you can adjust the FiniteDifferenceStepSize to make it larger, to effectively put a lower bound on the adaptive step size that fmincon uses.
I suspect you will find that it does not make much difference towards obtaining a global minima: what it might do is get it to give up earlier when it encounters a local minima.
If you have the Global Optimization toolbox, you should probably look at MultiStart

카테고리

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