SlideShare a Scribd company logo
1 of 4
Download to read offline
Ghadle Kirtiwant P et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.169-172

RESEARCH ARTICLE

www.ijera.com

OPEN ACCESS

An Application of Assignment Problem in Traveling Salesman
Problem (TSP)
Ghadle Kirtiwant P, Muley Yogesh M
Department of Mathematics, Dr. Babasaheb Ambedkar Marathwada University, Aurangabad - 431004. MS.
India.

Abstract
Assignment problem (AP) is completely degenerate form of a transportation problem. It appears in some
decision-making situations, this paper focused on TSP for finding the shortest closed route. By using „ROA
Method‟ and „Ghadle and Muley Rule‟ will get optimal solution for TSP within few steps.
Keyword- Assignment problem, TSP, linear integer programming, Revised Ones Assignment Method (ROA).

I.

Introduction

III.

The Traveling Salesman Problem (TSP)
is a classical combinatorial optimization problem,
which is simple to state but very difficult to solve.
The problem is to find the shortest possible tour
through a set of N vertices so that each vertex is
visited exactly once.
In this paper traveling salesman problem
solved like assignment problem using linear
programming approach. The constraints require that
the salesman must enter and leave each city
exactly once.

II.

Mathematical Formulation of
Traveling Salesman Problem (TSP)

C13

…

C21

C23

…

C2n

C31

C32

8

…

C3n

Starting from his home, a salesman wishes
to visit each of (n−1) other cities and return home at
minimal cost. He must visit each city exactly once
and it costs Cij to travel from city i to city j.
We may be tempted to formulate his problem as the
assignment problem:

 1 ; if he goes from city i to city j.
Xij = 
 0 ; otherwise.
Then the mathematical formulation of the assignment
problem is,
Subject to the constraints,
n n
Minimize Z =   CijX ij
.......(1)
i=1 j=1
n
n
 Xij =1 and  Xij =1 : Xij =0 or 1 .......(2)
i=1
j=1
for all i=1,2,....n and j=1,2,.....n.

C1n

…

…

8

…

n

Cn1

Cn2

Cn3

…

8

3

…

2

…

1

8

C12
8

Let 1, 2 … n be the labels of the n cities and
C = Ci,j be an n x n cost matrix where Ci,j denotes the
cost of traveling from city i to city j. Then, the
general formulation of the traveling salesman
problem (TSP), as described by Assignment Problem,
is shown below.
1
2
3
…
n

ASSIGNMENT BASED
FORMULATION

If Ci,j = Cj,i , the problem is called symmetric
traveling salesman problem (STSP).

www.ijera.com

IV.

Revised Ones Assignment Method
(ROA) for Solving Assignment
Problem. [1, 2]

This section presents a method to solve the
assignment problem which is different from the
preceding method. We call it “Revised Ones
Assignment Method” because of making assignment
in terms of ones.
This method is based on creating some ones
in the assignment matrix and then tries to find a
complete assignment in terms of ones. By a complete
assignment we mean an assignment plan containing
exactly n assigned independent ones, one in each row
and one in each column.
169 | P a g e
Ghadle Kirtiwant P et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.169-172
Now, consider the assignment matrix where

C ij is the

cost or effectiveness of assigning ith machine.

1
1
2

n



2

The new algorithm is as follows.
Let (1-2) be an assignment problem in which the
objective function can be minimized or maximized.
Step 1
In a minimization (maximization) case, find
the minimum (maximum) element of each row in the
assignment matrix (say ai) and write it on the right
hand side of the matrix.



2

 C11 C12

 C 21 C 22
 


C
C n2
 n1

n

 C1n  a1

 C 2n  a 2

  

 C nn  a n


Then divide each element of ith row of the
matrix by ai. These operations create at least one ones
in each rows.
In term of ones for each row and column, do
assignment. Otherwise go to step 2.
Step 2
Find the minimum (maximum) element of
each column in assignment matrix (say bj), and write
it below jth column. Then divide each element of jth
column of the matrix by bj.
These operations create at least one ones in each
columns. Make assignment in terms of ones. If no
feasible assignment can be achieved from step (1)
and (2) then go to step 3.

1
1  C11 a1

2  C 21 a 2


 
n  C n1 a n

b1

2



n

C12 a1  C1n a1 

C 22 a 2  C 2n a 2 





C n2 a n  C nn a n 

b2

bn

Step 3
Draw the minimum number of lines to cover
all the ones of the matrix. If the number of drawn
lines less than n, then the complete assignment is not
www.ijera.com

