|
| From: | Andrew Makhorin |
| Subject: | Re: [Help-glpk] Set with variable bounds |
| Date: | Mon, 21 Apr 2008 15:20:36 +0400 |
> Can I do something like this ?
> Variables : d, x[i]
> Constants : MIN, MAX
> Set : I with variable card 1..d
> MIN <= d <= MAX
> sum{i in 1..d} x[i]>= 5
No, because d is a variable. Probably you should try formulating your
problem as mip.
| [Prev in Thread] | Current Thread | [Next in Thread] |