nextupprevious
Next:8.5 To Probe FurtherUp:8.4 Traveling Salesman ProblemPrevious:8.4.1 A Greedy Algorithm for TSP

8.4.2 Optimal Solution for TSP using Branch and Bound

Principle

Suppose it is required to minimize an objective function. Suppose that we have a method for getting a lower bound on the cost of any solution among those in the set of solutions represented by some subset. If the best solution found so far costs less than the lower bound for this subset, we need not explore this subset at all.

Let S be some subset of solutions. Let

  L(S) = a lower bound on the cost of
    $\displaystyle \mbox{any solution belonging to $S$ }$
Let  C = cost of the best solution
    found so far  
If C$ \leq$L(S), there is no need to explore S because it does
  not contain any better solution.
If C > L(S), then we need to explore S because it may
  contain a better solution.

A Lower Bound for a TSP

Note that:

Cost of any tour

                = $\displaystyle {\textstyle\frac{1}{2}}$$\displaystyle \sum_{v \in V}^{}$$\displaystyle \begin{array}{l} \mbox{(Sum of the costs ofthe two tour } \\ \mbox{ edges adjacent to $v$)}\end{array}$
Now:

The sum of the two tour edges adjacent to a given vertex v

                $\displaystyle \geq$   sum of the two edges of least cost adjacent to  v

Therefore:
 

Cost of any tour
 
                $\displaystyle \geq$$\displaystyle {\textstyle\frac{1}{2}}$$\displaystyle \sum_{v \in V}^{}$$\displaystyle \begin{array}{l} \mbox{(Sum of thecosts of the two least cost } \\ \mbox{edges adjacent to $v$)}\end{array}$
Example: See Figure 8.17.
 
 

Figure 8.17: Example of a complete graph with five vertices
\begin{figure}\centerline{\psfig{figure=figures/Ftsp4.ps}}\end{figure}
 
Node Least cost edges Total cost
     
a (a, d), (a, b) 5
b (a, b), (b, e) 6
c (c, b), (c, a) 8
d (d, a), (d, c) 7
e (e, b), (e, f) 9
Thus a lower bound on the cost of any tour
$\displaystyle {\textstyle\frac{1}{2}}$ (5 + 6 + 8 + 7 + 9) = 17.5
A solution Tree for a TSP instance: (edges are considered in lexicographic order): See Figure 8.18
 
 
Figure 8.18: A solution tree for a TSP instance
\begin{figure}\centerline{\psfig{figure=figures/Ftsp5.ps,width=5in}}\end{figure}
Figure 8.19: Branch and bound applied to a TSP instance
\begin{figure}\centerline{\psfig{figure=figures/Ftspbb.ps,width=5.5in}}\end{figure}



nextupprevious
Next:8.5 To Probe FurtherUp:8.4 Traveling Salesman ProblemPrevious:8.4.1 A Greedy Algorithm for TSP
eEL,CSA_Dept,IISc,Bangalore