Reply-to: gamsworld@googlegroups.com
hi, please help me
i dont know what is the problem (Except for line 51)
1 sets
2 i anbar /12/
3 j moshtari /13/
4 l /j/
5 o,m,h gere /i,j/
6 k vasile naghlie /1*2/;
7
8 parameters
9 N tedad moshtari /3/
10 d(j) taghazaye moshtari (j)
11 / 1 10,2 20,3 30/
12 Q(k) zarfiat vasile naghlie (k)
13 / 1 15,2 25/
14 V(i) max khoruji az tashil (i)
15 / 1 20,2 20/
16 T(k) max zaman
17 / 1 10,2 35/;
18
19 table t1(j,k) “zaman eraee khedmat-minute”
20 1 2
21 1 5 4
22 2 6 5
23 3 8 3;
24
25 table t2(i,j,k) "transport time "
26 1.1 1.2 2.1 2.2 3.1 3.2
27 1 8 9 12 10 9 6
28 2 15 8 10 8 11 9;
29
30 variables
31 x(i,j,k)
32 y(i)
33 z(i,j)
34 z
35 U(l,k);
36
37 binary variables x(i,j,k), y(i), z(i,j), z behine;
38 positive variables U(l,k);
39
40 equations
41 hadaf “hazine”
42 eq1(j)
43 eq2(k)
44 eq3(l,j,k)
45 eq4(k,o)
46 eq5(k)
47 eq6(i,j,k)
48 eq7(k)
49 eq8(i);
50
51 hadaf… z=e= ;
**** $148,119
52 eq1(j)… sum(k, sum(o, x(o,j,k)))=e=1;
**** $171
53 eq2(k)… sum(j, d(j)) * sum(o, x(o,j,k))=l=Q(k);
**** $171,149
54 eq3(l,j,k)… U(l,k) - U(j,k) + (N * x(l,j,k))=l= N - 1;
**** $171 $171
55 eq4(k,o)… sum(m, x(o,m,k)) - sum(m, x(m,o,k))=e=0;
**** $171,171 $171,171
56 eq5(k)… sum(i, sum(j, x(i,j,k)))=l=1;
57 eq6(i,j,k)… -z(i,j)+sum(l, x(i,l,k)+x(l,j,k))=l=T(k);
**** $171 $171
58 eq7(k)… sum(i, t1(i,k)) * sum(j, x(i,j,k)) + sum(i ,sum(j, t2(i,j,k)*x(i,
**** $171 $149
j,k)))=l=T(k);
59 eq8(i)… sum(j, d(j)*z(i,j))=l=V(i)*y(i);
thanks
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.