yes. it is. so, is that the reason?

I try to solve Min Bandwidth problem.

min B
s.t. B>= Tu-Tv, (u,v) in E.
     sum{u in V} Tu = n(n+1)/2
     sum{u in S} Tu = |S|(|S|+1)/2, S contained by V, S is not empty.

I don't know how to handle S, a subset of V.

can anybody help?



On 3/20/07, Michael Hennebry <[EMAIL PROTECTED]> wrote:

On Tue, 20 Mar 2007, Shan Gao wrote:

> I am trying to use prod to calculate the production of numbers stored in
an
> array x.
>
> I wrote: prod {i in 1..5} x[i];    // same format with sum
>
> but I was told  "integrand following prod{...} has invalid type".

By any chance, is x an array of variables?

--
Mike   [EMAIL PROTECTED]
"Finally, mount the partition, not the virgin."  --  Charles Curley


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to