Docsity

Branch and Bound Algorithm for Mixed Boolean-Convex Optimization: A Comprehensive Approach, Slides of Convex Optimization

Partial preview of the text

Download Branch and Bound Algorithm for Mixed Boolean-Convex Optimization: A Comprehensive Approach and more Slides Convex Optimization in PDF only on Docsity!

Branch and Bound Methods

basic ideas and attributes

unconstrained nonconvex optimization

mixed convex-Boolean optimization

Prof. S. Boyd, EE364b, Stanford University

docsity.com

Methods for nonconvex optimization problems

convex optimization methods

are (roughly) always global, always fast

for general nonconvex problems, we have to give up one

local optimization methods

are fast, but need not find global solution

(and even when they do, cannot certify it)

global optimization methods

find global solution (and certify it), but

are not always fast (indeed, are often slow)

1

docsity.com

Basic idea

rely on two subroutines that (efficiently) compute a lower and an upperbound on the optimal value over a given region –

upper bound can be found by choosing any point in the region, or bya local optimization method

lower bound can be found from convex relaxation, duality, Lipschitzor other bounds,...

basic idea: –

partition feasible set into convex sets, and find lower/upper boundsfor each

form global lower and upper bounds; quit if close enough

else, refine partition and repeat

3

docsity.com

Unconstrained nonconvex minimization

goal

: find global minimum of function

f

R

m

R

, over an

m

-dimensional rectangle

Q

init

, to within some prescribed accuracy

ǫ

for any rectangle

Q ⊆ Q

init

, we define

min

Q

) = inf

x

∈Q

f

x

global optimal value is

f

⋆

min

Q

init

Prof. S. Boyd, EE364b, Stanford University

4

docsity.com

Branch and bound algorithm

  1. compute lower and upper bounds on

f

⋆

set

L

1

lb

Q

init

and

U

1

ub

Q

init

terminate if

U

1

L

1

ǫ

  1. partition (split)

Q

init

into two rectangles

Q

init

Q

1

∪ Q

2

  1. compute

lb

Q

i

and

ub

Q

i

i

  1. update lower and upper bounds on

f

⋆

update lower bound:

L

2

= min

lb

Q

1

lb

Q

2

update upper bound:

U

2

= min

ub

Q

1

ub

Q

2

terminate if

U

2

L

2

ǫ

  1. refine partition, by splitting

Q

1

or

Q

2

, and repeat steps 3 and 4

Prof. S. Boyd, EE364b, Stanford University

6

docsity.com

can assume w.l.o.g.

U

i

is nonincreasing,

L

i

is nondecreasing

at each step we have a partially developed binary tree; childrencorrespond to the subrectangles formed by splitting the parent rectangle

leaves give the current partition of

Q

init

need rules for choosing, at each step –

which rectangle to split

which edge (variable) to split

where to split (what value of variable)

some good rules: split rectangle with smallest lower bound, alonglongest edge, in half

7

docsity.com

Pruning

can eliminate or

prune

any rectangle

Q

in tree with

lb

Q

> U

k

every point in rectangle is worse than current upper bound

hence cannot be optimal

does not affect algorithm, but does reduce storage requirements

can track progress of algorithm via –

total pruned (or unpruned) volume

number of pruned (or unpruned) leaves in partition

9

docsity.com

Convergence analysis

number of rectangles in partition

L

k

is

k

(without pruning)

total volume of these rectangles is

vol(

Q

init

, so

min

Q∈L

k

vol(

Q

vol(

Q

init

k

so for

k

large, at least one rectangle has small volume

need to show that small volume implies small size

this will imply that one rectangle has

U

L

small

hence

U

k

L

k

is small

10 docsity.com

Small volume implies small size

vol(

Q

i

u

i

l

i

max

i

u

i

l

i

min

i

u

i

l

i

m

−

1

size

Q

m

cond(

Q

m

−

1

size

Q

cond(

Q

m

and so size

Q

2)vol(

Q

1

/m

cond(

Q

therefore if

cond(

Q

is bounded and

vol(

Q

is small, size

Q

is small

Prof. S. Boyd, EE364b, Stanford University

12 docsity.com

Mixed Boolean-convex problem

minimize

f

0

x, z

subject to

f

i

x, z

i

,... , m

z

j

j

,... , n

x

R

p

is called

continuous variable

z

n

is called

Boolean variable

f

0

,... , f

n

are convex in

x

and

z

optimal value denoted

p

⋆

for each fixed

z

n

, reduced problem (with variable

x

) is convex

13 docsity.com

Lower bound via convex relaxation

convex relaxation

minimize

f

0

x, z

subject to

f

i

x, z

i

,... , m

z

j

j

,... , n

convex with (continuous) variables

x

and

z

, so easily solved

optimal value (denoted

L

1

) is lower bound on

p

⋆

, optimal value of

original problem

L

1

can be

(which implies original problem infeasible)

Prof. S. Boyd, EE364b, Stanford University

15 docsity.com

Upper bounds

can find an upper bound (denoted

U

1

) on

p

⋆

several ways

simplest method: round each relaxed Boolean variable

z

⋆i

to

or

more sophisticated method: round each Boolean variable, then solve theresulting convex problem in

x

randomized method: –

generate random

z

i

, with

Prob

z

i

z

⋆i

(optionally, solve for

x

again)

take best result out of some number of samples

upper bound can be

(method failed to produce a feasible point)

if

U

1

L

1

ǫ

we can quit

16 docsity.com

each of these is a Boolean-convex problem, with

n

Boolean variables

optimal value of original problem is the smaller of the optimal values ofthe two subproblems

can solve convex relaxations of subproblems to obtain lower and upperbounds on optimal values

18 docsity.com

New bounds from subproblems

let

L,

U

be lower, upper bounds for

z

k

let

L,

U

be lower, upper bounds for

z

k

min

L,

L

L

1

can assume w.l.o.g. that

min

U ,

U

U

1

thus, we have new bounds on

p

⋆

L

2

= min

L,

L

p

⋆

U

2

= min

U ,

U

19 docsity.com