> 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-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to