fmincon with and without parallel computing yields different results
Réponses (1)
0 votes
6 commentaires
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
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!