Optimization gives only small changes in each step, Why and how to solve it?
1 回表示 (過去 30 日間)
古いコメントを表示
I am using Optimization toolbox optimset to solve for a vector (x1 x2 x3). In each step, the minimization yields a small change around the initial input. After the algorithm is finished running, the final output is still very close to the initial guess and far from the real solution whatever the initial guess is. Why does this happen? How can I resolve this problem?
0 件のコメント
採用された回答
Grzegorz Knor
2011 年 11 月 26 日
What is the objective function?
Maybe your starting points are located far from the minimum and the function is flat.
Please write more details.
Which function do you use to optimization?
2 件のコメント
Grzegorz Knor
2011 年 11 月 28 日
Indeed it sounds very complicated.
I suggest you to browse Global Optimization Toolbox User’s Guide:
http://www.mathworks.com/help/pdf_doc/gads/gads_tb.pdf
Perhaps it will help you to select the appropriate method for your problem.
その他の回答 (1 件)
Michael
2011 年 11 月 28 日
Which MATLAB function are you using? Certain ones allow you to input parameters that relate to how far you anticipate the minimum may be from the starting point, (eg. lsqcurvefit using a LMF algorithm) and the default may be set too small for your particular parameter space.
2 件のコメント
Walter Roberson
2011 年 11 月 28 日
Kun, Michael meant "Which MATLAB minimization function are you using?"
Walter Roberson
2011 年 11 月 30 日
Kun, the question is: are you using fzero(), fsolve(), fminbnd(), fgoalattain(), bintprog() or so on? Which minimizer routine are you calling to find the minimum of your function?
Please do not repeat that "it is a very complicated function" comment from above. We read that already, and it is not important at the moment. We want to know which routine in the Optimization Toolbox you are calling. You mentioned optimset earlier, but that is the name of the routine to construct an "options" structure to be used by the minimizer; we need to know which routine you are passing the optimset to.
参考
カテゴリ
Help Center および File Exchange で Nonlinear Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!