Originally posted by: EdKlotz
I don't understand your question. In terms of other constraints involving y[i][k][2], I see
// OU Constraints (inclure le transshipment)
forall(i in 2..n, k in Vehicles, t in 1..t)
sum(k in Vehicles)Appro[i][k][t]+Transship[i][t]-Picked[i][t] >= Born_Sup[i]*sum(k in Vehicles)y[i][k][t]-stock[i][t-1];
forall(i in 2..n, t in 1..t,k in Vehicles)
Appro[i][k][t]+Transship[i][t]-Picked[i][t]<=Born_Sup[i]*y[i][k][t];
Now, for t = 2, you also have
forall(i in 2..n, k in Vehicles)
Appro[i][k][2]==0;
So, it seems to me that the only way a particular y[i][k][2] gets forced to 1 is if Transship[i][2]-Picked[i][2] > 0.
But, for all other time periods, it certainly looks possible for y[i][k][t] to get forced to 1.
I'm still not clear on exactly what the unexpected result is.
#CPLEXOptimizers#DecisionOptimization