Professional Documents
Culture Documents
TSP DG Tabu 1
TSP DG Tabu 1
Problem
Ramadan Abdel-Hamed Zean El-Dean
Operations Research Department, ISSR,
Cairo University
Abstract
1. Introduction
Traveling Purchaser Problem (TPP) is
defined as follows [14]. Let us consider a
source node (depot) v 0 , a set of markets
kj
v j M k
v 0 must
to buy a
K. Each
a subset
DSS-24
ki
dk forall pk K
(4)
vi Mk
2. Problem formulation
The TPP is defined and formulated as an
integer linear programming problem [ 3, 9, 10]
as follows:
For S V ,define
xe {0,1}
for all e E
(6)
yi {0,1}
for all vi M
(7)
y0 1
E (S ) {[vi , v j ] E : vi , v j S , i j}
zki 0
(8)
forall pk K andall vi Mk
(9)
and
( S ) {[vi , v j ] E : vi S , v j V \ S}
.
Also define
kj
v j M k \{v i }
dk },
K * { pk K :
ki
d k }. the set of
vi M k
DSS-25
DSS-26
of F and the
F ( x1 ) F *
x 1 x * Tabu list TL is set empty.
n
2. Iterative search: Let x denote the
in
V( x ),
exploring
the
F is initially set to
5. Computational analysis
To evaluate the performance of our
proposed approach for solving the TPP, we
introduce two counter examples; the first one
with five markets and a single product, and the
other with 9 markets and five products. Our
proposed approach is implemented in visual
basic 6.
Example 1:
This is a simple problem consists of 5
markets and the source node v0. A single
product is available at the 5 markets with
different quantities and prices. Let the travel
cost ce be as follows:
F(x) F and x x .
Let x x
n 1
.
*
n 1
1
2
3
4
5
6
DSS-27
1
2
3
-
2
2
4
-
3
3
5
-
4
5
4
6
5
5
7
6
6
7
-
2
5
3
6
4
5
5
7
6
4
12
10
1
2
3
4
5
6
7
8
9
10
1
2
3
5
8
11
2
2
5
4
10
10
3
3
5
8
5
12
4
5
4
8
13
6
3
4
8
-
4
5
6
-
5
3
7
1
-
6
8
7
3
5
-
7
6
1
3
9
8
3
3
7
-
9
5
7
2
10
9
2
-
5
8
10
5
13
7
6
11
10
12
6
7
-
2
2
5
-
The solution:
The table of the shortest path between every
two nodes:
1
2
3
4
5
6
1
2
4
3
-
2
5
8
40
4
5
10
50
5
6
7
42
10
50
4
54
13
55
8
8
Product (k)
1
2
3
4
5
Units (dk)
30
30
30
20
20
Table 8: The required amounts of each
product for Example 2
The solution:
The table of the shortest path between every
two nodes:
1
2
3
4
5
6
7
8
9
10
Example 2:
This is a simple problem consists of 9
markets and the source node v0. Five products
are available at some of the markets with
different quantities and prices. Let the travel
cost ce be as follows:
DSS-28
1
2
4
7
3
10
4
7
14
13
2
2
6
5
5
12
6
9
16
15
3
4
6
11
7
8
8
11
13
15
4
7
5
11
7
12
6
9
16
15
5
3
5
7
7
7
1
4
11
10
6
10
12
8
12
7
6
3
5
7
7
4
6
8
6
1
6
3
10
9
8
7
9
11
9
4
3
3
7
9
9
14
16
13
16
11
5
10
7
2
10
13
15
15
15
10
7
9
9
2
-
10
10
20
10
11
47
56
45
59
23
10
27
78
85
References
13
10
10
20
10
15
47
39
28
53
28
76
85
65
6. Conclusions:
We have presented the travelling
purchaser problem (TPP), which is classified
as NP-Hard and can be seen as a generalization
of the Traveling Salesman Problem (TSP). A
Tabu Search based approach is developed, and
coded in Visual basic 6. The proposed
approach is implemented and tested on several
problems. Two counter examples are
DSS-29
DSS-30