Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Condition between variable fmincon

3 vues (au cours des 30 derniers jours)
wiem abd
wiem abd le 31 Oct 2019
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaires
Matt J
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?
wiem abd
wiem abd le 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.

Réponses (0)

Cette question est clôturée.

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by