Fmincon and fminimax as optimisers
5 次查看(过去 30 天)
显示 更早的评论
How well does fmincon work was as an optimiser for a bounded function with no inequality constraints compared to the fminimax. And why would one be better than the other.
0 个评论
采纳的回答
Walter Roberson
2020-4-29
fminimax() is for objective functions that return non-scalars and you want to minimize the maximum of the non-scalar values returned.
fmincon() can only handle functions that return scalar values.
You might think of using @(x) max(YourNonScalarFunction(x)) with fmincon, but max() is not a continuous function, and fmincon() is only designed for continuous functions.
For the case of a function that returns a scalar and has the needed continuity, fmincon() would be expected to be more efficient.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Nonlinear Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!