Hi,
I have a precedence constraint in my model s.t.
" forall (j in tasks, k in pre[j])
sum (i in stations) x[i][j]*i >= sum (i in stations) x[i][k]*i "
Here, for example,
for j=1, pre(j) should be empty.
for j=2, pre(j)=1
for j=3, pre(j)=1
for j=4, pre(j)=[2, 3]
and so on.
How can I put this constraint, the ranges (j, k) and the subset pre(j) in my model?
Thanks in advance,
------------------------------
Ceyhan
------------------------------
#DecisionOptimization