SlideShare a Scribd company logo
1 of 11
Download to read offline
IDL - International Digital Library Of
Technology & Research
Volume 1, Issue 3, Mar 2017 Available at: www.dbpublications.org
International e-Journal For Technology And Research-2017
A Fixed Position Constraints in a
Travelling Salesman Problem (TSP) with
Multiple Job Facilities
Nazimuddin Ahmed1 and S. Das2
1
Assistant Professor, Department of Statistics, D.H.S.K. College, Dibrugarh-786001,
Assam, India, Email: mdnahmed@yahoo.com
2
Retd. Prof. Dibrugarh University, Dibrugarh-786004, Assam, India,
E mail: shiladas13@gmail.com
Abstract:
In this paper, we have considered
fixed position constraints in the usual
travelling salesman problem with
multiple job facilities at each station.
With fixed position(s) constraints one
means that the station(s) (cities or nodes)
are visited in such a way that a particular
station(s) is to be visited in a certain
specific step(s).
The problem can be described as
follows:
There are ‘N’ stations to be
visited and ‘M’ distinct jobs to be
performed by a salesman. The distance
between each pair of stations and
facilities for jobs at each station, are
known. The salesman starts from a
station (home station denoted as ‘A0’)
and returns back to it after completing all
the jobs on the basis of performing the
jobs as early as possible. The objective is
to find a tour of the salesman by using
the fixed position constraints such that
the total distance traveled is minimum
while completing all the ‘M’ jobs, on the
basis of first come first serve.
Key words:
Travelling Salesman Problem,
Fixed Position Constraints,
Lexicographic Search Approach and
Lower Bound.
1. Introduction:
The travelling salesman problem
is a kind of mathematical puzzle with a
long enough history [6, 7]. Many
solution procedures have been developed
such as [6, 9, 11, 12] for the travelling
salesman problem (TSP) which is stated
as follows:
Suppose a salesman wants to
visit a certain number of cities allotted to
him. He knows the distance (or cost or
time) of journey between every pair of
city ‘i’ and city ‘j’ denoted by ijc . The
problem is to select a route that starts
from a given home city, passes through
each and every city once and only once
and returns back to his starting city in the
2
shortest total distance. Here, we have
considered fixed position constraints in
the travelling salesman problem with
multiple job facilities at each station [8].
The problem can be described as
follows:
There is a set of stations
containing ‘N’ elements and a set of jobs
containing ‘M’ elements those are to be
performed by a salesman. The distance
between each pair of stations and
facilities for jobs at each station are
known. A salesman starts from a given
home station and returns to it after
completing all the jobs. The salesman in
his tour may or may not visit all the
stations and should not visit a station
more than once. The problem is to find a
tour of the salesman such that with fixed
position constraints the total distance
travelled by him is minimum, while
completing all the ‘M’ jobs. Thus, the
constraint of the problem is with fixed
position constraints which mean that the
station(s) (cities or nodes) are visited in
such a way that a particular station(s) is
to be visited in a certain specific step(s).
The importance of restricted
constraints like precedence constraints,
fixed position constraints and mixed
constraints etc. in a routing problem has
been very well discussed by Scrogg and
Tharp [17]. It occurs frequently in many
realistic situations. For example, a
salesman has a quota of products to sell
on a tour and he may want to visit the
better prospects early. An early supply to
a station may be made to the flood prone
areas than the other stations to avoid the
difficult situation it might fall in; a CEO
of a company may plan a tour and need
to be in a certain station on a particular
date, etc.
Here we have considered, a
problem of a matrix of order (1010)
with 20 jobs and solved the problem by
lexicographic search approach,
developed by Pandit [3, 4, 5, 13, 14].
Also we have given computational
results with N = 5, 10, 25, 100, 150 and
M = 6, 10, 20, 25, 40.
2. A brief review of literature:
The procedure for solving the
travelling salesman problem usually can
be divided into three basic parts- a
starting point, a solution generation
scheme and a termination rule. The
termination rule is such that, the iteration
is stopped if and only if, a tour is
optimal, and the method is exact. In
approximate methods the tour reached at
termination generally depends on the
starting point, so it is possible to produce
many final tours by using different
starting points. The best of these final
tours is then selected [1, 2].
The pioneers in solving the
problem were Dantzig, Fulkerson and
Johnson [7], Flood, M.M. [15], Crores,
G.A. [10], Little, Murthy, Sweeney and
Karel [17] and later on several
algorithms have been developed for the
solution of the usual travelling salesman
problem. These include dynamic
programming, integer programming,
branch and bound, tour-to-tour
approximations and the Gilmore-
Gomery method [16] and lexicographic
search.
3. Notation and statement of the
problem:
Let N Set of stations (nodes)
defined by  1210 ,,,,  NAAAAN  ; „
0A ‟ being the home station.
3
 MJJJK ,,, 21  , a set of
