Info

This question is closed. Reopen it to edit or answer.

Condition between variable fmincon

1 view (last 30 days)
wiem abd
wiem abd on 31 Oct 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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
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?
wiem abd
wiem abd on 3 Nov 2019
When no ressources are allocated (i.e. a(i)=0) then the offloading should not happen.
In the litterature, I found b<a which is not very accurate.

Answers (0)

This question is closed.

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!