Can I use the minimax optimization algorithm for multiple variables?
4 次查看(过去 30 天)
显示 更早的评论
In my problem, I set 3 separate threshold values which are then used to group my dataset in four sub-groups. Then I calculate mean values or sums in specific variables of the subgroups.
Can I use the minimax algorithm to find the optimized (minimum) 3 thresholds, that will give me the maximum values of the specific sums and means that I am looking for?
0 个评论
回答(1 个)
John D'Errico
2016-12-7
编辑:John D'Errico
2016-12-7
If your goal is to set thresholds which are then used to group your data into subgroups, the answer is no. Sorry. Why?
Think about it. Change the threshold just by a tiny amount. As long as it does not change what subgroups the data falls in, it changes nothing about your objective. So your function becomes a piecewise constant function of the parameters, thus discontinuous, non-differentiable, etc. No optimizer will handle this well, certainly not one that assumes differentiability.
So, it is not a problem to have multiple unknowns for that optimizer. What you cannot have is a discontinuous function. You also cannot solve for multiple VARIABLES. Group all of your unknowns into ONE vector of unknowns.
另请参阅
类别
在 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!