optimisation agrithm
Mostrar comentarios más antiguos
Hi, everyone
Hope you are well and thanks for your attention. Recently I frequently met a problem which might look stupid but I really want get some professional suggestion from Matlab user centre.
The problem looks like this:
There is an object function which can be denote like f(a,b,c,d,...), a,b,c,d... are variables within known range. I need to find out on which condition f reaches its maximum or minimum.
My current agrithm is to change every variable a little bit within their ranges and compare the object function. However, in my case, there are 300 variables in total which makes my life messy. So, I am wondering if there is any existed arigthm to do that or at least an easier way ?
All the best Dongsheng
Respuestas (2)
Fangjun Jiang
el 23 de Sept. de 2011
0 votos
doc fmincon
Walter Roberson
el 23 de Sept. de 2011
0 votos
With 300 variables, you are almost certain to have many many many local maxima and minima. fmincon() as suggested by Fangjun is only a local minimizer.
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!