How to find global minima using fmincon function and non-linear constraint?

21 views (last 30 days)
Hi,
I am using fmincon to optimise my parameters while using a non-linear constraint function. fmincon only provides a local minima but I am looking for a global minima.I checked the documentation on GlobalSearch and MultiStart, but none of them seem to support a non-linear constraint.
Is there any other alternative to these functions?
Any suggestions to search for a global minima using fmincon?
Thanks.

Accepted Answer

Alan Weiss
Alan Weiss on 29 Jan 2021
GlobalSearch and MultiStart use fmincon as the local solver, so they support whatever comstraints fmincon supports, meaning basically anything but integer or nonsmooth. There are plenty of ways to use fmincon to try to search for a global minimum, but NONE are guaranteed to find one in general. See the recent question https://www.mathworks.com/matlabcentral/answers/728568-how-to-know-if-a-minimum-found-with-global-search-is-actually-the-global-minimum?s_tid=srchtitle
Alan Weiss
MATLAB mathematical toolbox documentation
  1 Comment
Abinav
Abinav on 29 Jan 2021
It works indeed!
The feature was not mentioned as an option in the documentation nor was it mentioned in the example. So, I thought fmincon has limited functionality inside GlobalSearch.
Thanks!

Sign in to comment.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!