Optimization wrongly converging to the boundary
Afficher commentaires plus anciens
I have a highly non-linear objective function with bounds that I am trying to optimize using 2 design variables. No matter which optimizer I use, PSO or fmincon, it seems to always converge to the upper bound of one of the variables. I am positive it is not correct because I have test results of the problem which was manually solved. The design space is convex, with the minimum well away from the boundaries.
Réponses (1)
Alan Weiss
le 20 Nov 2018
1 vote
You have given no specifics, so my answer is completely generic. Solvers converge to local optima, not necessarily global optima. See Local vs. Global Optima for definitions and suggestions.
If you want more specific advice, give more specific information, such as the objective function you have, options used, constraints, initial point or points tried, and your function call.
Alan Weiss
MATLAB mathematical toolbox documentation
Catégories
En savoir plus sur Get Started with Optimization Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!