setup fmincon with nonlinear constraint condition
2 次查看(过去 30 天)
显示 更早的评论
I am doing an optimisation job using fmincon with nonlinear constraint condition. I have tried several different input dataset, but always got message indicating local minimum possible. I then configured fmincon options with more stringent stopping criteria. Surely, the computation took longer time and output different result comparing with previous fmincon setup. However, it still suggests local minimum possible.
I've tried all three fmincon optimisation methods. It turns out they mostly output quite different results. And, the active-set method is pretty slow.
Question: 1. Any tip to setup fmincon in order to get more or less convergent results.
2. Any tip to speedup the computation? Actually my problem is not that high dimension (10), and input data is not that large (around 10k).
Thank you very much for your suggestions.
Mono
0 个评论
采纳的回答
Matt J
2015-1-16
编辑:Matt J
2015-1-16
A local minimum is what fmincon is looking for. The message means it thinks it succeeded.
If you don't like the solution it found, it is possible that you need a better initial guess. That's a matter of art, I'm afraid.
4 个评论
Matt J
2015-1-16
If you post a more detailed description of the problem, the community may also be able to recommend strategies for generating the initial guess. These strategies are always problem-specific, e.g., by approximating your true problem with something simpler and solving that, but maybe some custom advice can be given.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Oceanography and Hydrology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!