Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Condition between variable fmincon
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have an optimization problem of 2 variables a and b of lenght N both.
I want to add the following constraint with matrices:
if a=0 then b=0
Can you help me to do this?
4 commentaires
Matt J
le 1 Nov 2019
I agree with Alan. If your variables are continuous, it is peculiar to impose such a discontinuous constraint. What is the rationale behind it?
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!