How to add variable constraints to the Nelder Mead simplex
7 ビュー (過去 30 日間)
古いコメントを表示
EDIT: managed to do a bit myself, just the constraints left
Hi,
I am learning matlab for a little project I'm doing and I want to find the maximum of it using the Nelder Mead Simplex. i've found the algorithm on a random matlab forum and I'll post it on the bottom.
My function is one where there are 3 nonlinear elements and 4 linear elements. The 4 linear elements are estimated from the nonlinear via the matrix equation x=A\B so thats simple enough. What I require is for the algorithm to estimate the 3 nonlinears so the function is maximized.
The problem arizes when I want to implement constraints into the model, how do you do that?
If you need any further info just say,
Thanks guys, Peter
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Quadratic Programming and Cone Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!