32
Integer Programming ISE 418 Lecture 7 Dr. Ted Ralphs

Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

Embed Size (px)

Citation preview

Page 1: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

Integer ProgrammingISE 418

Lecture 7

Dr. Ted Ralphs

Page 2: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 1

Reading for This Lecture

• Nemhauser and Wolsey Sections II.3.1, II.3.6, II.4.1, II.4.2, II.5.4

• Wolsey Chapter 7

• CCZ Chapter 1

• “Constraint Integer Programming,” Achterberg, Chapter II

1

Page 3: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 2

Computational Integer Optimization

• Before delving any deeper into the theory of integer optimization, wenow turn to the basics of how integer optimization problems are solvedin practice.

• Computationally, the most important aspects of solving integeroptimization problems are

– A method for obtaining good bounds on the value of the optimalsolution (usually by solving a relaxation or dual; and

– A method for generating valid disjunctions violated by a given(infeasible) solution.

• In this lecture, we will motivate this fact by introducing the branch andbound algorithm.

• We will then look at various methods of obtaining bounds.

• Later, we will examine branch and bound in more detail.

2

Page 4: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 3

Integer Optimization and Disjunction

• As we know, the difficulty in solving an integer optimization problemarises from the requirement that certain variables take on integer values.

• Such requirements can be described in terms of logical disjunctions,constraints of the form

x ∈⋃

1≤i≤k

Xi

for Xi ⊆ Rn, i ∈ 1, . . . , k.

• The integer variables in a given formulation may represent logicalconditions that were originally expressed in terms of disjunction.

• In fact, the MILP Representability Theorem tells us that any MILP canbe re-formulated as an optimization problem whose feasible region

F =k⋃

i=1

Pi + intcone{r1, . . . , rt}

is the disjunctive set F defined above, for some appropriately chosenpolytopes P1, . . . ,Pk and vectors r1, . . . , rt ∈ Zn.

3

Page 5: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 4

Two Conceptual Reformulations

• From what we have seen so far, we have to two conceptual reformulationsof a given integer optimization problem.

• The first is in terms of disjunction:

max

{c>x | x ∈

(k⋃

i=1

Pi + intcone{r1, . . . , rt})}

(DIS)

• The second is in terms of valid inequalities:

max{c>x | x ∈ conv(S)

}(CP)

where S is the feasible region.

• In principle, if we had a method for generating either of thesereformulations, this would lead to a practical method of solution.

• Unfortunately, these reformulations are necessarily of exponential size ingeneral, so there can be no way of generating them efficiently.

4

Page 6: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 5

Valid Disjunctions

• In practice, we dynamically generate parts of the reformulations (CP) and(DIS) in order to obtain a proof of optimality for a particular instance.

• We can think of the concept of a valid inequality as arising from ourdesire to approximate conv(S) (the feasible region of (CP)).

• Similarly, we also have the concept of valid disjunction, arising from adesire to approximate the feasible region of (DIS).

Definition 1. Let {Xi}ki=1 be a collection of subsets of Rn. Then if⋃1≤i≤kXi ⊇ S, the disjunction associated with {Xi}ki=1 is said to be

valid for an MILP with feasible set S.

Definition 2. If {Xi}ki=1 is a disjunction valid for S andXi is polyhedralfor all i ∈ {1, . . . , k}, then we say the disjunction is linear.

Definition 3. If {Xi}ki=1 is a disjunction valid for S and Xi ∩Xj = ∅for all i, j ∈ {1, . . . , k}, we say the disjunction is partitive.

Definition 4. If {Xi}ki=1 is a disjunction valid for S that is both linearand partitive, we call it admissible.

5

Page 7: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 6

A Generic Algorithm

• Many algorithms in optimization consist of the iterative solution of acertain “dual” problem (or relaxation) that is improved dynamically.

• A simple algorithm for solving MILPs is to start by solving the LPrelaxation to obtain

x̂ ∈ argmaxx∈P c>x

and the upper bound U = c>x̂ ≥ zIP

• Then determine either a valid disjunction or a valid inequality that isviolated by x̂ and “add” it to the relaxation.

• Resolve the strengthened relaxation and continue this process untilU = zIP (or the solution to the relaxation is in S).

• This vague algorithm is, at a high level, how we solve MILPs.

• The condition that U = zIP is the basic optimality condition used in awide range of optimization algorithms.

6

Page 8: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 7

Optimality Conditions

• Let us now consider an MILP (A, b, c, p) with feasible set S = P ∩ (Zp+×

Rn−p+ ).

• Further, let {Xi}ki=1 be a linear disjunction valid for this MILP so thatXi ∩ P ⊆ Rn is polyhedral.

• Then maxXi∩S c>x is an MILP for all i ∈ 1, . . . , k.

• For each i = 1, . . . , k, let Pi be a polyhedron such that Xi ∩ S ⊆ Pi ⊆P ∩Xi}.• In other words, Pi is a valid formulation for subproblem i, possibly

