GlobalSearch does not keep the best solution

5 次查看(过去 30 天)
Hi All!
I have a cmplex, non-convex problem with ~30 parameters. I have been using GlobalSearch for a long while now, but since my model got more complex, I have been expereincing this issue, where I can see that GlobalSearch finds some good solutions (let's say they result in ~15% error), but when it keeps running, it doesn't necessarily return those as the local minima. Instead it return solutions with worst results such as 25% error. Any ideas what might be wrong?

采纳的回答

Shashank Gupta
Shashank Gupta 2021-2-4
Hi ghazal,
The optimization becomes very difficult with increase in the dimension or parameter. I am not sure what exactly can be the reason of failure of global search since I don't the what optimization problem you are tackling. Although there are some resources available for you to refer. Check out this link, it will give you the reference on what solver we should prefer depending on optimization problem. Also there is one documentation available to tell us whether we reach the optimal solution or not, check out this link for the same.
I hope this helps.
Cheers.
  1 个评论
Walter Roberson
Walter Roberson 2021-2-4
There are some situations where fmincon might not return the lowest value for some algorithms. I have not checked to see if the bug/limitation was fixed yet.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by