Mutual exclusive variables in a LP model
Posted: Thu Apr 22, 2021 7:46 pm
Hi,
Hi have a battery operating in several markets and I want to ensure that the model don't charge ( charge(i) ) and discharge ( discharge(i) ) at the same time.
I use the solution charge(i) * discharge(i) = 0. The problem is this is a NLP model.
How can I change this, in order to transform this mutual exclusive condition into a LP model.
I've tried same binary variables but without success
Thanks
Paulo
Hi have a battery operating in several markets and I want to ensure that the model don't charge ( charge(i) ) and discharge ( discharge(i) ) at the same time.
I use the solution charge(i) * discharge(i) = 0. The problem is this is a NLP model.
How can I change this, in order to transform this mutual exclusive condition into a LP model.
I've tried same binary variables but without success
Thanks
Paulo