1. Iteration: Calculation of possible cost savings through pairwise permutation.
From \ To 01 12 23 34 45 50
01 -226 8 422
12 -289 354 -229
23 -62 -270
34 -208
45
50
Please note that we have only calculated all necessary values in this and the following tables.
Since we assume symmetric costs, a calculation of pairwise permutations below the table-
diagonal would lead to identical values. Therefore, a double calculation is unnecessary. Fur-
thermore, a calculation of pairwise permutations of connected route sections (for example a
change of 01 ↔ 12) does not make sense, as this step wouldn’t cause a change of route (and
therefore costs wouldn’t change).
We use pairwise permutation, which leads to a maximal cost reduction. Through pairwise
permutation of route 12 (Kassel-Hamburg) and route 34 (Stuttgart-Berlin), the reduced costs
are of 289 €. Consequently, our new route costs 2566 − 289 = 2277 [€] and goes from
Münster via Kassel, Stuttgart, Hamburg, Berlin and Dresden back to Münster.
, 2
2. Iteration: Calculation of possible cost reductions through pairwise permutation.
From \
To 01 13 32 24 45 50
01 -93 164 422
13 289 328 -96
32 253 -429
24 107
45
50
After the second iteration it becomes clear that a pairwise permutation of route 32 (Stuttgart-
Hamburg) and route 50 (Dresden-Münster) reduces costs of 429 €. Hence, the new route goes
from Münster, via Kassel, Stuttgart, Dresden, Berlin and Hamburg back to Münster and costs
2277 − 429 = 1848 [€] in total.
3. Iteration: Calculation of possible cost reductions through pairwise permutation.
From \ To 01 13 35 54 42 20
01 107 531 284
13 427 390 133
35 315 429
54 474
42
20
There are no further possible cost reductions. Consequently, the algorithm stops at this point.
Hence, the optimal route is found (Münster - Kassel - Stuttgart - Dresden - Berlin - Hamburg -
Münster) with costs of 1848 €.
Costs of the initial route: 2566 [€]
Costs of the optimal route: 1848 [€]
Therefore, a total of 718 € can be saved.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller bonouhw. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.49. You're not tied to anything after your purchase.