How can I perform an optimization with constraints that are interdependent?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Joel Marchand
le 25 Mar 2016
Commenté : Joel Marchand
le 28 Mar 2016
I have a need to perform an optimization (using the Global Optimization Toolbox) where the optimization parameters are interdependent. One parameter p may vary in the interval (0, v] where v is some user defined max value. The second parameter s may vary in the interval [0, p]. s may vary up to v but only if it is less than p. How would I apply this type of constraint when using the Global Optimization Toolbox?
Using MATLAB 2015b on Windows 7 Professional
0 commentaires
Réponse acceptée
Walter Roberson
le 25 Mar 2016
[0 v] can be done through lower bound 0, upper bound v. Use that for both parameters. Then s in 0 to p can be done as a linear constraint that 1 * s + (-1) * p <= 0 . If you need a strict inequality then make the upper limit -eps(realmin) as that is the least-negative representable negative number.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Nonlinear Optimization 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!