[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: [Help-glpk] Tricky constraint formulation]
From: |
Andrew Makhorin |
Subject: |
[Fwd: [Help-glpk] Tricky constraint formulation] |
Date: |
Wed, 09 Mar 2011 18:40:35 +0300 |
-------- Forwarded Message --------
From: teitifeiti <address@hidden>
To: address@hidden
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fwd: [Help-glpk] Tricky constraint formulation],
Andrew Makhorin <=