help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Set with variable bounds


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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]