‘M’ jobs to be performed.
),( ji AAd Distance or cost
associated with the node pairs ),( ji AA
and )).1(,,2,1,0,(  Nji 
A salesman starts from station (
0A , say) and returns to it after
completing all the jobs. He completes all
the ‘M’ either by visiting all the ‘N’
stations or a subset of it and at each
station only subset of ‘M’ jobs can be
completed; also he should not visit a
station which is already visited. The
number ‘M’ and ‘N’ are positive integers
which are not necessarily equal. At home
station no job is available and the travel
distance from any station to itself is ∞,
i.e.,
),( ii AAd ; 
NAi  .
Moreover, the salesman has to
obey fixed position constraints involved
in the tour. With fixed position
constraints the objective is to find a tour
which completes all the ‘M’ jobs and
minimizes the total distance travelled.
The distance variables ),( ji AAx
may be 0 or 1 according as




otherwise.0,
station.thefromstationvisitssalesmantheif1,
),( ji AAx
Let us assume that the fixed
position constraints, considered here are
of the type: Station „x‟ is to be visited at
kth
step; k is any of n,,2,1  . Station
„y‟ is to be visited at lth
step; l is any of
n,,2,1  and k < l. etc.
We modify the cost (distance)
matrix utilizing the fixed position
constraints. We reduce the modified cost
matrix into an equivalent canonical
matrix with elements
jiijij dd   ;
where,
ij
j
i dmin and
)(min iij
i
j αdβ  .
The new matrix is non-negative,
with at least one zero in each row and
each column.
4. Mathematical formulation:
Mathematically, the problem may
be stated as
Minimize

i j
jiji AAxAAdZ ),(),(
; ))1(,,2,1,0,(  Nji 

i j
ijij xd
...
... ... (1)
(For simplicity we write ijji dAAd ),(
and ijji xAAx ),( )
subject to 1
1
1
0 


N
j
jx ,
1
1
1
0 


N
j
jx ... ...
... (2)
Since the salesman starts from a depot „
0A ‟ and goes back to it.
jkxx
jk
kj
ki
ik ,1,0  

... ... (3)
Since the salesman may or may not visit
all the stations.
When the salesman visits kth
station from
the ith
and visits jth
station from the kth
.0otherwise;1,1  
 jk
kj
ki
ik xx
The unwanted sub-tours are
eliminated by lexicographic search
procedure.
4
In addition to the mathematical
formulation the fixed position constraints
are:
Station(s) „x‟ and „y‟ are to be
visited at kth
step and lth
step,
respectively; k and l are any of
n,,2,1  and lk  .
5. Numerical illustration:
For illustration, we consider the
following example:
Suppose there are 10 stations
),,,,( 9210 AAAA  and 20 jobs
),,,( 2021 JJJ  ; each station contains
some job facilities, where an arbitrarily
chosen distance matrix with job facilities
at each station, is given in Table 1. Here
the distance and job matrix is symmetric;
but it is equally applicable to an
asymmetric matrix.
Table 1: Distance and job matrix
Jobs  Station 0A 1A 2A 3A 4A 5A 6A 7A 8A 9A
0A  6 1 2 3 7 2 14 9 9
111092 ,,, JJJJ 1A  17 4 2 12 8 20 13 11
145 , JJ 2A  9 1 18 16 12 16 18
17133 ,, JJJ 3A  7 16 6 11 13 2
20181195 ,,,, JJJJJ 4A  7 8 17 19 13
1543 ,, JJJ 5A  5 12 4 2
1991 ,, JJJ 6A  10 16 17
973 ,, JJJ 7A  10 11
1611963 ,,,, JJJJJ 8A  8
15128 ,, JJJ 9A 
Here, we consider the fixed
position relations as:
The stations 6A , 4A , 9A and
3A must be visited at the Step-1, Step-3,
Step-5 and Step-6 respectively.
6. Computational procedure:
6.1. Part-I: Formation of modified,
reduced cost matrix and alphabet
table(s):
Step 1: Modify the cost matrix
by assigning ijd for which the tour
between station „i‟ and station „j‟ is not
possible, following the fixed position
constraints.
Step 2: Reduce the modified cost
matrix into an equivalent canonical
matrix (reduced modified cost matrix)
(cf. Table 3) with elements
jiijij dd   ;
...
... ... (4)
where ij
j
i dmin and
)(min iij
i
j d  
This new matrix is non-negative
with at least one zero in each row and
each column (cf. Table 3),
i.e.
)constanta,(   

 ji
ji
ijij
ji
ijij xdxd
… (5)
the second part of the equation (5) can be
used as a bias of the matrix or in other
words this part is a fixed part for any
tour.
Step 3: Using the reduced cost
matrix, we list under column i,
))1(,,2,1,0(  Ni  the nodes
)}1(,,2,1,0{ N in order
)(
1
)()()(
1
)(
0 ,,,,,,, i
N
i
s
i
r
ii
JJJJJ  such that
sr  if ijsijr dd  . The ordering
2
),,,( 110 NJJJ  so obtained for a given
node i, is defined as the alphabetic order
for column i, the table thus formed
containing all the columns
)1(,,2,1,0 N , is called the alphabet
table (cf. Table 4).
Step 4: Construct another table
using the 1st
row of reduced cost matrix,
arranging the nodes
)0(
iJ ,
))1(,,2,1,0(  Ni  such that sr  if
00 sr dd  . The ordering thus obtained
gives another alphabet table (cf. Table
5). This arrangement of column matrix is
used for lower bound setting. The
alphabet table thus enables us to list the
tours in a systematic way such that the
values of „incomplete words‟ (leaders) at
different stages also present a useful
hierarchical structure. We can set „lower
bounds‟ to this incomplete word for
quick convergence to the optimal
solution. Finally, we obtain an initial
trial solution
*
nS with value Vt.
6.2. Part-II: Lexicographic search:
We start with a trial solution tV
with a sequence T.
Step 0 : 1k ; kL is a block
just entered. Take 1a as the first
available entry.
Step 0a : ?Nk 
If yes, go to 6. If no, go
to 1.
Step 1 : Compute )( kLV ;
tk VLV )( ? If yes, go to 3 and
else go to 1a
Step 1a : ?1k
If yes, go to 9. If no, go to
2.
Step 2 : Move out of the current
kL and go to the next block of order 1k
;
go to 0.
Step 3 : Is tkk VSdLV  )()( ?
If yes, go to 4. If no, go to
5.
Step 4 : Move to next sub-block
of 1kL ,with ka (say); with this new
kL .
Go to 1.
Step 4a : Check for fulfillment of
fixed position constraints
Is k < l ? If
yes go to 5 If no go to 1.
Step 5 : Form
);( 11 raLL kkk   where 1ka is the
first sub-block of kL ; put
1 kk . Go to 0a.
Step 6 : Check for the
completion of all the M
jobs. All M jobs are over
?
If yes, go to 7. If no, go to 1.
Step 7 :
  tTkk VVAadLV  );()( 0 ?
If yes, go to 8. If no, go to 2 with
1 kk .
Step 8 : Tt VV  , TLn *
set
1 kk and go to 2.
Step 9 : Is the first column of the
Alphabet Table A, exhausted?
If yes, go to 11. If no, go to 10.
Step 10 : Take the next available
entry in kL ; go to 1.
Step 11 : Search is over; current T
is the optimal sequence with value tV .
Step 12 : Jobs are assigned in the
optimal tour.
Flow chart of the solution procedure (algorithm) has been given in Fig. 1 and Fig. 2.
Trial solution Vt with sequence T
Alphabet tables A and B
Reduced modified cost matrix
Modified cost matrix
Cost matrix )( ijd
Start
2
No Yes
Yes
Yes
Yes
Yes
Yes Yes
Yes
No
No
No
No
No
No
No
Fig. 1: Formation of alphabet table and a trial solution.
Fig. 2: Lexicographic search
7. Solution:
The restricted, unrestricted stations with corresponding steps are shown in the
following table:
Table 2: Restricted, unrestricted stations with corresponding steps
Constraints
Stations (excluding
home station)
Step Numbers (excluding last step
(having home station, step 10))
Restricted
6A Step-1
4A Step-3
V(Lk) + d(ak; A0) = VT
Vt = VT , Ln* = T
1k ; kL is a block just entered
Is k =1 ?
Compute V(Lk)
Is VT  Vt?
Is k = N ?
Alphabet table & a trial
sequence *
nL of value tV
Start
Take the next
available entry in Lk
All M jobs
are over ?
Is V(Lk) +
d’(Sk) > Vt ?
Is V(Lk)
 Vt?Is the 1st col. of
alphabet table
A exhausted?
Check for the fulfillment of
fixed position constraints
Is k < l ?
Move to next sub-block of
Lk-1, with say ak = β
Search is over;
current T is the
optimal sequence
with value Vt
Move out of the current
Lk & go to the next block
of order k - 1
Form Lk+1=(Lk; ak+1=r)
Put k = k+1
Stop
k = k+1
3
9A Step-5
3A Step-6
Un-restricted 87521 ,,,, AAAAA Any of Step-2, Step-4, Step-7, Step-8 and
Step-9
All these fixed position constraints lead to the following implications:
As 6A is to be
visited at step-1
(first step)
therefore,
As 6A is visited
at first step
therefore, 6A
cannot come in
the further steps-
 09 AA
 49 AA
Also, as 3A comes
immediately after
9A (i.e., step-5 to
step-6) therefore,
 10 AA
 20 AA
 30 AA
 40 AA
 50 AA
 70 AA
 80 AA
 90 AA
 06 AA
 36 AA
 46 AA
 96 AA
 61 AA
 62 AA
 63 AA
 64 AA
 65 AA
 67 AA
 68 AA
 69 AA
 04 AA
 34 AA
 94 AA
 19 AA
 29 AA
 59 AA
 79 AA
 89 AA
 03 AA
 43 AA
 93 AA
Thus the reduced modified cost (distance) matrix is
Table 3: Reduced modified distance (cost) matrix
Station 0A 1A 2A 3A 4A 5A 6A 7A 8A 9A αi
0A       0    2
1A 4  15 2 0 10  13 11 9 2
2A 0 16  8 0 17  6 15 17 1
3A  0 5   12  2 9  4
4A  1 0   6  11 18  1
5A 5 10 16 14 5   5 2 0 2
6A  3 11   0  0 11  5
7A 4 10 2 1 7 2   0 1 10
8A 5 9 12 9 15 0  1  4 4
9A    0       2
βj 0 0 0 0 0 0 0 5 0 0 33+5= 38
Table 4 : Alphabet table
Table 5:
LB
0A 
1A 2A 3A 4A 5A 6A 7A 8A 9A  0A
Fixed
Position
At
Step-6
At
Step-3
At
Step-1
At
Step-5
06 A 04 A
23 A
40 A
99 A
105 A
00 A
04 A
67 A
83 A
158 A
01 A
27 A
52 A
98 A
125 A
02 A
11 A
65 A
117 A
188 A
09 A
28 A
50 A
54 A
57 A
05 A
07 A
31 A
112 A
118 A
08 A
13 A
19 A
22 A
25 A
05 A
17 A
49 A
50 A
91 A
03 A 02 A
41 A
47 A
55 A
58 A
1A
2A
3A
0A
1A
2A
4
4A
5A
7A
8A
9A
118 A
137 A
152 A
161 A
175 A
179 A
0A
4A
6A
8A
0A
3A
6A
9A
101 A
143 A
162 A
0A
3A
4A
9A
40 A
74 A
101 A
93 A
122 A
154 A
4A
5A
6A
7A
8A
3A
4A
6A
9A6A 6A 6A 6A 6A
In the following lexicographic search table (cf. table 6), using fixed position
constraints and lower bounds and deleting the values tV , the route number 1 gives a trial
solution as 38tV and the partial search table is obtained as follows:
Table 6: Lexicographic search table (Partial)
Route
No. 0A 
Remark
Fixed
Position→
Step-1
6A
Step-2 Step-3
4A
Step-4 Step-5
9A
Step-6
3A
Step-7 Step-8 Step-9 Step-10
1 0)0(6A 0)0(5A 5)5(4A 0)5(2A 17)22(9A 0)22(3A 0)22(1A 11)33(8A 1)34(7A 4)38(0A tV38
×
×
2 134)35(7 
A tV
×
3 24)24(7 
A 04)24(8 
A 94)33(1 
A 4)37(0A tV37
                                                                    
8 0)0(6A 0)0(5A 5)5(4A 10)6(1 
A 90)15(9 
A 00)15(3 
A 50)20(2 
A 64)26(7 
A tV
×
9 90)24(8 
A 10)25(7 
A 20)27(2 
A 0)27(0A tV27
                                                                    
27 00)0(6 
A 30)3(1 
A 00)3(4 
A 60)9(5 
A 00)9(9 
A 00)9(3 
A 20)11(7 
A 00)11(8 
A 120)23(2 
A 0)23(0A tV23
                                                                    
30 90)18(8 
A 10)19(7 
A 20)21(2 
A 0)21(0A tV21
                                                                    
36 00)0(6 
A 110)11(2 
A 04)11(4 
A 64)17(5 
A tV
×
×
37 110)11(8 
A 15)26(4A tV
×
×
×
The Search is over.
The optimal path from the search table (Table 6) is route No. 30:
02783954160 AAAAAAAAAAA 
Therefore, the value of the path = 21 +  = 21 + 38 = 59 units.
When the salesman starts from home station to perform his jobs, during his tour,
we assume that the salesman has to perform his jobs as early as possible (i.e., on the first
come first served basis), from the visit of first station onwards. The job performance table
for the path is:
5
Table 7: Optimum solution
Station Jobs available Jobs to be performed # Jobs to be performed Distance
0A --- --- --- ---
6A 1991 ,, JJJ 1991 ,, JJJ 3 2
1A 111092 ,,, JJJJ 11102 ,, JJJ 3 8
4A 20181195 ,,,, JJJJJ 20185 ,, JJJ 3 2
5A 1543 ,, JJJ 1543 ,, JJJ 3 7
9A 15128 ,, JJJ 128, JJ 2 2
3A 17133 ,, JJJ 1713, JJ 2 2
8A 1611963 ,,,, JJJJJ 166, JJ 2 13
7A 973 ,, JJJ 7J 1 10
2A 145 , JJ 14J 1 12
0A --- --- --- 1
Total --- --- 20 59
8. Computational experience:
A computer program of the algorithm has been developed in C languages and is
tested on the system HP COMPAQ dx2280 and Intel Pentium D Processors. Random
numbers are used to construct the cost matrix. The following table (Table: 8) gives the list
of the problems tried along with the average CPU run time (in seconds) for solving them.
Table 8: CPU run time
Serial
Number
Number of
Stations
Number of
Jobs
No. of Problems Tried in the
Respective Dimensions
Average CPU Run time (in Sec.)
Alphabet Table Search Table
1 5 8 6 0.00000 0.0000
2 8 10 6 0.00000 0.0000
3 10 15 6 0.05494 0.0000
4 12 15 6 0.05494 0.0045
5 15 15 6 0.08932 0.0284
6 18 20 6 0.08932 0.1046
8 20 20 6 0.10989 0.0984
9 25 25 6 0.10989 0.6457
10 30 30 6 0.16483 0.8972
11 40 30 6 0.85389 1.0356
12 50 40 6 1.54920 1.7218
9. Conclusion:
It is seen that the time required
for the search of the optimal solution is
fairly less.
10. References:
[1] Achuthan,
N.R.,
Caccetta, L.
and Hill, S.P.
(1998)
: “Capacited
Vehicle Routing
Problem: Some
New Cutting
Planes”. Asia-
Pacific Journal of
Operational
Research
(APORS), Vol. 20,
No. 1.
[2] Ahuja, R.K.,
Magnanti, T.
L. and Orlin,
J.B. (1993)
: “Network Flows.
Theory,
Algorithms and
Applications”.
Prentice Hall,
Englewood Cliffs,
N. J.
[3] Ahmed, N : “The Oil Tankers
2
and Das, S
(2012)
Dispatching
Problem”
OPSEARCH, Vol.
49, No. 4, 366 –
385.
[4] Ahmed, N
and Das, S
(2013)
: “The Problem of
Maximum
Attainable Flow in
Minimum Cost in
a Network”
OPSEARCH, Vol.
50, No. 2, 197 –
214.
[5] Ahmed, N
and
Duttadeka, S
(2015)
: “A precedence
constraints in a
travelling
salesman problem
(TSP) with
multiple job
facilities”. MAT
(Journal of
Statistics and
Mathematical
Engineering), Vol.
01, Issue 03, 1 –
17.
[6] Bansal, S. P.
and Kumar,
S. (1971)
: “Optimal Tour
with Multiple Job
Facilities at each
Station”. Indian
Journal of
Mathematics,
Vol.13, No. 1, pp.
45-49.
[7] Bellman
(1958)
: “On a Routing
Problem”.
Quarterly Applied
Mathematics, Vol.
XVI, No. 1, pp.
87-90.
[8] Christofides,
N. (1970)
: “The Shortest
Hamiltonian
Chain of a
Graph”. SIAM
Journal of Applied
Mathematics, 19,
pp 689-696.
[9] Clarke, G.
and Wright,
J.W.(1964)
: “Scheduling of
Vehicles from a
Central Depot to a
number of
Delivery Points”.
Opns. Res., Vol.
12, pp 568-581.
[10] Crores, : “A Method of
G.A.(1958) Solving Travelling
Salesman
Problem”. Opns.
Res., Vol.6, pp
791-812.
[11] Dantzig, G.,
Fulkerson, R.
and Johnson,
S. (1954)
: ““Solution of a
Large-Scale
Travelling
Salesman Opns.
Res., Vol. 5, pp.
266-267.
[12] Das, S.
(1976)
: “Routing and
Allied
Combinatorial
Programming
Problems (A
lexicographic
Search
Approach)”. Ph.
D. Thesis,
Dibrugarh
University.
Unpublished.
[13] Das, S.
(1978)
: “The Most
Economical Route
for a Travelling
Salesman
Problem”. Paper
presented in XI
Annual
Convention of
ORSI.
[14] Das, S and
Ahmed, N
and (2001)
: “A Travelling
Salesman Problem
with Multiple Job
Facilities”
OPSEARCH, Vol.
38, No. 4, 394 –
406.
[15] Flood,
M.M.(1956)
: “The Travelling
Salesman
Problem”. Opns.
Res., Vol.4, pp 61-
75.
[16] Little, D.C.I.
et. al. (1963)
: “An Algorithm for
the Travelling
Salesman
Problem”. Opns.
Res., Vol.11, pp
972-989.
[17] Scroggs, R.E.
and Tharp,
A.L. ( )
“An Algorithm for
Solving Travelling
Salesmen
Problems in
Restricted
3
Contexts”.
(Privately
Circulated).
*****

More Related Content

Similar to Fixed Position Constraints in a Travelling Salesman Problem (TSP) with Multiple Job Facilities

Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmComparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmIOSR Journals
 
ESCC 2016, July 10-16, Athens, Greece
ESCC 2016, July 10-16, Athens, GreeceESCC 2016, July 10-16, Athens, Greece
ESCC 2016, July 10-16, Athens, GreeceLIFE GreenYourMove
 
Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...
Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...
Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...GreenYourMove
 
Operation research model for solving TSP
Operation research model for solving TSPOperation research model for solving TSP
Operation research model for solving TSPDrGovindshaysharma
 
QABD Transportation problems-UNIT-3.pptx
QABD Transportation problems-UNIT-3.pptxQABD Transportation problems-UNIT-3.pptx
QABD Transportation problems-UNIT-3.pptxhonakjannu789
 
Presentation%20on%20Transportation%20and%20Assignment%20Problem.pptx
Presentation%20on%20Transportation%20and%20Assignment%20Problem.pptxPresentation%20on%20Transportation%20and%20Assignment%20Problem.pptx
Presentation%20on%20Transportation%20and%20Assignment%20Problem.pptxIBMRD Ahmednagar
 
Optimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingOptimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingGerard Trimberger
 

Similar to Fixed Position Constraints in a Travelling Salesman Problem (TSP) with Multiple Job Facilities (20)

Traveling Salesman Problem
Traveling Salesman Problem Traveling Salesman Problem
Traveling Salesman Problem
 
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic AlgorithmComparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm
 
ESCC 2016, July 10-16, Athens, Greece
ESCC 2016, July 10-16, Athens, GreeceESCC 2016, July 10-16, Athens, Greece
ESCC 2016, July 10-16, Athens, Greece
 
Presentation escc 2016
Presentation escc 2016Presentation escc 2016
Presentation escc 2016
 
Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...
Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...
Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...
 
Asssignment problem
Asssignment problemAsssignment problem
Asssignment problem
 
Operations Research Project
Operations Research ProjectOperations Research Project
Operations Research Project
 
Unit 4 or
Unit 4 orUnit 4 or
Unit 4 or
 
MULTI-OBJECTIVE ANALYSIS OF INTEGRATED SUPPLY CHAIN PROBLEM
MULTI-OBJECTIVE ANALYSIS OF INTEGRATED SUPPLY CHAIN PROBLEMMULTI-OBJECTIVE ANALYSIS OF INTEGRATED SUPPLY CHAIN PROBLEM
MULTI-OBJECTIVE ANALYSIS OF INTEGRATED SUPPLY CHAIN PROBLEM
 
algorithm Unit 3
algorithm Unit 3algorithm Unit 3
algorithm Unit 3
 
Operation research model for solving TSP
Operation research model for solving TSPOperation research model for solving TSP
Operation research model for solving TSP
 
QABD Transportation problems-UNIT-3.pptx
QABD Transportation problems-UNIT-3.pptxQABD Transportation problems-UNIT-3.pptx
QABD Transportation problems-UNIT-3.pptx
 
Ac4103169172
Ac4103169172Ac4103169172
Ac4103169172
 
Presentation%20on%20Transportation%20and%20Assignment%20Problem.pptx
Presentation%20on%20Transportation%20and%20Assignment%20Problem.pptxPresentation%20on%20Transportation%20and%20Assignment%20Problem.pptx
Presentation%20on%20Transportation%20and%20Assignment%20Problem.pptx
 
Operations Research
Operations ResearchOperations Research
Operations Research
 
Optimizing last mile delivery
Optimizing last mile deliveryOptimizing last mile delivery
Optimizing last mile delivery
 
Chapter 03
Chapter 03Chapter 03
Chapter 03
 
Optimal Vacation Itinerary Modeling
Optimal Vacation Itinerary ModelingOptimal Vacation Itinerary Modeling
Optimal Vacation Itinerary Modeling
 
Operations Research
Operations ResearchOperations Research
Operations Research
 
Operations Research
Operations ResearchOperations Research
Operations Research
 

Recently uploaded

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 

Fixed Position Constraints in a Travelling Salesman Problem (TSP) with Multiple Job Facilities

  • 1. IDL - International Digital Library Of Technology & Research Volume 1, Issue 3, Mar 2017 Available at: www.dbpublications.org International e-Journal For Technology And Research-2017 A Fixed Position Constraints in a Travelling Salesman Problem (TSP) with Multiple Job Facilities Nazimuddin Ahmed1 and S. Das2 1 Assistant Professor, Department of Statistics, D.H.S.K. College, Dibrugarh-786001, Assam, India, Email: mdnahmed@yahoo.com 2 Retd. Prof. Dibrugarh University, Dibrugarh-786004, Assam, India, E mail: shiladas13@gmail.com Abstract: In this paper, we have considered fixed position constraints in the usual travelling salesman problem with multiple job facilities at each station. With fixed position(s) constraints one means that the station(s) (cities or nodes) are visited in such a way that a particular station(s) is to be visited in a certain specific step(s). The problem can be described as follows: There are ‘N’ stations to be visited and ‘M’ distinct jobs to be performed by a salesman. The distance between each pair of stations and facilities for jobs at each station, are known. The salesman starts from a station (home station denoted as ‘A0’) and returns back to it after completing all the jobs on the basis of performing the jobs as early as possible. The objective is to find a tour of the salesman by using the fixed position constraints such that the total distance traveled is minimum while completing all the ‘M’ jobs, on the basis of first come first serve. Key words: Travelling Salesman Problem, Fixed Position Constraints, Lexicographic Search Approach and Lower Bound. 1. Introduction: The travelling salesman problem is a kind of mathematical puzzle with a long enough history [6, 7]. Many solution procedures have been developed such as [6, 9, 11, 12] for the travelling salesman problem (TSP) which is stated as follows: Suppose a salesman wants to visit a certain number of cities allotted to him. He knows the distance (or cost or time) of journey between every pair of city ‘i’ and city ‘j’ denoted by ijc . The problem is to select a route that starts from a given home city, passes through each and every city once and only once and returns back to his starting city in the
  • 2. 2 shortest total distance. Here, we have considered fixed position constraints in the travelling salesman problem with multiple job facilities at each station [8]. The problem can be described as follows: There is a set of stations containing ‘N’ elements and a set of jobs containing ‘M’ elements those are to be performed by a salesman. The distance between each pair of stations and facilities for jobs at each station are known. A salesman starts from a given home station and returns to it after completing all the jobs. The salesman in his tour may or may not visit all the stations and should not visit a station more than once. The problem is to find a tour of the salesman such that with fixed position constraints the total distance travelled by him is minimum, while completing all the ‘M’ jobs. Thus, the constraint of the problem is with fixed position constraints which mean that the station(s) (cities or nodes) are visited in such a way that a particular station(s) is to be visited in a certain specific step(s). The importance of restricted constraints like precedence constraints, fixed position constraints and mixed constraints etc. in a routing problem has been very well discussed by Scrogg and Tharp [17]. It occurs frequently in many realistic situations. For example, a salesman has a quota of products to sell on a tour and he may want to visit the better prospects early. An early supply to a station may be made to the flood prone areas than the other stations to avoid the difficult situation it might fall in; a CEO of a company may plan a tour and need to be in a certain station on a particular date, etc. Here we have considered, a problem of a matrix of order (1010) with 20 jobs and solved the problem by lexicographic search approach, developed by Pandit [3, 4, 5, 13, 14]. Also we have given computational results with N = 5, 10, 25, 100, 150 and M = 6, 10, 20, 25, 40. 2. A brief review of literature: The procedure for solving the travelling salesman problem usually can be divided into three basic parts- a starting point, a solution generation scheme and a termination rule. The termination rule is such that, the iteration is stopped if and only if, a tour is optimal, and the method is exact. In approximate methods the tour reached at termination generally depends on the starting point, so it is possible to produce many final tours by using different starting points. The best of these final tours is then selected [1, 2]. The pioneers in solving the problem were Dantzig, Fulkerson and Johnson [7], Flood, M.M. [15], Crores, G.A. [10], Little, Murthy, Sweeney and Karel [17] and later on several algorithms have been developed for the solution of the usual travelling salesman problem. These include dynamic programming, integer programming, branch and bound, tour-to-tour approximations and the Gilmore- Gomery method [16] and lexicographic search. 3. Notation and statement of the problem: Let N Set of stations (nodes) defined by  1210 ,,,,  NAAAAN  ; „ 0A ‟ being the home station.
  • 3. 3  MJJJK ,,, 21  , a set of ‘M’ jobs to be performed. ),( ji AAd Distance or cost associated with the node pairs ),( ji AA and )).1(,,2,1,0,(  Nji  A salesman starts from station ( 0A , say) and returns to it after completing all the jobs. He completes all the ‘M’ either by visiting all the ‘N’ stations or a subset of it and at each station only subset of ‘M’ jobs can be completed; also he should not visit a station which is already visited. The number ‘M’ and ‘N’ are positive integers which are not necessarily equal. At home station no job is available and the travel distance from any station to itself is ∞, i.e., ),( ii AAd ;  NAi  . Moreover, the salesman has to obey fixed position constraints involved in the tour. With fixed position constraints the objective is to find a tour which completes all the ‘M’ jobs and minimizes the total distance travelled. The distance variables ),( ji AAx may be 0 or 1 according as     otherwise.0, station.thefromstationvisitssalesmantheif1, ),( ji AAx Let us assume that the fixed position constraints, considered here are of the type: Station „x‟ is to be visited at kth step; k is any of n,,2,1  . Station „y‟ is to be visited at lth step; l is any of n,,2,1  and k < l. etc. We modify the cost (distance) matrix utilizing the fixed position constraints. We reduce the modified cost matrix into an equivalent canonical matrix with elements jiijij dd   ; where, ij j i dmin and )(min iij i j αdβ  . The new matrix is non-negative, with at least one zero in each row and each column. 4. Mathematical formulation: Mathematically, the problem may be stated as Minimize  i j jiji AAxAAdZ ),(),( ; ))1(,,2,1,0,(  Nji   i j ijij xd ... ... ... (1) (For simplicity we write ijji dAAd ),( and ijji xAAx ),( ) subject to 1 1 1 0    N j jx , 1 1 1 0    N j jx ... ... ... (2) Since the salesman starts from a depot „ 0A ‟ and goes back to it. jkxx jk kj ki ik ,1,0    ... ... (3) Since the salesman may or may not visit all the stations. When the salesman visits kth station from the ith and visits jth station from the kth .0otherwise;1,1    jk kj ki ik xx The unwanted sub-tours are eliminated by lexicographic search procedure.
  • 4. 4 In addition to the mathematical formulation the fixed position constraints are: Station(s) „x‟ and „y‟ are to be visited at kth step and lth step, respectively; k and l are any of n,,2,1  and lk  . 5. Numerical illustration: For illustration, we consider the following example: Suppose there are 10 stations ),,,,( 9210 AAAA  and 20 jobs ),,,( 2021 JJJ  ; each station contains some job facilities, where an arbitrarily chosen distance matrix with job facilities at each station, is given in Table 1. Here the distance and job matrix is symmetric; but it is equally applicable to an asymmetric matrix. Table 1: Distance and job matrix Jobs  Station 0A 1A 2A 3A 4A 5A 6A 7A 8A 9A 0A  6 1 2 3 7 2 14 9 9 111092 ,,, JJJJ 1A  17 4 2 12 8 20 13 11 145 , JJ 2A  9 1 18 16 12 16 18 17133 ,, JJJ 3A  7 16 6 11 13 2 20181195 ,,,, JJJJJ 4A  7 8 17 19 13 1543 ,, JJJ 5A  5 12 4 2 1991 ,, JJJ 6A  10 16 17 973 ,, JJJ 7A  10 11 1611963 ,,,, JJJJJ 8A  8 15128 ,, JJJ 9A  Here, we consider the fixed position relations as: The stations 6A , 4A , 9A and 3A must be visited at the Step-1, Step-3, Step-5 and Step-6 respectively. 6. Computational procedure: 6.1. Part-I: Formation of modified, reduced cost matrix and alphabet table(s): Step 1: Modify the cost matrix by assigning ijd for which the tour between station „i‟ and station „j‟ is not possible, following the fixed position constraints. Step 2: Reduce the modified cost matrix into an equivalent canonical matrix (reduced modified cost matrix) (cf. Table 3) with elements jiijij dd   ; ... ... ... (4) where ij j i dmin and )(min iij i j d   This new matrix is non-negative with at least one zero in each row and each column (cf. Table 3), i.e. )constanta,(      ji ji ijij ji ijij xdxd … (5) the second part of the equation (5) can be used as a bias of the matrix or in other words this part is a fixed part for any tour. Step 3: Using the reduced cost matrix, we list under column i, ))1(,,2,1,0(  Ni  the nodes )}1(,,2,1,0{ N in order )( 1 )()()( 1 )( 0 ,,,,,,, i N i s i r ii JJJJJ  such that sr  if ijsijr dd  . The ordering
  • 5. 2 ),,,( 110 NJJJ  so obtained for a given node i, is defined as the alphabetic order for column i, the table thus formed containing all the columns )1(,,2,1,0 N , is called the alphabet table (cf. Table 4). Step 4: Construct another table using the 1st row of reduced cost matrix, arranging the nodes )0( iJ , ))1(,,2,1,0(  Ni  such that sr  if 00 sr dd  . The ordering thus obtained gives another alphabet table (cf. Table 5). This arrangement of column matrix is used for lower bound setting. The alphabet table thus enables us to list the tours in a systematic way such that the values of „incomplete words‟ (leaders) at different stages also present a useful hierarchical structure. We can set „lower bounds‟ to this incomplete word for quick convergence to the optimal solution. Finally, we obtain an initial trial solution * nS with value Vt. 6.2. Part-II: Lexicographic search: We start with a trial solution tV with a sequence T. Step 0 : 1k ; kL is a block just entered. Take 1a as the first available entry. Step 0a : ?Nk  If yes, go to 6. If no, go to 1. Step 1 : Compute )( kLV ; tk VLV )( ? If yes, go to 3 and else go to 1a Step 1a : ?1k If yes, go to 9. If no, go to 2. Step 2 : Move out of the current kL and go to the next block of order 1k ; go to 0. Step 3 : Is tkk VSdLV  )()( ? If yes, go to 4. If no, go to 5. Step 4 : Move to next sub-block of 1kL ,with ka (say); with this new kL . Go to 1. Step 4a : Check for fulfillment of fixed position constraints Is k < l ? If yes go to 5 If no go to 1. Step 5 : Form );( 11 raLL kkk   where 1ka is the first sub-block of kL ; put 1 kk . Go to 0a. Step 6 : Check for the completion of all the M jobs. All M jobs are over ? If yes, go to 7. If no, go to 1. Step 7 :   tTkk VVAadLV  );()( 0 ? If yes, go to 8. If no, go to 2 with 1 kk . Step 8 : Tt VV  , TLn * set 1 kk and go to 2. Step 9 : Is the first column of the Alphabet Table A, exhausted? If yes, go to 11. If no, go to 10. Step 10 : Take the next available entry in kL ; go to 1. Step 11 : Search is over; current T is the optimal sequence with value tV . Step 12 : Jobs are assigned in the optimal tour. Flow chart of the solution procedure (algorithm) has been given in Fig. 1 and Fig. 2. Trial solution Vt with sequence T Alphabet tables A and B Reduced modified cost matrix Modified cost matrix Cost matrix )( ijd Start
  • 6. 2 No Yes Yes Yes Yes Yes Yes Yes Yes No No No No No No No Fig. 1: Formation of alphabet table and a trial solution. Fig. 2: Lexicographic search 7. Solution: The restricted, unrestricted stations with corresponding steps are shown in the following table: Table 2: Restricted, unrestricted stations with corresponding steps Constraints Stations (excluding home station) Step Numbers (excluding last step (having home station, step 10)) Restricted 6A Step-1 4A Step-3 V(Lk) + d(ak; A0) = VT Vt = VT , Ln* = T 1k ; kL is a block just entered Is k =1 ? Compute V(Lk) Is VT  Vt? Is k = N ? Alphabet table & a trial sequence * nL of value tV Start Take the next available entry in Lk All M jobs are over ? Is V(Lk) + d’(Sk) > Vt ? Is V(Lk)  Vt?Is the 1st col. of alphabet table A exhausted? Check for the fulfillment of fixed position constraints Is k < l ? Move to next sub-block of Lk-1, with say ak = β Search is over; current T is the optimal sequence with value Vt Move out of the current Lk & go to the next block of order k - 1 Form Lk+1=(Lk; ak+1=r) Put k = k+1 Stop k = k+1
  • 7. 3 9A Step-5 3A Step-6 Un-restricted 87521 ,,,, AAAAA Any of Step-2, Step-4, Step-7, Step-8 and Step-9 All these fixed position constraints lead to the following implications: As 6A is to be visited at step-1 (first step) therefore, As 6A is visited at first step therefore, 6A cannot come in the further steps-  09 AA  49 AA Also, as 3A comes immediately after 9A (i.e., step-5 to step-6) therefore,  10 AA  20 AA  30 AA  40 AA  50 AA  70 AA  80 AA  90 AA  06 AA  36 AA  46 AA  96 AA  61 AA  62 AA  63 AA  64 AA  65 AA  67 AA  68 AA  69 AA  04 AA  34 AA  94 AA  19 AA  29 AA  59 AA  79 AA  89 AA  03 AA  43 AA  93 AA Thus the reduced modified cost (distance) matrix is Table 3: Reduced modified distance (cost) matrix Station 0A 1A 2A 3A 4A 5A 6A 7A 8A 9A αi 0A       0    2 1A 4  15 2 0 10  13 11 9 2 2A 0 16  8 0 17  6 15 17 1 3A  0 5   12  2 9  4 4A  1 0   6  11 18  1 5A 5 10 16 14 5   5 2 0 2 6A  3 11   0  0 11  5 7A 4 10 2 1 7 2   0 1 10 8A 5 9 12 9 15 0  1  4 4 9A    0       2 βj 0 0 0 0 0 0 0 5 0 0 33+5= 38 Table 4 : Alphabet table Table 5: LB 0A  1A 2A 3A 4A 5A 6A 7A 8A 9A  0A Fixed Position At Step-6 At Step-3 At Step-1 At Step-5 06 A 04 A 23 A 40 A 99 A 105 A 00 A 04 A 67 A 83 A 158 A 01 A 27 A 52 A 98 A 125 A 02 A 11 A 65 A 117 A 188 A 09 A 28 A 50 A 54 A 57 A 05 A 07 A 31 A 112 A 118 A 08 A 13 A 19 A 22 A 25 A 05 A 17 A 49 A 50 A 91 A 03 A 02 A 41 A 47 A 55 A 58 A 1A 2A 3A 0A 1A 2A
  • 8. 4 4A 5A 7A 8A 9A 118 A 137 A 152 A 161 A 175 A 179 A 0A 4A 6A 8A 0A 3A 6A 9A 101 A 143 A 162 A 0A 3A 4A 9A 40 A 74 A 101 A 93 A 122 A 154 A 4A 5A 6A 7A 8A 3A 4A 6A 9A6A 6A 6A 6A 6A In the following lexicographic search table (cf. table 6), using fixed position constraints and lower bounds and deleting the values tV , the route number 1 gives a trial solution as 38tV and the partial search table is obtained as follows: Table 6: Lexicographic search table (Partial) Route No. 0A  Remark Fixed Position→ Step-1 6A Step-2 Step-3 4A Step-4 Step-5 9A Step-6 3A Step-7 Step-8 Step-9 Step-10 1 0)0(6A 0)0(5A 5)5(4A 0)5(2A 17)22(9A 0)22(3A 0)22(1A 11)33(8A 1)34(7A 4)38(0A tV38 × × 2 134)35(7  A tV × 3 24)24(7  A 04)24(8  A 94)33(1  A 4)37(0A tV37                                                                      8 0)0(6A 0)0(5A 5)5(4A 10)6(1  A 90)15(9  A 00)15(3  A 50)20(2  A 64)26(7  A tV × 9 90)24(8  A 10)25(7  A 20)27(2  A 0)27(0A tV27                                                                      27 00)0(6  A 30)3(1  A 00)3(4  A 60)9(5  A 00)9(9  A 00)9(3  A 20)11(7  A 00)11(8  A 120)23(2  A 0)23(0A tV23                                                                      30 90)18(8  A 10)19(7  A 20)21(2  A 0)21(0A tV21                                                                      36 00)0(6  A 110)11(2  A 04)11(4  A 64)17(5  A tV × × 37 110)11(8  A 15)26(4A tV × × × The Search is over. The optimal path from the search table (Table 6) is route No. 30: 02783954160 AAAAAAAAAAA  Therefore, the value of the path = 21 +  = 21 + 38 = 59 units. When the salesman starts from home station to perform his jobs, during his tour, we assume that the salesman has to perform his jobs as early as possible (i.e., on the first come first served basis), from the visit of first station onwards. The job performance table for the path is:
  • 9. 5 Table 7: Optimum solution Station Jobs available Jobs to be performed # Jobs to be performed Distance 0A --- --- --- --- 6A 1991 ,, JJJ 1991 ,, JJJ 3 2 1A 111092 ,,, JJJJ 11102 ,, JJJ 3 8 4A 20181195 ,,,, JJJJJ 20185 ,, JJJ 3 2 5A 1543 ,, JJJ 1543 ,, JJJ 3 7 9A 15128 ,, JJJ 128, JJ 2 2 3A 17133 ,, JJJ 1713, JJ 2 2 8A 1611963 ,,,, JJJJJ 166, JJ 2 13 7A 973 ,, JJJ 7J 1 10 2A 145 , JJ 14J 1 12 0A --- --- --- 1 Total --- --- 20 59 8. Computational experience: A computer program of the algorithm has been developed in C languages and is tested on the system HP COMPAQ dx2280 and Intel Pentium D Processors. Random numbers are used to construct the cost matrix. The following table (Table: 8) gives the list of the problems tried along with the average CPU run time (in seconds) for solving them. Table 8: CPU run time Serial Number Number of Stations Number of Jobs No. of Problems Tried in the Respective Dimensions Average CPU Run time (in Sec.) Alphabet Table Search Table 1 5 8 6 0.00000 0.0000 2 8 10 6 0.00000 0.0000 3 10 15 6 0.05494 0.0000 4 12 15 6 0.05494 0.0045 5 15 15 6 0.08932 0.0284 6 18 20 6 0.08932 0.1046 8 20 20 6 0.10989 0.0984 9 25 25 6 0.10989 0.6457 10 30 30 6 0.16483 0.8972 11 40 30 6 0.85389 1.0356 12 50 40 6 1.54920 1.7218 9. Conclusion: It is seen that the time required for the search of the optimal solution is fairly less. 10. References: [1] Achuthan, N.R., Caccetta, L. and Hill, S.P. (1998) : “Capacited Vehicle Routing Problem: Some New Cutting Planes”. Asia- Pacific Journal of Operational Research (APORS), Vol. 20, No. 1. [2] Ahuja, R.K., Magnanti, T. L. and Orlin, J.B. (1993) : “Network Flows. Theory, Algorithms and Applications”. Prentice Hall, Englewood Cliffs, N. J. [3] Ahmed, N : “The Oil Tankers
  • 10. 2 and Das, S (2012) Dispatching Problem” OPSEARCH, Vol. 49, No. 4, 366 – 385. [4] Ahmed, N and Das, S (2013) : “The Problem of Maximum Attainable Flow in Minimum Cost in a Network” OPSEARCH, Vol. 50, No. 2, 197 – 214. [5] Ahmed, N and Duttadeka, S (2015) : “A precedence constraints in a travelling salesman problem (TSP) with multiple job facilities”. MAT (Journal of Statistics and Mathematical Engineering), Vol. 01, Issue 03, 1 – 17. [6] Bansal, S. P. and Kumar, S. (1971) : “Optimal Tour with Multiple Job Facilities at each Station”. Indian Journal of Mathematics, Vol.13, No. 1, pp. 45-49. [7] Bellman (1958) : “On a Routing Problem”. Quarterly Applied Mathematics, Vol. XVI, No. 1, pp. 87-90. [8] Christofides, N. (1970) : “The Shortest Hamiltonian Chain of a Graph”. SIAM Journal of Applied Mathematics, 19, pp 689-696. [9] Clarke, G. and Wright, J.W.(1964) : “Scheduling of Vehicles from a Central Depot to a number of Delivery Points”. Opns. Res., Vol. 12, pp 568-581. [10] Crores, : “A Method of G.A.(1958) Solving Travelling Salesman Problem”. Opns. Res., Vol.6, pp 791-812. [11] Dantzig, G., Fulkerson, R. and Johnson, S. (1954) : ““Solution of a Large-Scale Travelling Salesman Opns. Res., Vol. 5, pp. 266-267. [12] Das, S. (1976) : “Routing and Allied Combinatorial Programming Problems (A lexicographic Search Approach)”. Ph. D. Thesis, Dibrugarh University. Unpublished. [13] Das, S. (1978) : “The Most Economical Route for a Travelling Salesman Problem”. Paper presented in XI Annual Convention of ORSI. [14] Das, S and Ahmed, N and (2001) : “A Travelling Salesman Problem with Multiple Job Facilities” OPSEARCH, Vol. 38, No. 4, 394 – 406. [15] Flood, M.M.(1956) : “The Travelling Salesman Problem”. Opns. Res., Vol.4, pp 61- 75. [16] Little, D.C.I. et. al. (1963) : “An Algorithm for the Travelling Salesman Problem”. Opns. Res., Vol.11, pp 972-989. [17] Scroggs, R.E. and Tharp, A.L. ( ) “An Algorithm for Solving Travelling Salesmen Problems in Restricted