subject to constraint { k in A }:
c[k,end] = c0[k];
where A is a set, c0 is a vector of parameters and c is vector of variables and " Var c {A,B}; "
Also my set B is like B = { 1...10} so I am wondering if there is any way to have the constraint like this :
subject to constraint { k in A , j in B : j = max{ l in B} }:
c[k,j] = c0[k];
I would really appreciate if you can answer my questions.
Thanks,
Mahraz