-------- Forwarded Message --------
From: teitifeiti <[email protected]>
To: [email protected]
Subject: [Help-glpk] Tricky constraint formulation
Date: Wed, 9 Mar 2011 06:30:33 -0800 (PST)
Hello everyone.
I have a problem in formulating a constraint. The constraint is:
C[r,i] - C[r,k] + P*D[i,k] >= T[r,i] where (1 <= r <= M ; 1 <= i < k
<= N);
So what I tried first was:
s.t. constraint{r in 1..R,i 1..I,k in 1..I}
But that constraint holds for all k < i, which I don't want it to do.
Does anyone have a cool solution to my problem??
Respectfully, TeitiFeiti
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk