Overview
In Chapter 27 we discuss the problem of finding efficient approximation algorithms for those
problems that are NP-hard. We define the notion of a k-approximation, and design k–
approximations for the Euclidean version of the traveling salesman problem, for the bin
packing problem, for the Steiner tree problem, and for the facility location problem.
Chapter Objectives
After completing the chapter the student will know:
• The definition a k-approximation to an optimization decision problem
• An O(n2) algorithm for a 2-approximation for the Euclidean version of the traveling
salesman problem, but that for any k, an algorithm giving a k-approximation for the general
traveling salesman problem would imply that P = NP
Instructor Notes
In Exercise 27.13 the graph shown was missing a weight on edge {3,8}. In doing the
exercise, we placed a weight of 6 on this edge for definiteness.
The discussion on p. 848 establishing the approximation result shown in formula (27.2.5) can
be improved. It would best proceed by first establishing the following two lemmas. The sets
A,B,C,D discussed are those defined on p. 848. The proof of the Lemma 1 follows the exact
same lines that that given for case 1 on p. 848.
Lemma 1. Suppose all but at most one of the m bins in a bin packing are at least 2/3 full.
Then m ≤ m* + 1.
Proof. If si denotes the amount in bin i, we have: