optimisation agrithm
显示 更早的评论
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
回答(2 个)
Walter Roberson
2011-9-23
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!