Proof versus plausibility
The logistics lab takes one vehicle, one depot and up to twelve stops, and approaches the same question four ways: a nearest-neighbour tour, a 2-opt improvement of that tour, an exact tour by dynamic programming over every subset of stops, and a lower bound from a 1-tree. This note reads the four numbers for the lab's built-in eight-stop example and asks what each one establishes. The stops and coordinates in that example are made up. Every figure below is the lab's output, or a difference of two outputs written out in the sentence.
Four numbers for one day
Each leg is the straight-line distance between two points, rounded to a whole number, so every tour length is an exact sum of integers. On the example the lab's comparison table reports these lengths.
- Exact optimum by Held-Karp: 27,569, visiting S1, S7, S6, S5, S4, S3, S2, S8 and returning to the depot.
- 2-opt from the nearest-neighbour tour: 28,613, which is 1,044 above the optimum, or 3.7869 percent.
- Nearest neighbour: 29,072, which is 1,503 above the optimum, or 5.4518 percent.
- 1-tree lower bound: 26,696, which is 873 below the optimum, or 3.1666 percent.
The lab also checks all 504 ordered triples of distinct points for a detour shorter than its direct leg and finds none, so the rounding has left the triangle inequality intact on this example. The audit sits under the distance matrix.
A route that looks right
Nearest neighbour starts at the depot and always drives to the closest stop still open. Its first leg is to S8 at 1,523, the shortest leg leaving the depot, and from S8 it goes to S4 at 3,106, the nearest stop from there. Every choice is the locally sensible one. On the lab's map the dashed nearest-neighbour tour does not cross itself. It is still 1,503 units longer than the shortest tour.
2-opt then reverses a segment of the tour whenever the reversal makes it strictly shorter. On this example it makes one improvement, runs a second pass that finds nothing, and stops at 28,613 with the order S8, S4, S5, S6, S7, S1, S2, S3. At that point no single reversal of any segment shortens the tour. That is the whole of what a converged 2-opt tour can claim, and on this example the claim holds 1,044 units above the optimum.
No crossings, sensible choices and no improving reversal are what make a route plausible. Those properties describe the route in hand. Whether a shorter route exists is a question about every other route, and answering it takes a different kind of computation.
What the dynamic programme proves
The Held-Karp programme, which the lab's method section dates to Held and Karp in 1962, stores for every set of stops still to visit and every stop the vehicle could be at the cheapest way to finish the tour. For eight stops that is 2 to the 8th, or 256 subsets, and the lab reports 1,024 states and 3,584 transitions. Every possible order of the stops passes through those states, so the smallest value the table produces is the minimum over all 8 factorial orders, 40,320 of them, or 20,160 distinct loops once each loop and its reverse are counted together.
The lab's step-through view reads the tour back out of the table one position at a time. At the first position, starting with S1 costs its leg of 3,105 plus a stored finish of 24,464, and starting with S8 costs 1,523 plus 26,046. Both total 27,569. They are the same loop driven in opposite directions, and the lab reports the one whose first stop has the lower input index. The optimum's last leg, from S8 back to the depot, is the same 1,523 leg that nearest neighbour takes first. Driven the other way, the optimum also starts at S8 and then goes to S2 at 3,720, which is a longer leg than the 3,106 to S4 that nearest neighbour picks.
The programme's answer is a proof for these numbers. It holds for this matrix of legs, and a change to any coordinate asks the question again. The lab stops at twelve stops, where the table holds 12 times 2 to the 11th, or 24,576 states.
What the lower bound proves
The 1-tree is a minimum spanning tree over the eight stops plus the two cheapest legs from the depot. On the example the tree is 22,327 and the two depot legs are 1,523 to S8 and 2,846 to S7, which sum to 26,696, as the certificate detail under the comparison table shows. Remove the two depot legs from any tour and what remains is a path through all eight stops, which can be no shorter than the spanning tree; the two removed legs can be no shorter than the two cheapest. So every tour on this example is at least 26,696. That statement can be checked with a spanning tree and two lookups, with no search over orders.
The bound is 873 below the optimum. Read alone, it places the shortest tour somewhere between 26,696 and the best tour in hand. The dynamic programme closes that interval at 27,569, and the lab's warning says so: the proof is the exhaustive programme, and the bound cross-checks it.
A bound also measures a heuristic tour without the optimum. The 2-opt tour is 28,613 minus 26,696, or 1,917, above the bound, so it can be at most 1,917 above the optimum. Its actual excess is 1,044. The nearest-neighbour tour is at most 29,072 minus 26,696, or 2,376, above the optimum, and its actual excess is 1,503. The bound overstates both excesses, and it states them without knowing the optimum.
A heuristic that finds the optimum
The lab's second example puts four stops on one straight road with the depot between them. Nearest neighbour drives 5,400. 2-opt makes one reversal and reaches 5,000, which the dynamic programme confirms is optimal: every optimal tour runs to one end of the road and back, and all four possible first stops tie at 5,000. The 1-tree bound on this road is 3,100, 1,900 below the optimum, or 38 percent.
Here the heuristic tour is the shortest one, and the bound is too loose to show it. Without the exhaustive programme the 2-opt tour of 5,000 is known only to lie within 1,900 of the optimum. The comparison table puts the 2-opt length and the bound in separate rows, and on this road only the exhaustive programme closes the distance between them.
A ceiling in the decisions lab
The decisions lab prices information with a bound of the same kind. Its expected value of perfect information is what it would be worth to learn the true hypothesis before acting, and its value-of-information view draws it as a dashed ceiling over the value of each actual test. In its screening example, with fictional payoffs, that ceiling is 3 under the prior. One test alone is worth 18/25, and both tests together 279/125, which the lab reports as 93/125 of the ceiling.
Both bounds come from relaxing the problem. The 1-tree allows a spanning tree and two depot legs where a tour is required; perfect information allows the decision to be made after the answer is known. Each relaxed problem is easier to solve and can only be at least as good as the real one, so its value bounds the real value from one side. The 1-tree bounds a cost from below and perfect information bounds a value from above.
References
- Logistics lab (LG-001), How the heuristics compare with the optimum, eight-stop and greedy-trap examples. Lengths, gaps and the certificate detail.
- Logistics lab, Inside the dynamic programme. Every candidate the reconstruction consults at each position.
- Logistics lab, Exact optimum, bounds and heuristics, the lab's method section.
- Logistics lab, The distance matrix and its triangle audit.
- Decisions lab (DEC-001), The value of information, screening example. Expected value of perfect and sample information as exact fractions.