Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Condition between variable fmincon
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Matt J
il 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?
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!