possible, while if the number of lines is exactly equal
to n, then the complete assignment is obtained.
Step 4

n

 C11 C12  C1n 


 C 21 C 22  C 2n 
 


 


C
C n2  C nn 
 n1


1

www.ijera.com

If a complete assignment program is not
possible in step 3, then select the smallest (largest)
element
(say dij) out of those which do not lie on
any of the lines in the above matrix. Then divide by
dij each element of the uncovered rows or columns,
which dij lies on it. This operation creates some new
ones to this row or column.
If still a complete optimal assignment is not achieved
in this new matrix, then use step 4 and 3 iteratively.
By repeating the same procedure the optimal
assignment will be obtained.
(To assign one we have add Step 5 which is
mentioned below.)
Step 5 (Ghadle and Muley Rule) [3]
i) For minimization problem select max number
from calculated matrix and write it on right
hand side as well as bottom side.
 To assign one, start from min number of
columns (bottom side) and select ones.
 If there are more than one ones in any
column then ignore temporarily, and give
last priority to that column.
 If still there are identical ones in column
then give the priority to max number of
rows (right hand side).
 If there are more than one ones in any
row then give first come priority.
Or
ii) For maximization problem select min number
from calculated matrix and write it on right
hand side as well as bottom side.
 To assign one, start from max number of
columns (bottom side) and select ones.
 If there are more than one ones in any
column then ignore temporarily, and give
last priority to that column.
 If still there are identical ones in column
then give the priority to min number of
rows (right hand side).
 If there are more than one ones in any row
then give first come priority.
Priority rule
One question arises here. What to do with
non square matrix? To make square, a non square
matrix, we add one artificial row or column which all
elements are one. Thus we solve the problem with the
new matrix, by using the new method. The matrix
after performing the steps reduces to a matrix which
has ones in each rows and columns. So, the optimal
assignment has been reached.

170 | P a g e
Ghadle Kirtiwant P et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.169-172
V.

Applications

The Ashtavinayaka Yatra is the most
important
worship
yatra
in
Maharashtra. Ashtavinayaka means "Eight Ganeshas"
when translated in Sanskrit. Lord Ganesha is the
Hindu God of unity, remover of obstacles, learning
and prosperity.
This yatra covers the eight holy temples of
Lord Ganesha which are located around Pune . Each
temple has its own individuality and mythology. The
deities in each temple are distinct from each other.

www.ijera.com

Some of these deities are described as 'Swayambhu'
figurines. This is to point to that no human created
these deities; they were formed completely by
nature.
According to Hindu Shastra, you will have
to visit the Moreshwar temple at Morgaon first and
then in sequence visit the temples at Siddhatek, Pali,
Mahad,
Thevur,
Lenyandri,
Ozar, and
Ranjangaon and in last visit the Moreshwar temple
again. This will complete your Ashtavinayak-Yatra.

City

Aurangabad

Lenyadri

Mahad

Morgaon

Ozar

Pali

Ranjangaon

Sidhatek

Theur

Aurangabad

225
304
236
213
339
187
197
226

225
140
153
15
175
84
160
110

304
140
152
132
41
121
190
108

236
153
152
143
188
70
73
63

213
15
132
143
166
74
145
102

339
175
41
188
166
157
226
144

187
84
121
70
74
157
81
43

197
160
190
73
145
226
81
90

226
110
108
63
102
144
43
90
-

Lenyadri
Mahad
Morgaon
Ozar
Pali
Ranjangaon
Sidhatek
Theur

By using „Revised Ones Assignment Method (ROA)‟ and „Ghadle and Muley rule‟ the final solution
obtained was,

www.ijera.com

171 | P a g e
Ghadle Kirtiwant P et al Int. Journal of Engineering Research and Applications
ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.169-172

www.ijera.com

1

2

3

4

5

6

7

8

9

City

Aurangabad

Lenyadri

Mahad

Morgaon

Ozar

Pali

Ranjangaon

Sidhatek

Theur

1

Aurangabad

-

225

304

236

213

339

187

197

226

2

Lenyadri

225

-

140

153

15

175

84

160

110

3

Mahad

304

140

-

152

132

41

121

190

108

4

Morgaon

236

153

152

-

143

188

70

73

63

5

Ozar

213

15

132

143

-

166

74

145

102

6

Pali

339

175

41

188

166

-

157

226

144

7

Ranjangaon

187

84

121

70

74

157

-

81

43

8

Sidhatek

197

160

190

73

145

226

81

-