strengthened by additional valid inequalities.

• Note that {Pi}ki=1 is itself a valid linear disjunction.

• We will see why there is a distinction between Xi and Pi later on.

• Conceptually, we are combining and relaxing the formulations (CP) and(DIS).

7

Page 9: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 8

Optimality Conditions (cont’d)

• From the disjunction on the previous slide, we obtain a relaxation of ageneral MILP.

• This relaxation yields a practical set of optimality conditions.

• In particular,max

i∈1,...,kmax

x∈Pi∩Rn+

c>x ≥ zIP, (1)

which implies that if we have x∗ ∈ S such that

maxi∈1,...,k

maxx∈Pi∩Rn

+

c>x = c>x∗, (OPT)

then x∗ must be optimal.

8

Page 10: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 9

More on Optimality Conditions

• Although it is not obvious, these optimality conditions can be seen as ageneralization of those from LP.

• They are also the optimality conditions implicitly underlying manyadvanced algorithms.

• There is an associated duality theory that we will see later.

• By parameterizing (1), we obtain a “dual function” that is the solutionto a dual that generalizes the LP dual.

9

Page 11: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 10

Branch and Bound

• Branch and bound is the most commonly-used algorithm for solvingMILPs.

• It is a recursive, divide-and-conquer approach.

• Suppose S is the feasible set for an MILP and we wish to computemaxx∈S c

>x.

• Consider a partition of S into subsets S1, . . .Sk. Then

maxx∈S

c>x = max{1≤i≤k}

{maxx∈Si

c>x}

.

• In other words, we can optimize over each subset separately.

• Idea: If we can’t solve the original problem directly, we might be able tosolve the smaller subproblems recursively.

• Dividing the original problem into subproblems is called branching.

• Taken to the extreme, this scheme is equivalent to complete enumeration.

10

Page 12: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 11

A Generic Branch-and-Bound Algorithm

1: Add root optimization problem S0 := S to a priority queue Q. Setglobal upper bound U ←∞ and global lower bound L← −∞

2: while U > L do3: Remove the highest priority subproblem Si from Q.4: Bound Si to obtain (updated) final upper bound U(i) and (updated)

final lower bound L(i).5: Set L← max{L(i), U}.6: if U(i) > L then7: Branch to create child subproblems Si1, . . . ,Sik of subproblem Si

with

- lower bounds L(i1), . . . L(ik) (initialized to −∞ by default); and- initial upper bounds U(i1), . . . , U(ik) (initialized to U(i) by

default).by partitioning Si (imposing a violated valid disjunction)

8: Add Si1, . . . ,Sik to Q.9: Set U ← maxi∈QU(i).

10: end if11: end while

11

Page 13: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 12

Branching in Branch and Bound

• Branching is achieved by selecting an admissible disjunction {Xi}ki=1 andusing it to partition S, e.g., Si = S ∩Xi.

