Originally posted by: JDalal
"correction:
//(aggregated): sum_i{x_i,j,t} <= m* y_j for all j,t
it means that for given j= j', and t= t' from among all the x_ij't' only one variable can take 1, if y_j' is 1."
==============
I think it would be at most m from among all the x_ij't' can take 1, if y_j' is 1, since RHS is m * y_j, not y_j.
I am trying to illustrate a bit. Say, i=1,2,3; j=1,2; t=1,2;
so my constraints in aggregated setting should be:
for j=1,t=1: x_1,1,1 + x_2,1,1 + x_3,1,1 <= 3*y_1
for j=1,t=2: x_1,1,2 + x_2,1,2 + x_3,1,2 <= 3*y_1
for j=2,t=1: x_1,2,1 + x_2,2,1 + x_3,2,1 <= 3*y_2
for j=2,t=2: x_1,2,2 + x_2,2,2 + x_3,2,2 <= 3*y_2
But, is there anything wrong with my coding ?
#CPLEXOptimizers#DecisionOptimization