[Top][All Lists]

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

Re: [Help-glpk] (no subject)

From: Andrew Makhorin
Subject: Re: [Help-glpk] (no subject)
Date: Wed, 19 Jun 2013 02:35:17 +0400

> I am trying to put a condition in an index of a summation:
> minimize z: sum{i in I: i < 2, j in J[i], k in K[i,j], t in T} x[i,j,k,t];

Your syntax is incorrect. Should write:

minimize z: sum{i in I, j in J[i], k in K[i,j], t in T: i < 2}

reply via email to

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