fmincon: Is it possible to set a bound for feval?

3 vues (au cours des 30 derniers jours)
Jochen Schuettler
Jochen Schuettler le 8 Mar 2013
I have a problem that I run into local minima early on. This will happen all over search space. I don't know more meaningful bounds and equalities for x than I already use. But I know feval should get near to 0 with the correct solution, while it settles at power of 10. Can I set up an upper bound for feval somehow? Should I use another solver?
  1 commentaire
Walter Roberson
Walter Roberson le 8 Mar 2013
Are you sure you mean "feval" and not "fmincon" ?

Connectez-vous pour commenter.

Réponses (1)

Leerrune
Leerrune le 8 Mar 2013
Modifié(e) : Leerrune le 8 Mar 2013
"feval" evaluates the function which is given. Bounds can be defined only if the given function allows. In your case "fmincon".
try "fmincon" with multiple random init. states at first. It helps in most cases. Otherwise try "pattersearch" even "Gentic Algorithm" .

Catégories

En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by