Lab Week 7 PT4008 Christofides Algorithm, Branch and Bound: Presented By: Davoud Hosseinnezhad
Lab Week 7 PT4008 Christofides Algorithm, Branch and Bound: Presented By: Davoud Hosseinnezhad
The tour was A-B-C-B-H-F-E-G-E-D-A In Hamiltonian Tour, each node must have even degree.
The tour is A-B-C-H-F-E-G-D-A
with length of (4+) = 15.54.
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
mathematical optimization.
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Step 1: First we find the problem lower bound according to nearest neighbour algorithm:
For = 8 + 5 + 6 +6+ 5 = 32
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Step 2: The next branch calculation:
For = 9 + 6 + 8 + 5 +6 = 34
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Step 2: The next node is :
For = 7+5+8+5+6=31
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Step 3: Next we further branch from Node 5 as follows:
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Step 3: Next we further branch from Node 5 as follows:
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Step 3: The next branch:
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Step 3: The next branch:
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Q 2: Branch and Bound Algorithm: Find an optimum solution (minimum distance) using Branch and bound.
Q 3: Branch and Bound (VRPB): Explain how to apply branch and bound algorithm in vehicle routing problem
with backhauls (VRPB).
The Vehicle Routing Problem with Backhauls is a pickup/delivery problem where on each route all deliveries
must be made before any pickups. A two-phased solution methodology is proposed. In the first phase, a high
quality initial feasible solution is generated based on space filling curves.
Q 3: Branch and Bound (VRPB):
Suppose we have the following problem formulation of VRPB.
Q 3: Branch and Bound (VRPB):
Use Excel solver to find LP relaxation of the problem as follows:
Q 3: Branch and Bound (VRPB):
By changing the last equation of integrality constraints ({0,1}) to (<= 1) we will be able to find LP relaxation of
the problem and step by step, re-introducing integrality constraint for each variables.
Q 3: Branch and Bound (VRPB):
For Example: Make two branches for x23, x23 >=1, and x23<=0, by adding two constraints. Then we have the
following:
X23<=0 X23>=1
Using the same procedure, we continue the computation until all variables are either zero or one.