optimisation agrithm
Afficher commentaires plus anciens
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
Réponses (2)
Fangjun Jiang
le 23 Sep 2011
0 votes
doc fmincon
Walter Roberson
le 23 Sep 2011
0 votes
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.
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!