hello
I have this situation in GAMS:
1 sets
2
3 i A B C quarries /13/
4 j number of factory /14/ ;
5
6 parameters
7
8 amount(j) the amount of iron that can be processed in a day in factory
9 /
10 1 40
11 2 60
12 3 20
13 4 80
14 /
15
16 w(i) daily amount of iron obtained from the quarries
17 /
18 1 100
19 2 40
20 3 60
21 / ;
22
23 table c(i,j) cost of transportation
24
25 1 2 3 4
26 1 7 8 7 12
27 2 8 7 9 13
28 3 10 6 7 12
29 ;
30
31 variable
32 z
33 x(i,j);
34
35 Positive variable
36 x;
37
38 Equations
39 Obj
40 Cons1(j)
41 Cons2(i);
42
43 Obj… z=e=sum((i,j), c(i,j)*x(i,j));
44 Cons1(j)… sum(i, x(i,j)) =e= w(i);
**** $149
**** 149 Uncontrolled set entered as constant
45 Cons2(i)… sum(j, x(i,j)) =e= amount(j);
**** $149
**** 149 Uncontrolled set entered as constant
I searched,but I did not find solution. How can I fix it? and Can you fix it?