How to add variable constraints to the Nelder Mead simplex

7 ビュー (過去 30 日間)
joze
joze 2012 年 6 月 12 日
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 件)

カテゴリ

Help Center および File ExchangeQuadratic Programming and Cone Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by