Borrar filtros
Borrar filtros

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

6 visualizaciones (últimos 30 días)
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

Respuestas (0)


Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.


Community Treasure Hunt

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

Start Hunting!

Translated by