Re: [Help-glpk] Set with variable bounds

2008-04-21 Thread Andrew Makhorin
> 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. ___ Help

[Help-glpk] Set with variable bounds

2008-04-20 Thread eeeeeeeeeeee zzzzzzzzzzzz
Hello, 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 _ Découvrez les profils Messenger de vos amis ! http://home.services.spaces.