Revision:Route Inspection - The Student Room
The Student Room

Revision:Route Inspection

TSR Wiki > Study Help > Subjects and Revision > Revision Notes > Mathematics > Route Inspection



Route inspection is the problem of finding a least weight closed trail covering every arc of a network.

A route is traversable if and only if it is Eulerian (or semi-Eulerian). An Eulerian graph has nodes of even order only. In an Eulerian graph, the least weight path is the sum of all the arc weights.

To find the least weight path of non-Eulerian graphs we must first effectively make the graph Eulerian by adding arcs to make all nodes even. These newly added arcs are the routes that must be repeated to make the graph traversable. In this case the least weight path is the sum of all arc weights plus the sum of the repeated weights (i.e. the newly added weights).

Contents

The Chinese Postman algorithm

This algorithm produces the least weight closed trail containing every arc in a network, starting and ending at the same node.

  1. Find all nodes of odd order
  2. For every pair of odd nodes find the connecting path of minimum weight
  3. Group the odd nodes so that the sum of the weights is minimised
  4. Add the new minimum weight paths found in step 3 to the original graph.

Weight of closed trail = total weight of network + sum of minimum weight paths found in step 3

Example

Image:Route inspection question.jpg

  • Nodes of odd order are A, B, D and E
  • Pairings possible:
    • AB (20)
    • AD (30)
    • AE (25)
    • BD (32 + 40 = 72)
    • BE (45)
    • DE (35)
  • Groupings possible:
    • AB, DE (20 + 35 = 55)
    • AD, BE (30 + 45 = 75)
    • AE, BD (25 + 72 = 97)

Minimum weight grouping is AB, DE (55)

Image:Route inspection solution.jpg

  • Total weight of (original) network = 312
  • Minimum weight grouping = 55

Therefore, weight of closed trail = 312 + 55 = 367


Problems with the algorithm

As the number of odd nodes increases, the number of possible pairings to be considered increases dramatically. It is therefore impractical to do the algorithm by hand with more than 6 nodes. Even with a computer, it can become too time consuming - with 12 odd nodes there are 10395 combinations to consider.

Also See

See the other D1 notes:

  1. Algorithms
  2. Sorting algorithms
  3. Packing algorithms
  4. Graphs and networks
  5. Minimum connector problems
  6. The shortest path
  7. Route inspection
  8. The travelling salesman problem
  9. Linear programming
  10. The simplex algorithm

Comments

Discussions Toggle
God cannot know everything. Carnal love, reproduction or sex.
started by: Greatest I am
forum: Religion
replies: 31
last post: 1 Minute Ago
Help me shed a few pounds
started by: Megaross
forum: Fitness
replies: 5
last post: 1 Minute Ago
Does being overweight really make you ugly?
started by: Anonymous
forum: Health
replies: 115
last post: 2 Minutes Ago
The African Society Part VII
started by: The Cornerstone
forum: International Lounge
replies: 7101
last post: 2 Minutes Ago
How do you motivate yourself to get up in the morning?
started by: Lewk
forum: Student Life
replies: 58
last post: 2 Minutes Ago
Flat mate thinks I'm gay. why?
started by: bestofyou
forum: Advice on Everyday Issues
replies: 0
last post: 2 Minutes Ago
Housemate is denying he told me he cheated
started by: Anonymous
forum: Friends, Family and Work
replies: 19
last post: 3 Minutes Ago
LSE postgrad applicants 2012-13
started by: FinLuv
forum: Postgraduate
replies: 1310
last post: 3 Minutes Ago
with the new fees, is going to university even worth it?
started by: ellasmith
forum: Student Financial Support
replies: 18
last post: 3 Minutes Ago
Should there be legislation imposing a quota on women being on boards of companies?
started by: Herr
forum: UK Politics
replies: 23
last post: 3 Minutes Ago
Third Class Degree in Physics
started by: fisi88
forum: Careers sectors and Employment
replies: 32
last post: 3 Minutes Ago
Terminology helppp!
started by: star_5
forum: English
replies: 1
last post: 4 Minutes Ago
Law - Birmingham / Warwick??? HELP!!
started by: karchun
forum: Law
replies: 8
last post: 4 Minutes Ago
Law Applicants 2012
started by: Jackasaurus Rex
forum: Law
replies: 2549
last post: 4 Minutes Ago
Manchester Medicine Applicants 2012
started by: areyousure?
forum: Medical Schools
replies: 988
last post: 4 Minutes Ago
Annoying Types of Twitter User
started by: ROYP
forum: Friends, Family and Work
replies: 19
last post: 5 Minutes Ago
Who do you want to replace Capello as England manager?
started by: TRS-T
forum: Football
replies: 165
last post: 5 Minutes Ago
Money for uni by matched betting
started by: sonyhamster
forum: Money and Finance
replies: 6229
last post: 5 Minutes Ago
Which designer bag do you want?
started by: Balmain
forum: Clothes and Accessories
replies: 33
last post: 5 Minutes Ago
TSR Motorbike Society- take 3!
started by: Bathwiggle
forum: Motoring
replies: 4466
last post: 6 Minutes Ago
Article Updates Toggle
Contact Us | Site Rules | Staying Safe on TSR | Advertising | Staff Blog | Essays & Coursework | Terms & Conditions | Top
Customise your TSR | Life Advice | Hobbies and Interests | Debate and Current Affairs | Study Help | University and University courses
Universities and HE Colleges | Careers, Employment and Gap Years | General Discussion

Customise your TSR