An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf ·...

62
An Introduction to Semidefinite Programming for Combinatorial Optimization (Lecture 2) Sam Burer University of Iowa IPCO Summer School May 20-21, 2019 1

Transcript of An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf ·...

Page 1: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

An Introduction to Semidefinite Programming for Combinatorial

Optimization (Lecture 2)Sam Burer

University of Iowa

IPCO Summer SchoolMay 20-21, 2019

1

Page 2: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Outline

1. How to Convexify Nonconvex QP

2. Continuous Case

3. Mixed Binary Case

4. Mixed Integer Case

5. Final Thoughts

2

Page 3: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

How to Convexify Nonconvex QP

3

Page 4: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

What is

4

Page 5: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

5

Page 6: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

6

Page 7: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

What is ?

7

Page 8: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical Programming Series B, 151(1), 89–116, 2015 8

Page 9: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Source: B and Letchford, "Unbounded Convex Sets for Non-Convex Mixed-Integer Quadratic Programming", Mathematical Programming, 143(1-2), 231-256, 2014 9

Page 10: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

• is not polyhedral, and taking the closure is necessary

• This approach may not be the most practical approach

• Certainly characterizing is a hard problem

• If your QP doesn't contain all variables, it may make sense to convexify just over your variables

• In fact, it might be better to lift to an even larger set of variables

• But understanding is our goal today

10

Page 11: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Observation. Fully characterizing is equivalent to identifying all quadratics , which are nonnegative for all

Which is equivalent to identifying all matrices

whose associated quadratic is nonnegative over . Such matrices are called copositive over

In fact, is essentially the dual of "copositive over "11

Page 12: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Three Types of Valid Inequalities

12

Page 13: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

• Given , we will identify valid inequalities for

• Each will come from one of three classes...

13

Page 14: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

14

Page 15: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Type 1: Explicit Quadratics

If

constrains , then

is a valid linear inequality for

15

Page 16: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

16

Page 17: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Type 2: Linear Conjunctions

If

are valid for , then

is a valid linear inequality for

17

Page 18: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

18

Page 19: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Type 3: Linear Disjunctions

If every satisfies

then

is a valid linear inequality for

19

Page 20: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

20

Page 21: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Continuous Nonconvex QP

21

Page 22: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

1. Unconstrained

2. Linear equations

3. Nonnegative orthant

4. Nonnegative orthant, linear equations, and complementarities

5. Linear inequalities

6. Half-ellipsoid

7. Swiss cheese

22

Page 23: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Unconstrained

23

Page 24: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Not hard to prove from first principles 24

Page 25: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Proposition. is generated by all disjunctions of the form

where .

25

Page 26: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

26

Page 27: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Linear Equations

27

Page 28: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

B 2009 28

Page 29: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Theorem (B 2009). is generated by

1. all PSD disjunctions

2. conjuctions of the form for all pairs of constraints in .

29

Page 30: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Nonnegative Orthant

30

Page 31: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Not hard to prove from first principles 31

Page 32: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Theorem (Maxfiled-Minc 1962). if and only if .

32

Page 33: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

• In the literature, "copositive over the nonnegative orthant" is typically just called "copositive"

• Regarding , is the dual cone of the copositive matrices, i.e.,

• Generating a valid inequality for is hard, but we can do better with a sums-of-squares approach

33

Page 34: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Nonnegative Orthant, Linear Equations, and Complementarities

34

Page 35: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

B 2009 35

Page 36: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Linear Inequalities

36

Page 37: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

(equality when )

Anstreicher-B 2010, B 2015 37

Page 38: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

38

Page 39: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

The linear constraints

are known as RLT constraints

39

Page 40: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Half-Ellipsoid

40

Page 41: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Ye-Zhang 2003 41

Page 42: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

The constraint

is known as an SOCRLT constraint

42

Page 43: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

43

Page 44: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Theorem (Yang-Anstreicher-B 2018). Consider the intersection of

• ("ball")

• ("cuts")

• ("holes") for all , where each

If none of the cuts and holes touch each other, then

44

Page 45: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Mixed Binary QP

45

Page 46: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

B 2009 46

Page 47: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

As long as ensures

• for all

• bounded for all

47

Page 48: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

and

48

Page 49: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Proposition. Since ,

I.e., any valid inequality for is automatically valid for

49

Page 50: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

A partial converse holds...

Theorem (B-Letchford 2009). Adding to captures

Corollary. Any valid inequality for —which has no terms—is automatically valid for

50

Page 51: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Mixed Integer QP

51

Page 52: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Integer Lattice

52

Page 53: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

53

Page 54: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Theorem (B-Letchford 2014). For ,

The first inclusion holds with equality if but is strict for

Note. The cases are unresolved

54

Page 55: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Nonnegative Integer Lattice

55

Page 56: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Source: B and Letchford, "Unbounded Convex Sets for Non-Convex Mixed-Integer Quadratic Programming", Mathematical Programming, 143(1-2), 231-256, 2014 56

Page 57: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Theorem (B-Letchford 2014). For ,

But not much else is known !

57

Page 58: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Remark. Buchheim-Traversi showed how, in practice, to separate:

• for the ternary case

They also demonstrated the effectiveness of these cuts in terms of closing the gap

58

Page 59: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Crazy Observation. For both cases and , every extreme point of lies on a countably infinite number of facets

59

Page 60: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Final Thoughts

60

Page 61: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

• For nonconvex QP, there is still lots to do, especially the integer case

• Convexification involves aspects of

• convex analysis

• polyhedral theory

• SDP

• polynomial optimization

• Hence, a very interesting area to study

61

Page 62: An Introduction to Semidefinite Programming for ...umich.edu › ~ipco2019conf › burer2.pdf · Source: B, "A Gentle, Geometric Introduction to Copositive Optimization", Mathematical

Thank You

And good luck with your research!

62