Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Condition between variable fmincon

1 visualización (últimos 30 días)
wiem abd
wiem abd el 31 de Oct. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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 comentarios
Matt J
Matt J el 1 de Nov. de 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 el 3 de Nov. de 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.

Respuestas (0)

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by