• We only consider linear disjunctions so that the subproblem remainMILPs after branching.

• The reason for choosing partitive disjunctions is self-evident.

• The way this disjunction is selected is called the branching method andis a topic we will examine in some depth.

• Generally speaking, we want x∗ 6∈ ∪1≤i≤kXi, where x∗ is the (infeasible)solution produced by solving the bounding problem.

• In this case, we say the disjunction is violated by x∗.

• A typical disjunction is

X1 = {x ∈ Rn | xj ≤ bx∗jc}, (2)

X2 = {x ∈ Rn | xj ≥ dx∗je}, (3)

where x∗ ∈ argmaxx∈P c>x.

12

Page 14: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 13

Bounding in Branch and Bound

• The bounding problem is a problem solved to obtain a bound on theoptimal solution value of a subproblem maxSi c

>x.

• Typically, the bounding problem is either a relaxation or a dual of thesubproblem (these concepts will be defined formally in Lecture 7).

• Solving the bounding problem serves two purposes.

– In some cases, the solution x∗ to the relaxation may actually be afeasible solution (x∗ ∈ S), in which case c>x∗ is a global lower bound.

– Bounding enables us to inexpensively a bound U(i) on the optimalsolution value of subproblem i.

• If U(i) ≤ L, then Si can’t contain a solution strictly better than the bestone found so far.

• Thus, we may discard or prune subproblem i.

13

Page 15: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 14

Constructing a Bounding Problem

• There are many ways to construct a bounding problem and this will bethe topic of later lectures.

• The easiest of the these is to form the LP relaxation maxP∩Rn+∩Xi

,obtained by dropping the integrality constraints.

• For the rest of the lecture, assume all variables have finite upper andlower bounds.

14

Page 16: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 15

LP-based Branch and Bound: Initial Subproblem

• In LP-based branch and bound, we first solve the LP relaxation of theoriginal problem. The result is one of the following:

1. The LP is infeasible ⇒ MILP is infeasible.2. We obtain a feasible solution for the MILP ⇒ optimal solution.3. We obtain an optimal solution to the LP that is not feasible for the

MILP ⇒ upper bound.

• In the first two cases, we are finished.

• In the third case, we must branch and recursively solve the resultingsubproblems.

15

Page 17: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 16

Branching in LP-based Branch and Bound

• In LP-based branch and bound, the most commonly used disjunctionsare the variable disjunctions, imposed as follows:

– Select a variable i whose value x̂i is fractional in the LP solution.– Create two subproblems.∗ In one subproblem, impose the constraint xi ≤ bx̂ic.∗ In the other subproblem, impose the constraint xi ≥ dx̂ie.

• What does it mean in a 0-1 problem?

16

Page 18: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 17

The Geometry of Branching

Figure 1: The original feasible region

17

Page 19: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 18

The Geometry of Branching (cont’d)

Figure 2: Branching on disjunction x1 ≤ 2 OR x1 ≥ 3

18

Page 20: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 19

Continuing the Algorithm After Branching

• After branching, we solve each of the subproblems recursively.

• Now we have an additional factor to consider.

• As mentioned earlier, if the optimal solution value to the LP relaxationis smaller than the current lower bound, we need not consider thesubproblem further.

• This is the key to the efficiency of the algorithm.

• Terminology

– If we picture the subproblems graphically, they form a search tree.– Each subproblem is linked to its parent and eventually to its children.– Eliminating a problem from further consideration is called pruning.– The act of bounding and then branching is called processing.– A subproblem that has not yet been considered is called a candidate

for processing.– The set of candidates for processing is called the candidate list.

19

Page 21: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 20

The Geometry of Branching

Figure 3: Branching on disjunction x2 ≤ 4 OR x2 ≥ 5 in Subproblem 2

20

Page 22: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 21

LP-based Branch and Bound Algorithm

