Bounds on objective function and dependent state with FMINCON
Afficher commentaires plus anciens
I'm minimizing the function
fun = f(x)
with FMINCON. As the documentation shows, it's easy to apply bounds on x. So let's say:
min f(x)
0 <= x <= 1
But fun as well as a variable y which is dependent of x are bounded. So what I'd like to implement is:
min f(x)
0 <= x <= 1
fun_min <= fun <= fun_max
y_min <= y <= y_max
The dependency of x and y prohibits me from using y as a second optimization variable. What I'm looking for is "minimize fun = f(x) under consideration of the bounds b=[fun_min, fun_max, y_min, y_max]" Any ideas? Thanks for your help
1 commentaire
Walter Roberson
le 9 Juin 2018
Do we understand correctly that you want to find the minimum of f(x), but that the same time you want to impose a bound on what the minimum can be? If you know it can be the minimum, then why bother searching for the minimum?
Réponse acceptée
Plus de réponses (1)
Jacob Mannhardt
le 10 Juin 2018
0 votes
Catégories
En savoir plus sur Controller Creation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!