Info
This question is closed. Reopen it to edit or answer.
Condition between variable fmincon
1 view (last 30 days)
Show older comments
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 Comments
Matt J
on 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?
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!