Originally posted by: DieterVangheel
Dear,
In our model we have the following two constraints:
For all j and k: ∑_(i=1) till 457 Xi,j,k ≤ Bj * Yj,k
For all j and k: ∑_(i=458) till 895 Xi,j,k ≤ Bj * (1-Yj,k)
We have written this in cplex as follow. Is this correct (we think it will not work like this in cplex :s )?
forall(j in kamers)
forall( k in dagen)
sum (i in personen from 1 till 457)x[i][j][k]<=b[j]*y[j][k]
forall(j in kamers)
forall( k in dagen)
sum(i in personen from 457 till 895)x[i][j][k]<=b[j]*(1-y[j][k])
#CPLEXOptimizers#DecisionOptimization