[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] set intersection syntax problem
From: |
Benson |
Subject: |
[Help-glpk] set intersection syntax problem |
Date: |
Mon, 3 Mar 2008 17:31:35 +0300 |
Hello all,
I have a little syntax problem:
set Sl{l in L} within S;
set Sg{g in G} within S;
set Sr{r in R} within S;
set Sglr{g in G, l in L, r in R} within S;
Sglr{g in G, l in L, r in R} := Sg[g] inter Sl[l] inter Sr[r];
# glpsol complains that there are problems for the last two lines, how do I
correct this please?
Regards,
BH
Hello all,
I have a little syntax problem:
set Sl{l in L} within S;
set Sg{g in G} within S;
set Sr{r in R} within S;
set Sglr{g in G, l in L, r in R} within S;
Sglr{g in G, l in L, r in R} := Sg[g] inter Sl[l] inter Sr[r];
# glpsol complains that there are problems for the last two lines, how do I correct this please?
Regards,
BH
- [Help-glpk] set intersection syntax problem,
Benson <=