1. To start, derive a lower bound L using a heuristic method.

2. Put the original problem on the candidate list.

3. Select a problem Si from the candidate list and solve the LP relaxationto obtain the bound U(i).

• If the LP is infeasible ⇒ node can be pruned.• Otherwise, if U(i) ≤ L ⇒ node can be pruned.• Otherwise, if U(i) > L and the solution is feasible for the MILP ⇒

set L← U(i).• Otherwise, branch and add the new subproblem to the candidate list.

4. If the candidate list in nonempty, go to Step 2. Otherwise, the algorithmis completed.

21

Page 23: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 22

Branch and Bound Tree

Key

x18 ≤ 0.0

x5 ≤ 0.0

x35 ≤ 0.0

x18 ≥ 1.0

x10 ≤ 0.0

x14 ≤ 0.0

x9 ≤ 0.0x4 ≥ 1.0

x22 ≥ 1.0

x14 ≤ 0.0

x0 ≤ 0.0

x11 ≥ 1.0

x26 ≥ 1.0

x4 ≤ 0.0

x16 ≤ 0.0

x0 ≥ 1.0

x18 ≥ 1.0

x5 ≥ 1.0

x35 ≥ 1.0

x35 ≥ 1.0

x14 ≥ 1.0

x14 ≥ 1.0

x0 ≥ 1.0

x2 ≤ 0.0x15 ≤ 0.0

x34 ≥ 1.0

x22 ≤ 0.0 x11 ≤ 0.0

x20 ≤ 0.0

x14 ≤ 0.0

x0 ≤ 0.0

x2 ≥ 1.0 x35 ≥ 1.0

x0 ≤ 0.0

x25 ≤ 0.0

x15 ≥ 1.0x15 ≤ 0.0

x26 ≥ 1.0

x20 ≤ 0.0

x25 ≥ 1.0

x34 ≥ 1.0x34 ≤ 0.0

x22 ≥ 1.0

x34 ≥ 1.0 x20 ≥ 1.0x34 ≤ 0.0 x35 ≤ 0.0

x17 ≥ 1.0

x16 ≥ 1.0

x2 ≥ 1.0x0 ≤ 0.0

x22 ≤ 0.0

x35 ≥ 1.0

x26 ≤ 0.0x15 ≥ 1.0

x20 ≥ 1.0

x2 ≤ 0.0

x10 ≥ 1.0

x34 ≤ 0.0

x9 ≥ 1.0

x24 ≤ 0.0

x35 ≤ 0.0

x18 ≤ 0.0x17 ≤ 0.0

x14 ≥ 1.0

x0 ≥ 1.0

x0 ≥ 1.0

x26 ≤ 0.0

x35 ≤ 0.0

x24 ≥ 1.0

178.5

176.0

178.3

180.9

181.6

182.0

180.5 182.6181.6

179.0181.4

180.5 182.2

182.0 182.2181.3 177.6

179.5 183.5

182.7 182.9 182.5Pruned

Candidate

180.3 181.9

181.1 180.5181.9 180.9

185.9

185.1184.6

183.6184.5 184.5183.9

183.2182.2

179.5

182.8

182.5

Candidate

Infeasible

182.3

182.0

Pruned

Solution

180.0 181.7181.2

179.9

183.0

178.7

180.5 182.5

180.0

184.1183.3183.0183.8 182.2182.7

182.9180.4 183.8181.5183.1182.6

182.4182.2

183.2181.0

182.2

179.1

181.7

181.5

22

Page 24: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 23

Termination Conditions

• Note that although we use multiple disjunctions to branch during thealgorithm, the tree can still be seen as encoding a single disjunction.

• To see this, consider the set T of subproblems associated with the leafnodes in the tree.

– Provided that we use admissible disjunctions for branching, the feasibleregions of these subproblems are a partition of S.

– Furthermore, we will see that there exists a collection of polyhedra{Pi}i∈T , where∗ Pi is a formulation for subproblem i; and∗ {Pi}ki=1 is admissible with respect to S.

