fmincon with and without parallel computing yields different results
回答(1 个)
0 个投票
6 个评论
It looks like your problem has just one control variable, man_var, and a lower bound of 9 and an upper bound of 14. Have you tried plotting the objective and max of the nonlinear constraints over this region, even with a sparse set of points?
You would undoubtedly benefit from using the technique in Objective and Nonlinear Constraints in the Same Function. And you might want to set the finite differences to larger than default; see Optimizing a Simulation or ODE.
As for your problem running in parallel, I don't understand it any better than before, sorry. Something is going on with your function, but I don't know what.
Alan Weiss
MATLAB mathematical toolbox documentation
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!