trust-region reflective algorithm in lsqnonlin and fmincon: same behavior for "unconstrained" optimization"?
3 次查看(过去 30 天)
显示 更早的评论
Say I provide constraints to lsqnonlin and fmincon. For both, I will choose trust-region-reflective algorithm
Do both fmincon and lsqnonlin behave identical in case the constraints are not active (unconstrained optimization)?
By identical, I mean is the same variant of trust-region-reflective algorithm implemented in fmincon and lsqnonlin, or are they different?
0 个评论
采纳的回答
Matt J
2023-2-15
编辑:Matt J
2023-2-15
4 个评论
Matt J
2023-2-16
编辑:Matt J
2023-2-16
Interestingly, the three solutions differ only by a constant.
Because [1;1;1] is in the null space of A.
Would you consider the solution "FMINCON - ONLY GRADIENT" to be the worst of the three solutions?
They all achieve the same resnorm so how could it be worse than any of the others?
Which of the algorithm in fmincon resembles the trust-region-reflective algorithm most closely?
I don't think a comparison can be drawn. Inequality constraints are going to change the algorithm a lot.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!