> How I can write this constraint in MathProg/AMPL?,

> (Mathematical form)
> sum(j=1 to t) sum(i=1 to I) b_ik * x_ij <= sum(j=1 to t) s_kj,
> t = 1,2,...,J; k = 1,2,...,K).

s.t. foo{t in 1..J, k in 1..K}:
sum{j in 1..t, i in 1..I} b[i,k] * x[i,j] <= sum{j in 1..t} s[k,j];

> The problem is to change the index for the next constraint for to obtain
> the "joint constraints". I probe with "FOR", but this is not permitted
> for the constraint. 

What is "joint constraints" ?



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to