Azzera filtri
Azzera filtri

How can i use binary variables for if else condition in problem based MILP optimization problem

7 visualizzazioni (ultimi 30 giorni)
I have sent query before about inlcuding conditional statement in objective function, i understand that it is not possible.(
i have two costs to include in objective function depending on the sign of power (whether positive or not),
i have checked the example,, but i am confused how i can use yhe binary variable to indicate the two dfferent cost to use in objective function.
Please advice

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by