90

9

Theur

226

110

108

63

102

144

43

90

-

The solution consist in three cycle which are
(1,7),(7,9),(9,4),(4,8),(8,1) ; (2,5),(5,2); (3,6),(6,3)
and minimum distance is 675 km.
If we again find next minimum values from
column 7th, 5th and 6th , which will cover whole
journey of Ashtavinayak Yatra in 987 km.

VI.

[3]

Ghadle Kirtiwant P, Muley Yogesh M
(2013), Revised Ones Assignment Method
for Solving Assignment Problem, Journal of
Statistics and Mathematics, ISSN: 09768807 & E-ISSN: 0976-8815, Volume 4,
Issue 1, 147-150.

Conclusions

In this paper, a Revised Ones Assignment
Method (ROA) used to assign ones directly and for
solving assignment problem as well as for Traveling
Salesman Problem. This method can be used for
maximize as well as minimized objective functions of
Assignment problem.

References
[1]

[2]

Hadi Basirzadeh, (2012). Ones Assignment
Method for solving Assignment Problems,
Applied Mathematical Sciences, Vol. 6,
2012, No. 47, 2345-2355.
Shweta
singh,
G.C.Dubey,
Rajesh
Shrivastava,
(August 2012). A
Comparative Analysis of Assignment
Problem, IOSR Journal of Engineering
(IOSRJEN), ISSN: 2250-3021, Volume 2,
Issue 8, 01-15.

www.ijera.com

172 | P a g e

More Related Content

What's hot

8 Opportunities, Challenges, and Power of Media and Information.pptx
8 Opportunities, Challenges, and Power of Media  and Information.pptx8 Opportunities, Challenges, and Power of Media  and Information.pptx
8 Opportunities, Challenges, and Power of Media and Information.pptx
MagdaLo1
 
2. The Evolution of Traditional to new Media- The Evolution of Media, Functio...
2. The Evolution of Traditional to new Media- The Evolution of Media, Functio...2. The Evolution of Traditional to new Media- The Evolution of Media, Functio...
2. The Evolution of Traditional to new Media- The Evolution of Media, Functio...
EdwardEpan1
 

What's hot (20)

What is Content Analysis in Mass Media Research.pptx
What is Content Analysis in Mass Media Research.pptxWhat is Content Analysis in Mass Media Research.pptx
What is Content Analysis in Mass Media Research.pptx
 
multimedia technologies Introduction
multimedia technologies Introductionmultimedia technologies Introduction
multimedia technologies Introduction
 
Introduction to Media Convergence
Introduction to Media ConvergenceIntroduction to Media Convergence
Introduction to Media Convergence
 
Impact of media on society
Impact of media on societyImpact of media on society
Impact of media on society
 
Module1.pptx
Module1.pptxModule1.pptx
Module1.pptx
 
Chapter 1 introduction to multimedia
Chapter 1 introduction to multimediaChapter 1 introduction to multimedia
Chapter 1 introduction to multimedia
 
Media convergence
Media convergenceMedia convergence
Media convergence
 
What is media convergence?
What is media convergence?What is media convergence?
What is media convergence?
 
Media convergence
Media convergenceMedia convergence
Media convergence
 
Multimedia Information and Media .pdf
Multimedia Information and Media .pdfMultimedia Information and Media .pdf
Multimedia Information and Media .pdf
 
Ict project for social change group2
Ict project for social change group2Ict project for social change group2
Ict project for social change group2
 
Advantages and disadvantages of multimedia
Advantages and disadvantages of multimediaAdvantages and disadvantages of multimedia
Advantages and disadvantages of multimedia
 
Multimedia
MultimediaMultimedia
Multimedia
 
8 Opportunities, Challenges, and Power of Media and Information.pptx
8 Opportunities, Challenges, and Power of Media  and Information.pptx8 Opportunities, Challenges, and Power of Media  and Information.pptx
8 Opportunities, Challenges, and Power of Media and Information.pptx
 
Social media as participatory culture
Social media as participatory cultureSocial media as participatory culture
Social media as participatory culture
 
History of journalism
History of journalismHistory of journalism
History of journalism
 
Traditional Media Vs Digital Media (Online Journalism)
Traditional Media Vs Digital Media (Online Journalism) Traditional Media Vs Digital Media (Online Journalism)
Traditional Media Vs Digital Media (Online Journalism)
 
Technological Determinism
Technological DeterminismTechnological Determinism
Technological Determinism
 