• When this disjunction, along with the best solution found so far satisfiesthe optimality conditions (OPT), the algorithm terminates.

• We will revisit this more formally as we further develop the supportingtheory.

23

Page 25: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 24

Ensuring Finite Convergence

• For LP-based branch and bound, ensuring convergence requires aconvergent branching method.

• Roughly speaking, a convergent branching method is one which will

– produce a violated admissible disjunction whenever the solution to thebounding problem is infeasible; and

– if applied recursively, guarantee that at some finite depth, any resultingbounding problem will either∗ produce a feasible solution (to the original MILP); or∗ be proven infeasible; or∗ be pruned by bound.

• Typically, we achieve this by ensuring that at some finite depth, thefeasible region of the bounding problem contains at most one feasiblesolution.

• We will also revisit this result more formally as we develop the supportingtheory.

24

Page 26: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 25

Algorithmic Choices in Branch and Bound

• Although the basic algorithm is straightforward, the efficiency of it inpractice depends strongly on making good algorithmic choices.

• These algorithmic choices are made largely by heuristics that guide thealgorithm.

• Basic decisions to be made include

– The bounding method(s).– The method of selecting the next candidate to process.∗ “Best-first” always chooses the candidate with the highest upper

bound.∗ This rule minimizes the size of the tree (why?).∗ There may be practical reasons to deviate from this rule.

– The method of branching.∗ Branching wisely is extremely important.∗ A “poor” branching can slow the algorithm significantly.

• We will cover the last two topics in more detail in later lectures.

25

Page 27: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 26

A Thousand Words

Figure 4: Tree after 400 nodes

Note that we are minimizing here!

26

Page 28: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 27

A Thousand Words

Figure 5: Tree after 1200 nodes

27

Page 29: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 28

A Thousand Words

Figure 6: Final tree

28

Page 30: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 29

Global Bounds

• The pictures show the evolution of the branch and bound process.

• Nodes are pictured at a height equal to that of their lower bound (weare minimizing in this case!!).

– Red: candidates for processing/branching– Green: branched or infeasible– Turquoise: pruned by bound (possibly having produced a feasible

solution) or infeasible.

• The red line is the level of the current best solution (global upper bound).

• The level of the highest red node is the global lower bound.

• As the procedure evolves, the two bounds grow together.

• The goal is for this to happen as quickly as possible.

29

Page 31: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 30

Tradeoffs

• We will see that there are many tradeoffs to be managed in branch andbound.

• Note that in the final tree:

– Nodes below the line were pruned by bound (and may or may not havegenerated a feasible solution) or were infeasible.

– Nodes above the line were either branched or were infeasible orgenerated an optimal solution.

• There is a tradeoff between the goals of moving the upper and lowerbounds

– The nodes below the line serve to move the upper bound.– The nodes above the line serve to move the lower bound.

• It is clear that these two goals are somewhat antithetical.

• The search strategy has to achieve a balance between these twoantithetical goals.

30

Page 32: Integer Programming ISE 418 Lecture 7 - Lehigh Universitycoral.ie.lehigh.edu/~ted/files/ie418/lectures/Lecture7.pdf · In an indirect way ... ISE 418 Lecture 7 14 A Quick Overview

ISE 418 Lecture 7 31

Tradeoffs in Practice

• In a practical implementation, there are many more choices and tradeoffsthan those we have indicated so far.

• The complexity of the problem of optimizing the algorithm itself isimmense.

• We have additional auxiliary methods, such as preprocessing and primalheuristics that we can choose to devote more or less effort to.

• We also have the choice of how much effort to devote to choosing agood candidate for branching.

• Finally, we have the choice of how much effort to devote to proving agood bound on the subproblem.

• It is the careful balance of the levels of effort devoted to each of thesealgorithmic processes the leads to a good algorithmic implementation.

31