I would like your tips for an if-then constraint.
In particular, I have the following variables:
R, binary variable
P, continuous variable
Y, continuous variable
I have the following parameters:
A
B
The constraints I would like to write are the following:
1) if R=1 then P = A*Y
2) if R=0 then P = B*Y
I would like to know if it is possible to have a linear formulation without using indicator constraints.
Thank you,
Best answer by mohansx
View original