2. The Evolution of Traditional to new Media- The Evolution of Media, Functio...
2. The Evolution of Traditional to new Media- The Evolution of Media, Functio...2. The Evolution of Traditional to new Media- The Evolution of Media, Functio...
2. The Evolution of Traditional to new Media- The Evolution of Media, Functio...
 
Information literacy
Information literacyInformation literacy
Information literacy
 

Viewers also liked (6)

Relação RVCC/EFA
Relação RVCC/EFARelação RVCC/EFA
Relação RVCC/EFA
 
SATYA PRAKASH JANGIR
SATYA PRAKASH JANGIRSATYA PRAKASH JANGIR
SATYA PRAKASH JANGIR
 
Deca28 out
Deca28 outDeca28 out
Deca28 out
 
2005 NA
2005 NA2005 NA
2005 NA
 
História e Ensino Criativo
História e Ensino CriativoHistória e Ensino Criativo
História e Ensino Criativo
 
Photoshop essays
Photoshop essaysPhotoshop essays
Photoshop essays
 

Similar to Ac4103169172

Assignment problem
Assignment problemAssignment problem
Assignment problem
Abu Bashar
 

Similar to Ac4103169172 (20)

Solving ONE’S interval linear assignment problem
Solving ONE’S interval linear assignment problemSolving ONE’S interval linear assignment problem
Solving ONE’S interval linear assignment problem
 
AMA_Assignment Theory notes
AMA_Assignment Theory notesAMA_Assignment Theory notes
AMA_Assignment Theory notes
 
Asssignment problem
Asssignment problemAsssignment problem
Asssignment problem
 
A study on solving Assignment Problem
A study on solving Assignment ProblemA study on solving Assignment Problem
A study on solving Assignment Problem
 
Assignment model
Assignment modelAssignment model
Assignment model
 
Ada notes
Ada notesAda notes
Ada notes
 
An Application of Assignment Problem in Laptop Selection Problem Using MATLAB
An Application of Assignment Problem in Laptop Selection Problem Using MATLABAn Application of Assignment Problem in Laptop Selection Problem Using MATLAB
An Application of Assignment Problem in Laptop Selection Problem Using MATLAB
 
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman ProblemParticle Swarm Optimization to Solve Multiple Traveling Salesman Problem
Particle Swarm Optimization to Solve Multiple Traveling Salesman Problem
 
Traveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed EnvironmentTraveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed Environment
 
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTTRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
 
Ou3425912596
Ou3425912596Ou3425912596
Ou3425912596
 
An Application of Assignment Problem in Laptop Selection Problem Using MATLAB
An Application of Assignment Problem in Laptop Selection Problem Using MATLAB An Application of Assignment Problem in Laptop Selection Problem Using MATLAB
An Application of Assignment Problem in Laptop Selection Problem Using MATLAB
 
A0280115(1)
A0280115(1)A0280115(1)
A0280115(1)
 
Cs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer keyCs6402 design and analysis of algorithms may june 2016 answer key
Cs6402 design and analysis of algorithms may june 2016 answer key
 
Assignment problem
Assignment problemAssignment problem
Assignment problem
 
N41049093
N41049093N41049093
N41049093
 
A Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment ProblemA Comparative Analysis Of Assignment Problem
A Comparative Analysis Of Assignment Problem
 
CS345-Algorithms-II-Lecture-1-CS345-2016.pdf
CS345-Algorithms-II-Lecture-1-CS345-2016.pdfCS345-Algorithms-II-Lecture-1-CS345-2016.pdf
CS345-Algorithms-II-Lecture-1-CS345-2016.pdf
 
99995320.ppt
99995320.ppt99995320.ppt
99995320.ppt
 
