Optimization wrongly converging to the boundary
Show older comments
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.
Answers (1)
Alan Weiss
on 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
Categories
Find more on Get Started with Optimization Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!