Minimizing the Maximum Value of an Array
6 ビュー (過去 30 日間)
古いコメントを表示
Hi All,
I am working on a optimization problem. I am trying minimize the highest value of the sum of two arrays P and X. P is a vector filled with data. X is the variables to be added to the elements of P and the elements of X can be positive or negative. I am using X to "shave the peaks and fill the valleys", but there is a set of specific boundaries and conditions to be met which prevents X from simply adding and subtracting off the average of P. I can't seem to find a way to solve this without using a max() function and because it is non-algebraic it causes many problems in the regular optimization algorithms. This is a problem with local/global minimum problems. Has anyone had experience with minimizing the peaks and extrema?
0 件のコメント
回答 (1 件)
Laurens Bakker
2012 年 2 月 27 日
This seems like a general constrained optimisation function. Since you have already formulated your objective function, you could just use fmincon(), from the Optimisation Toolbox. Take a look at http://www.mathworks.nl/help/toolbox/optim/ug/fmincon.html to see if it will fit your needs.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with Optimization Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!