D026017036
D026017036D026017036
D026017036
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Ac4103169172

  • 1. Ghadle Kirtiwant P et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.169-172 RESEARCH ARTICLE www.ijera.com OPEN ACCESS An Application of Assignment Problem in Traveling Salesman Problem (TSP) Ghadle Kirtiwant P, Muley Yogesh M Department of Mathematics, Dr. Babasaheb Ambedkar Marathwada University, Aurangabad - 431004. MS. India. Abstract Assignment problem (AP) is completely degenerate form of a transportation problem. It appears in some decision-making situations, this paper focused on TSP for finding the shortest closed route. By using „ROA Method‟ and „Ghadle and Muley Rule‟ will get optimal solution for TSP within few steps. Keyword- Assignment problem, TSP, linear integer programming, Revised Ones Assignment Method (ROA). I. Introduction III. The Traveling Salesman Problem (TSP) is a classical combinatorial optimization problem, which is simple to state but very difficult to solve. The problem is to find the shortest possible tour through a set of N vertices so that each vertex is visited exactly once. In this paper traveling salesman problem solved like assignment problem using linear programming approach. The constraints require that the salesman must enter and leave each city exactly once. II. Mathematical Formulation of Traveling Salesman Problem (TSP) C13 … C21 C23 … C2n C31 C32 8 … C3n Starting from his home, a salesman wishes to visit each of (n−1) other cities and return home at minimal cost. He must visit each city exactly once and it costs Cij to travel from city i to city j. We may be tempted to formulate his problem as the assignment problem:  1 ; if he goes from city i to city j. Xij =   0 ; otherwise. Then the mathematical formulation of the assignment problem is, Subject to the constraints, n n Minimize Z =   CijX ij .......(1) i=1 j=1 n n  Xij =1 and  Xij =1 : Xij =0 or 1 .......(2) i=1 j=1 for all i=1,2,....n and j=1,2,.....n. C1n … … 8 … n Cn1 Cn2 Cn3 … 8 3 … 2 … 1 8 C12 8 Let 1, 2 … n be the labels of the n cities and C = Ci,j be an n x n cost matrix where Ci,j denotes the cost of traveling from city i to city j. Then, the general formulation of the traveling salesman problem (TSP), as described by Assignment Problem, is shown below. 1 2 3 … n ASSIGNMENT BASED FORMULATION If Ci,j = Cj,i , the problem is called symmetric traveling salesman problem (STSP). www.ijera.com IV. Revised Ones Assignment Method (ROA) for Solving Assignment Problem. [1, 2] This section presents a method to solve the assignment problem which is different from the preceding method. We call it “Revised Ones Assignment Method” because of making assignment in terms of ones. This method is based on creating some ones in the assignment matrix and then tries to find a complete assignment in terms of ones. By a complete assignment we mean an assignment plan containing exactly n assigned independent ones, one in each row and one in each column. 169 | P a g e
  • 2. Ghadle Kirtiwant P et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.169-172 Now, consider the assignment matrix where C ij is the cost or effectiveness of assigning ith machine. 1 1 2  n  2 The new algorithm is as follows. Let (1-2) be an assignment problem in which the objective function can be minimized or maximized. Step 1 In a minimization (maximization) case, find the minimum (maximum) element of each row in the assignment matrix (say ai) and write it on the right hand side of the matrix.  2  C11 C12   C 21 C 22     C C n2  n1 n  C1n  a1   C 2n  a 2       C nn  a n  Then divide each element of ith row of the matrix by ai. These operations create at least one ones in each rows. In term of ones for each row and column, do assignment. Otherwise go to step 2. Step 2 Find the minimum (maximum) element of each column in assignment matrix (say bj), and write it below jth column. Then divide each element of jth column of the matrix by bj. These operations create at least one ones in each columns. Make assignment in terms of ones. If no feasible assignment can be achieved from step (1) and (2) then go to step 3. 1 1  C11 a1  2  C 21 a 2     n  C n1 a n  b1 2  n C12 a1  C1n a1   C 22 a 2  C 2n a 2       C n2 a n  C nn a n   b2  bn Step 3 Draw the minimum number of lines to cover all the ones of the matrix. If the number of drawn lines less than n, then the complete assignment is not www.ijera.com possible, while if the number of lines is exactly equal to n, then the complete assignment is obtained. Step 4 n  C11 C12  C1n     C 21 C 22  C 2n          C C n2  C nn   n1  1 www.ijera.com If a complete assignment program is not possible in step 3, then select the smallest (largest) element (say dij) out of those which do not lie on any of the lines in the above matrix. Then divide by dij each element of the uncovered rows or columns, which dij lies on it. This operation creates some new ones to this row or column. If still a complete optimal assignment is not achieved in this new matrix, then use step 4 and 3 iteratively. By repeating the same procedure the optimal assignment will be obtained. (To assign one we have add Step 5 which is mentioned below.) Step 5 (Ghadle and Muley Rule) [3] i) For minimization problem select max number from calculated matrix and write it on right hand side as well as bottom side.  To assign one, start from min number of columns (bottom side) and select ones.  If there are more than one ones in any column then ignore temporarily, and give last priority to that column.  If still there are identical ones in column then give the priority to max number of rows (right hand side).  If there are more than one ones in any row then give first come priority. Or ii) For maximization problem select min number from calculated matrix and write it on right hand side as well as bottom side.  To assign one, start from max number of columns (bottom side) and select ones.  If there are more than one ones in any column then ignore temporarily, and give last priority to that column.  If still there are identical ones in column then give the priority to min number of rows (right hand side).  If there are more than one ones in any row then give first come priority. Priority rule One question arises here. What to do with non square matrix? To make square, a non square matrix, we add one artificial row or column which all elements are one. Thus we solve the problem with the new matrix, by using the new method. The matrix after performing the steps reduces to a matrix which has ones in each rows and columns. So, the optimal assignment has been reached. 170 | P a g e
  • 3. Ghadle Kirtiwant P et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.169-172 V. Applications The Ashtavinayaka Yatra is the most important worship yatra in Maharashtra. Ashtavinayaka means "Eight Ganeshas" when translated in Sanskrit. Lord Ganesha is the Hindu God of unity, remover of obstacles, learning and prosperity. This yatra covers the eight holy temples of Lord Ganesha which are located around Pune . Each temple has its own individuality and mythology. The deities in each temple are distinct from each other. www.ijera.com Some of these deities are described as 'Swayambhu' figurines. This is to point to that no human created these deities; they were formed completely by nature. According to Hindu Shastra, you will have to visit the Moreshwar temple at Morgaon first and then in sequence visit the temples at Siddhatek, Pali, Mahad, Thevur, Lenyandri, Ozar, and Ranjangaon and in last visit the Moreshwar temple again. This will complete your Ashtavinayak-Yatra. City Aurangabad Lenyadri Mahad Morgaon Ozar Pali Ranjangaon Sidhatek Theur Aurangabad 225 304 236 213 339 187 197 226 225 140 153 15 175 84 160 110 304 140 152 132 41 121 190 108 236 153 152 143 188 70 73 63 213 15 132 143 166 74 145 102 339 175 41 188 166 157 226 144 187 84 121 70 74 157 81 43 197 160 190 73 145 226 81 90 226 110 108 63 102 144 43 90 - Lenyadri Mahad Morgaon Ozar Pali Ranjangaon Sidhatek Theur By using „Revised Ones Assignment Method (ROA)‟ and „Ghadle and Muley rule‟ the final solution obtained was, www.ijera.com 171 | P a g e
  • 4. Ghadle Kirtiwant P et al Int. Journal of Engineering Research and Applications ISSN : 2248-9622, Vol. 4, Issue 1( Version 3), January 2014, pp.169-172 www.ijera.com 1 2 3 4 5 6 7 8 9 City Aurangabad Lenyadri Mahad Morgaon Ozar Pali Ranjangaon Sidhatek Theur 1 Aurangabad - 225 304 236 213 339 187 197 226 2 Lenyadri 225 - 140 153 15 175 84 160 110 3 Mahad 304 140 - 152 132 41 121 190 108 4 Morgaon 236 153 152 - 143 188 70 73 63 5 Ozar 213 15 132 143 - 166 74 145 102 6 Pali 339 175 41 188 166 - 157 226 144 7 Ranjangaon 187 84 121 70 74 157 - 81 43 8 Sidhatek 197 160 190 73 145 226 81 - 90 9 Theur 226 110 108 63 102 144 43 90 - The solution consist in three cycle which are (1,7),(7,9),(9,4),(4,8),(8,1) ; (2,5),(5,2); (3,6),(6,3) and minimum distance is 675 km. If we again find next minimum values from column 7th, 5th and 6th , which will cover whole journey of Ashtavinayak Yatra in 987 km. VI. [3] Ghadle Kirtiwant P, Muley Yogesh M (2013), Revised Ones Assignment Method for Solving Assignment Problem, Journal of Statistics and Mathematics, ISSN: 09768807 & E-ISSN: 0976-8815, Volume 4, Issue 1, 147-150. Conclusions In this paper, a Revised Ones Assignment Method (ROA) used to assign ones directly and for solving assignment problem as well as for Traveling Salesman Problem. This method can be used for maximize as well as minimized objective functions of Assignment problem. References [1] [2] Hadi Basirzadeh, (2012). Ones Assignment Method for solving Assignment Problems, Applied Mathematical Sciences, Vol. 6, 2012, No. 47, 2345-2355. Shweta singh, G.C.Dubey, Rajesh Shrivastava, (August 2012). A Comparative Analysis of Assignment Problem, IOSR Journal of Engineering (IOSRJEN), ISSN: 2250-3021, Volume 2, Issue 8, 01-15. www.ijera.com 172 | P a g e