how to use abs as a constratint of fmincon
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to solve optimization problem
the function, fmincon, I want to make a constraint as a form of 'abs'

is there any way ??
0 commentaires
Réponses (1)
Matt J
le 12 Sep 2013
Instead of
abs(c(x))<=D
You can reformulate as two constraints
c(x)-D<=0
-c(x)-D<=0
0 commentaires
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!