Hello,
I'm trying to formulate the following small problem by linear constraints , could someone help me to do it?
if (A[t'] = 0) then " Z[t,t'] =0 "
if (A[t'] = 1) then " Z[t,t'] = W[t] / sum {i in s{t'}: P[s] * R[s] } " in this case the sum is never 0 because A[t'] != 0
R[s] is a parameter
W[t] is a real variable
P[s] and A[t'] are boolean variables
Thank you very much
Best
regards