fmincon does not converge to the best solution?
Show older comments
I have a question about fmincon. My optimization project is a 2-D problem.
I saved all the temporary function calls, and many temporary object values are better than the final solution, where all of these better variables are within the boundary.
The exitflag is 2. I have no idea why the final solution is not the best overall the function calls.
The setting for the 'options' are
options.FiniteDifferenceStepSize =1e-6;
options.FinDiffRelStep=1e-6;
Thank you so much.
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!