Lecture 3: Semidefinite Programming Lecture Outline Part I: - - PowerPoint PPT Presentation

โ–ถ
lecture 3 semidefinite programming lecture outline
SMART_READER_LITE
LIVE PREVIEW

Lecture 3: Semidefinite Programming Lecture Outline Part I: - - PowerPoint PPT Presentation

Lecture 3: Semidefinite Programming Lecture Outline Part I: Semidefinite programming, examples, canonical form, and duality Part II: Strong Duality Failure Examples Part III: Conditions for strong duality Part IV: Solving convex


slide-1
SLIDE 1

Lecture 3: Semidefinite Programming

slide-2
SLIDE 2

Lecture Outline

  • Part I: Semidefinite programming, examples,

canonical form, and duality

  • Part II: Strong Duality Failure Examples
  • Part III: Conditions for strong duality
  • Part IV: Solving convex optimization problems
slide-3
SLIDE 3

Part I: Semidefinite Programming, Examples, Canonical Form, and Duality

slide-4
SLIDE 4

Semidefinite Programming

  • Semidefinite Programming: Want to optimize a

linear function, can now have matrix positive semidefiniteness (PSD) constraints as well as linear equalities and inequalities

  • Example: Maximize ๐‘ฆ subject to

1 ๐‘ฆ ๐‘ฆ 2 + ๐‘ฆ โ‰ฝ 0

  • Answer: ๐‘ฆ = 2
slide-5
SLIDE 5

Example: Goemans-Williamson

  • First approximation algorithm using a

semiefinite program (SDP)

  • MAX-CUT reformulation: Have a variable ๐‘ฆ๐‘— for

each vertex i, will set ๐‘ฆ๐‘— = ยฑ1 depending on which side of the cut ๐‘— is on.

  • Want to maximize ฯƒ๐‘—,๐‘˜:๐‘—<๐‘˜, ๐‘—,๐‘˜ โˆˆ๐น(๐ป)

1โˆ’๐‘ฆ๐‘—๐‘ฆ๐‘˜ 2

where ๐‘ฆ๐‘— โˆˆ {โˆ’1, +1} for all ๐‘—.

slide-6
SLIDE 6

Example: Goemans-Williamson

  • Idea: Take ๐‘ so that ๐‘๐‘—๐‘˜ = ๐‘ฆ๐‘—๐‘ฆ๐‘˜
  • Want to maximize ฯƒ๐‘—,๐‘˜:๐‘—<๐‘˜, ๐‘—,๐‘˜ โˆˆ๐น(๐ป)

1โˆ’๐‘๐‘—๐‘˜ 2

where ๐‘๐‘—๐‘— = 1 for all ๐‘— and ๐‘ = xxT.

  • Relaxation: Maximize ฯƒ๐‘—,๐‘˜:๐‘—<๐‘˜, ๐‘—,๐‘˜ โˆˆ๐น(๐ป)

1โˆ’๐‘๐‘—๐‘˜ 2

subject to

1. โˆ€๐‘—, ๐‘๐‘—๐‘— = 1 2. ๐‘ โ‰ฝ 0

slide-7
SLIDE 7

Example: SOS Hierarchy

  • Goal: Minimize a polynomial โ„Ž(๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘œ)

subject to constraints ๐‘ก1 ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘œ = 0, ๐‘ก2 ๐‘ฆ1, โ€ฆ , ๐‘ฆ๐‘œ = 0, etc.

  • Relaxation: Minimize แบผ[โ„Ž] where แบผ is a linear

map from polynomials of degree โ‰ค ๐‘’ to โ„ satisfying:

1. แบผ 1 = 1

  • 2. แบผ ๐‘”๐‘ก๐‘— = 0 whenever deg ๐‘” + deg ๐‘ก๐‘— โ‰ค ๐‘’
  • 3. แบผ ๐‘•2 โ‰ฅ 0 whenever deg ๐‘• โ‰ค

๐‘’ 2

slide-8
SLIDE 8

The Moment Matrix

  • Indexed by monomials of degree โ‰ค

๐‘’ 2

  • ๐‘๐‘ž๐‘Ÿ = เทจ

๐น[๐‘ž๐‘Ÿ]

  • Each ๐‘• of degree โ‰ค

๐‘’ 2 corresponds to a vector

  • เทจ

๐น ๐‘•2 = ๐‘•๐‘ˆ๐‘๐‘•

  • โˆ€๐‘•, เทจ

๐น ๐‘•2 โ‰ฅ 0 โ‡” ๐‘ is PSD

๐‘Ÿ ๐‘ž แบผ[pq] ๐‘ p,q are monomials of degree at most

๐‘’ 2.

slide-9
SLIDE 9

Semidefinite Program for SOS

  • Program: Minimize แบผ[โ„Ž] where แบผ satisfies:

1. แบผ 1 = 1

  • 2. แบผ ๐‘”๐‘ก๐‘— = 0 whenever deg ๐‘” + deg ๐‘ก๐‘— โ‰ค ๐‘’
  • 3. แบผ ๐‘•2 โ‰ฅ 0 whenever deg ๐‘• โ‰ค

๐‘’ 2

  • Expressible as semidefinite program using ๐‘:
  • 1. โˆ€โ„Ž, แบผ[โ„Ž] is a linear function of entries of ๐‘
  • 2. Constraints that แบผ 1 = 1 and แบผ ๐‘”๐‘ก๐‘— = 0 give

linear constraints on entries of ๐‘

  • 3. แบผ ๐‘•2 โ‰ฅ 0 whenever deg ๐‘• โ‰ค

๐‘’ 2 โฌ„๐‘ โ‰ฝ 0

  • 4. Also have SOS symmetry constraints
slide-10
SLIDE 10

SOS symmetry

  • Define ๐‘ฆ๐ฝ = ฯ‚๐‘—โˆˆ๐ฝ ๐‘ฆ๐‘— where ๐ฝ is a multi-set
  • SOS symmetry constraints: ๐‘๐‘ฆ๐ฝ๐‘ฆ๐พ = ๐‘๐‘ฆ๐ฝโ€ฒ๐‘ฆ๐พโ€ฒ

whenever ๐ฝ โˆช ๐พ = ๐ฝโ€ฒ โˆช ๐พโ€ฒ

  • Example:

1 ๐‘ ๐‘ ๐‘‘ ๐‘’ ๐‘“ ๐‘ ๐‘‘ ๐‘’ ๐‘” ๐‘• โ„Ž ๐‘ ๐‘’ ๐‘“ ๐‘• โ„Ž ๐‘— ๐‘‘ ๐‘” ๐‘• ๐‘˜ ๐‘™ ๐‘š ๐‘’ ๐‘• โ„Ž ๐‘™ ๐‘š ๐‘› ๐‘“ โ„Ž ๐‘— ๐‘š ๐‘› ๐‘œ 1 ๐‘ฆ ๐‘ง ๐‘ฆ2 ๐‘ฆ๐‘ง ๐‘ง2 1 ๐‘ฆ ๐‘ง ๐‘ฆ2 ๐‘ฆ๐‘ง ๐‘ง2

slide-11
SLIDE 11

Canonical Form

  • Def: Define ๐‘Œโฆ๐‘ = ฯƒ๐‘—,๐‘˜ ๐‘Œ๐‘—๐‘˜๐‘

๐‘—๐‘˜ = ๐‘ข๐‘ (๐‘Œ๐‘๐‘ˆ) to be

the entry-wise dot product of ๐‘Œ and ๐‘

  • Canonical form: Minimize ๐ทโฆ๐‘Œ subject to

1. โˆ€๐‘—, ๐ต๐‘—โฆ๐‘Œ = ๐‘๐‘— where the ๐ต๐‘— are symmetric 2. ๐‘Œ โ‰ฝ 0

slide-12
SLIDE 12

Putting Things Into Canonical Form

  • Canonical form: Minimize ๐ทโฆ๐‘Œ subject to

1. โˆ€๐‘—, ๐ต๐‘—โฆ๐‘Œ = ๐‘๐‘— where the ๐ต๐‘— are symmetric 2. ๐‘Œ โ‰ฝ 0

  • Ideas for obtaining canonical form:

1. ๐‘Œ โ‰ฝ 0, ๐‘ โ‰ฝ 0โฌ„ ๐‘Œ ๐‘ โ‰ฝ 0

  • 2. Slack variables: ๐ต๐‘—โฆ๐‘Œ โ‰ค ๐‘๐‘— โฌ„๐ต๐‘—โฆ๐‘Œ = ๐‘๐‘— + ๐‘ก๐‘—, ๐‘ก๐‘— โ‰ฅ 0
  • 3. Can enforce ๐‘ก๐‘— โ‰ฅ 0 by putting ๐‘ก๐‘— on the diagonal of

๐‘Œ

slide-13
SLIDE 13

Semidefinite Programming Dual

  • Primal: Minimize ๐ทโฆ๐‘Œ subject to

1. โˆ€๐‘—, ๐ต๐‘—โฆ๐‘Œ = ๐‘๐‘— where the ๐ต๐‘— are symmetric 2. ๐‘Œ โ‰ฝ 0

  • Dual: Maximize ฯƒ๐‘— ๐‘ง๐‘—๐‘๐‘— subject to

1. ฯƒ๐‘— ๐‘ง๐‘—๐ต๐‘— โ‰ผ ๐ท

  • Value for dual lower bounds value for primal:

๐ทโฆ๐‘Œ = ๐ท โˆ’ ฯƒ๐‘— ๐‘ง๐‘—๐ต๐‘— โฆ๐‘Œ + ฯƒ๐‘— ๐‘ง๐‘—๐ต๐‘— โฆ๐‘Œ โ‰ฅ ฯƒ๐‘— ๐‘ง๐‘—๐‘๐‘—

slide-14
SLIDE 14

Explanation for Duality

  • Primal: Minimize ๐ทโฆ๐‘Œ subject to

1. โˆ€๐‘—, ๐ต๐‘—โฆ๐‘Œ = ๐‘๐‘— where the ๐ต๐‘— are symmetric 2. ๐‘Œ โ‰ฝ 0

  • = min

๐‘Œโ‰ฝ0 max ๐‘ง

๐ทโฆ๐‘Œ + ฯƒ๐‘— ๐‘ง๐‘— ๐‘๐‘— โˆ’ ๐ต๐‘—โฆ๐‘Œ

  • = max

๐‘ง

min

๐‘Œโ‰ฝ0 ฯƒ๐‘— ๐‘ง๐‘—๐‘๐‘— + (๐ท โˆ’ ฯƒ๐‘— ๐‘ง๐‘—๐ต๐‘—)โฆ๐‘Œ

  • Dual: Maximize ฯƒ๐‘— ๐‘ง๐‘—๐‘๐‘— subject to

1. ฯƒ๐‘— ๐‘ง๐‘—๐ต๐‘— โ‰ผ ๐ท

slide-15
SLIDE 15

In class exercise: SOS duality

  • Exercise: What is the dual of the semidefinite

program for SOS?

  • Primal: Minimize แบผ[โ„Ž] where แบผ is a linear map

from polynomials of degree โ‰ค ๐‘’ to โ„ such that:

1. แบผ 1 = 1

  • 2. แบผ ๐‘”๐‘ก๐‘— = 0 whenever deg ๐‘” + deg ๐‘ก๐‘— โ‰ค ๐‘’
  • 3. แบผ ๐‘•2 โ‰ฅ 0 whenever deg ๐‘• โ‰ค

๐‘’ 2

slide-16
SLIDE 16

In class exercise solution

  • Definition: Given a symmetric matrix ๐‘… indexed

by monomials ๐‘ฆ๐ฝ, we say that ๐‘… represents the polynomial ๐‘ž๐‘… = ฯƒ๐พ ฯƒ๐ฝ,๐ฝโ€ฒ:๐ฝโˆช๐ฝโ€ฒ=๐พ ๐‘…๐‘ฆ๐ฝ๐‘ฆ๐ฝโ€ฒ๐‘ฆ๐พ

  • Proposition 1: If ๐‘… โ‰ฝ 0 then ๐‘ž๐‘… is a sum of
  • squares. Conversely, if ๐‘ž is a sum of squares

then โˆƒ๐‘… โ‰ฝ 0: ๐‘ž = ๐‘ž๐‘…

  • Proposition 2: If ๐‘ is a moment matrix then

๐‘โฆ๐‘… = แบผ ๐‘ž๐‘…

slide-17
SLIDE 17

In class exercise solution continued

  • ๐ท = ๐ผ where ๐‘ž๐ผ = โ„Ž
  • Constraint that เทจ

๐น 1 = 1 gives matrix ๐ต1 = 1 โ‹ฏ โ‹ฏ โ‹ฎ โ‹ฎ โ‹ฑ and ๐‘1 = 1

  • Constraints that เทจ

๐น ๐‘”๐‘ก๐‘— = 0 give matrices ๐ต๐‘˜ where ๐‘ž๐ต๐‘˜ = ๐‘”๐‘ก๐‘— and ๐‘

๐‘˜ = 0

  • SOS symmetry constraints give matrices ๐ต๐‘™

such that ๐‘ž๐ต๐‘™ = 0 and ๐‘๐‘™ = 0

slide-18
SLIDE 18

In class exercise solution continued

  • Recall dual: Maximize ฯƒ๐‘— ๐‘ง๐‘—๐‘๐‘— subject to

1. ฯƒ๐‘— ๐‘ง๐‘—๐ต๐‘— โ‰ผ ๐ท

  • Here: Maximize ๐‘‘ such that

๐‘‘๐ต1 + ฯƒ๐‘˜ ๐‘ง๐‘˜๐ต๐‘˜ + ฯƒ๐‘™ ๐‘ง๐‘™๐ต๐‘™ โ‰ผ ๐ผ

  • This is the answer, but letโ€™s simplify it into a

more intuitive form.

  • Let ๐‘… = ๐ผ โˆ’ ๐‘‘๐ต1 + ฯƒ๐‘˜ ๐‘ง๐‘˜๐ต๐‘˜ + ฯƒ๐‘™ ๐‘ง๐‘™๐ต๐‘™
  • ๐‘… โ‰ฝ 0
slide-19
SLIDE 19

In class exercise solution continued

  • ๐ผ = ๐‘‘๐ต1 + ฯƒ๐‘˜ ๐‘ง๐‘˜๐ต๐‘˜ + ฯƒ๐‘™ ๐‘ง๐‘™๐ต๐‘™ + ๐‘…,

A1 = 1 โ‹ฏ โ‹ฏ โ‹ฎ โ‹ฎ โ‹ฑ , ๐‘… โ‰ฝ 0

  • View everything in terms of polynomials.
  • ๐‘ž๐ผ = โ„Ž, ๐‘ž๐ต1 = 1, ๐‘ž(ฯƒ๐‘˜ ๐‘ง๐‘˜๐ต๐‘˜) = ฯƒ๐‘— ๐‘”

๐‘—๐‘ก๐‘— for some

๐‘”

๐‘—, ๐‘žฯƒ๐‘™ ๐‘ง๐‘™๐ต๐‘™ = 0, ๐‘ž๐‘… = ฯƒ๐‘˜ ๐‘•๐‘˜ 2 for some ๐‘•๐‘˜

  • โ„Ž = ๐‘‘ + ฯƒ๐‘— ๐‘”

๐‘—๐‘ก๐‘— + ฯƒ๐‘˜ ๐‘•๐‘˜ 2

slide-20
SLIDE 20

In class exercise solution continued

  • Simplified Dual: Maximize ๐‘‘ such that

โ„Ž = ๐‘‘ + ฯƒ๐‘— ๐‘”

๐‘—๐‘ก๐‘— + ฯƒ๐‘˜ ๐‘•๐‘˜ 2

  • This is a Positivstellensatz proof that โ„Ž โ‰ฅ ๐‘‘ (see

Lectures 1 and 5)

slide-21
SLIDE 21

Part II: Strong Duality Failure Examples

slide-22
SLIDE 22

Strong Duality Failure

  • Unlike linear programming, it is not always the

case that the values of the primal and dual are the same.

  • However, almost never an issue in practice,

have to be trying in order to break strong duality.

  • Weโ€™ll give this issue its due here then ignore it

for the rest of the seminar.

slide-23
SLIDE 23

Non-attainability Example

  • Primal: Minimize ๐‘ฆ2 subject to ๐‘ฆ1

1 1 ๐‘ฆ2 โ‰ฝ 0

  • Dual: Maximize 2๐‘ง subject to

1. ๐‘ง ๐‘ง 0 โ‰ผ 0 1

  • Duality demonstration:

1 โˆ’ 0 ๐‘ง ๐‘ง โฆ ๐‘ฆ1 1 1 ๐‘ฆ2 = ๐‘ฆ2 โˆ’ 2๐‘ง โ‰ฅ 0

  • Dual has optimal value 0, this is not attainable

in the primal (we can only get arbitrarily close)

slide-24
SLIDE 24

Duality Gap Example

  • Primal: Minimize ๐‘ฆ2 + 1 subject to

1 + ๐‘ฆ2 ๐‘ฆ1 ๐‘ฆ2 ๐‘ฆ2 โ‰ฝ 0

  • Dual: Maximize 2๐‘ง subject to

2๐‘ง ๐‘ง1 ๐‘ง2 ๐‘ง1 โˆ’๐‘ง ๐‘ง2 โˆ’๐‘ง ๐‘ง3 โ‰ผ 1

  • Duality demonstration

1 โˆ’ 2๐‘ง ๐‘ง1 ๐‘ง2 ๐‘ง1 โˆ’๐‘ง ๐‘ง2 โˆ’๐‘ง ๐‘ง3 โฆ 1 + ๐‘ฆ2 ๐‘ฆ1 ๐‘ฆ2 ๐‘ฆ2 = ๐‘ฆ2 + 1 โˆ’ 2๐‘ง โ‰ฅ 0

slide-25
SLIDE 25

Duality Gap Example

  • Primal: Minimize ๐‘ฆ2 + 1 subject to

1 + ๐‘ฆ2 ๐‘ฆ1 ๐‘ฆ2 ๐‘ฆ2 โ‰ฝ 0

  • Has optimal value 1 as we must have ๐‘ฆ2 = 0
  • Dual: Maximize 2๐‘ง subject to

2๐‘ง ๐‘ง1 ๐‘ง2 ๐‘ง1 โˆ’๐‘ง ๐‘ง2 โˆ’๐‘ง ๐‘ง3 โ‰ผ 1

  • Has optimal value 0 as we must have ๐‘ง = 0.
  • Note: This example was taken from Lecture 13,

EE227A at Berkeley given on October 14, 2008.

slide-26
SLIDE 26

Part III: Conditions for strong duality

slide-27
SLIDE 27

Sufficient Strong Duality Conditions

  • How can we rule out such a gap?
  • Slaterโ€™s Condition (informal):

โ€“ If the feasible region for the primal has an interior point (in the subspace defined by the linear equalities) then the duality gap is 0. Moreover, if the optimal value is finite then it is attainable in the dual.

  • Also sufficient if either the primal or the dual is

feasible and bounded (i.e. any very large point violates the constraints)

slide-28
SLIDE 28

Recall Minimax Theorem

  • Von Neumann [1928]: If ๐‘Œ and ๐‘ are convex

compact subsets of ๐‘†๐‘› and ๐‘†๐‘œ and ๐‘”: ๐‘Œ ร— ๐‘ โ†’ ๐‘† is a continuous function which is convex in ๐‘Œ and concave in ๐‘ then max

๐‘งโˆˆ๐‘ min ๐‘ฆโˆˆ๐‘Œ ๐‘”(๐‘ฆ, ๐‘ง) = min ๐‘ฆโˆˆ๐‘Œ max ๐‘งโˆˆ๐‘ ๐‘”(๐‘ฆ, ๐‘ง)

  • Issue: ๐‘Œ and ๐‘ are unbounded in our setting.
slide-29
SLIDE 29

Minimax in the limit

  • Idea: Minimax applies for arbitrarily large ๐‘Œ, ๐‘ so

long as they are bounded

  • Can take the limit as ๐‘Œ, ๐‘ get larger and larger
  • Question: Do we bound ๐‘Œ or ๐‘ first?
  • If ๐‘Œ is bounded first, get primal: min

๐‘ฆโˆˆ๐‘Œ max ๐‘งโˆˆ๐‘ ๐‘”(๐‘ฆ, ๐‘ง)

  • If ๐‘ is bounded first, get dual: max

๐‘งโˆˆ๐‘ min ๐‘ฆโˆˆ๐‘Œ ๐‘”(๐‘ฆ, ๐‘ง)

  • If we can show it doesnโ€™t matter which is

bounded first, have duality gap 0.

slide-30
SLIDE 30

Formal Statements

  • Def: Define ๐ถ ๐‘† = {๐‘ฆ: ๐‘ฆ

โ‰ค ๐‘†}

  • Minimax Theorem: For all finite ๐‘†1, ๐‘†2

max

๐‘งโˆˆ๐‘โˆฉ๐ถ(๐‘†2)

min

๐‘ฆโˆˆ๐‘Œโˆฉ๐ถ(๐‘†1) ๐‘”(๐‘ฆ, ๐‘ง) =

min

๐‘ฆโˆˆ๐‘Œโˆฉ๐ถ(๐‘†1)

max

๐‘งโˆˆ๐‘โˆฉ๐ถ(๐‘†2) ๐‘”(๐‘ฆ, ๐‘ง)

  • Letโ€™s call this value ๐‘๐‘ž๐‘ข(๐‘†1, ๐‘†2)
  • Primal value: lim

๐‘†1โ†’โˆž lim ๐‘†2โ†’โˆž ๐‘๐‘ž๐‘ข(๐‘†1, ๐‘†2)

  • Dual value: lim

๐‘†2โ†’โˆž lim ๐‘†1โ†’โˆž ๐‘๐‘ž๐‘ข(๐‘†1, ๐‘†2)

  • Sufficient for 0 gap: Show that

โˆƒ๐‘†: โˆ€๐‘†1, ๐‘†2 โ‰ฅ ๐‘†, ๐‘๐‘ž๐‘ข ๐‘†1, ๐‘†2 = ๐‘๐‘ž๐‘ข(๐‘†, ๐‘†2)

slide-31
SLIDE 31

Boundedness Condition Intuition

  • Assume โˆƒ feasible ๐‘ฆ โˆˆ ๐ถ(๐‘†) but when ๐‘ฆ

> ๐‘†, constraints on primal are violated.

  • Want to show that โˆƒ๐‘†โ€ฒ

โˆ€๐‘†1, ๐‘†2 โ‰ฅ ๐‘†โ€ฒ, ๐‘๐‘ž๐‘ข ๐‘†1, ๐‘†2 = ๐‘๐‘ž๐‘ข(๐‘†โ€ฒ, ๐‘†2)

  • We are in the finite setting, so we can assume ๐‘ฆ

player plays first.

  • Intuition: ๐‘ง player can heavily punish ๐‘ฆ player

for violated constraints, so ๐‘ฆ player should always choose an ๐‘ฆ โˆˆ ๐ถ(๐‘†โ€ฒ).

  • Similar logic applies to the dual.
slide-32
SLIDE 32

Slaterโ€™s Condition Intuition

  • Idea: Strictly feasible point ๐‘ฆ shows it is bad for

๐‘ง player to play a very large ๐‘ง.

  • Primal: Minimize โ„Ž(๐‘ฆ) subject to {๐‘•๐‘— ๐‘ฆ โ‰ค ๐‘‘๐‘—}

where the ๐‘•๐‘— are convex.

  • ๐‘” ๐‘ฆ, ๐‘ง = ฯƒ๐‘— ๐‘ง๐‘— ๐‘•๐‘— ๐‘ฆ โˆ’ ๐‘‘๐‘— + โ„Ž(๐‘ฆ) (weโ€™ll

restrict ourselves to non-negative ๐‘ง)

  • Dual: Doesnโ€™t seem to have a nicer form than

max

๐‘งโ‰ฅ0 min ๐‘ฆ

ฯƒ๐‘— ๐‘ง๐‘— ๐‘•๐‘— ๐‘ฆ โˆ’ ๐‘‘๐‘— + โ„Ž ๐‘ฆ

slide-33
SLIDE 33

Slaterโ€™s Condition Intuition

  • Primal: Minimize โ„Ž(๐‘ฆ) subject to {๐‘•๐‘— ๐‘ฆ โ‰ค ๐‘‘๐‘—}
  • Dual: max

๐‘งโ‰ฅ0 min ๐‘ฆ

ฯƒ๐‘— ๐‘ง๐‘— ๐‘•๐‘— ๐‘ฆ โˆ’ ๐‘‘๐‘— + โ„Ž ๐‘ฆ

  • Key observation: If โˆ€๐‘—, ๐‘•๐‘— ๐‘ฆ < ๐‘‘๐‘—, ๐‘ฆ punishes

very large ๐‘ง. Thus, ๐‘ง is effectively bounded.

slide-34
SLIDE 34

Strong Duality Conditions Summary

  • Strong duality may fail for semidefinite

programs.

  • However, strong duality holds if the program is

at all robust (Slaterโ€™s condition is satisfied) or either the primal or dual is feasible and bounded (any very large point violates the constraints)

  • Note: working over the hypercube satisfies

boundedness.

slide-35
SLIDE 35

Part III: Solving convex

  • ptimization problems
slide-36
SLIDE 36

Solving Convex Optimization Problems

  • In practice: simplex methods or interior point

methods work best

  • First polynomial time guarantee: ellipsoid

method

  • This seminar: Weโ€™ll use algorithms as a black-

box and assume that semidefinite programs of size ๐‘œ๐‘’ can be solved in time ๐‘œ๐‘ƒ(๐‘’).

  • Note: Can fail to be polynomial time in

pathological cases (see Ryan Oโ€™Donnellโ€™s note), almost never an issue in practice

slide-37
SLIDE 37

Usefulness of Convexity

  • Want to minimize a convex function ๐‘” over a

convex set ๐‘Œ.

  • All local minima are global minima: If ๐‘” ๐‘ฆ <

๐‘”(๐‘ง) then ๐‘”(๐‘ง) is not a local minima as โˆ€๐œ— > 0, ๐‘” ๐œ—๐‘ฆ + 1 โˆ’ ๐œ— ๐‘ง โ‰ค ๐œ—๐‘” ๐‘ฆ + 1 โˆ’ ๐œ— f(y)

  • Can always go from the current point ๐‘ฆ towards

a global minima.

slide-38
SLIDE 38

Reduction to Feasibility Testing

  • Want to minimize a convex function ๐‘” over a

convex set ๐‘Œ

  • Testing whether we can achieve ๐‘” ๐‘ฆ โ‰ค ๐‘‘ is

equivalent to finding a point in the convex set Xc = ๐‘Œ โˆฉ {๐‘ฆ: ๐‘” ๐‘ฆ โ‰ค ๐‘‘}

  • If we can solve this feasibility problem, we can

use binary search to approximate the optimal value.

slide-39
SLIDE 39

Cutting-plane Oracles

  • Let ๐‘Œ be a convex set. Given a point ๐‘ฆ0 โˆ‰ ๐‘Œ, a

cutting-plane oracle returns a hyperplane ๐ผ passing through ๐‘ฆ0 such that ๐‘Œ is entirely on

  • ne side of ๐ผ.
  • Intuition for obtaining a cutting-plane oracle: If

๐‘ฆ0 โˆ‰ ๐‘Œ then there is a constraint ๐‘ฆ0 violates. This constraint is of the form ๐‘” ๐‘ฆ0 < ๐‘‘ where ๐‘” is convex. ๐‘Œ must be inside the half-space ๐›‚๐‘” โ‹… ๐‘ฆ โˆ’ ๐‘ฆ0 โ‰ค 0

slide-40
SLIDE 40

Ellipsoid Method Sketch

  • Algorithm: Let ๐‘Œ be the feasible set
  • 1. Keep track of an ellipsoid ๐‘‡ containing ๐‘Œ
  • 2. At each step, query center ๐‘‘ of ๐‘‡
  • 3. If ๐‘‘ โˆˆ ๐‘Œ, output ๐‘‘. Otherwise, cutting-plane oracle

gives a hyperplane ๐ผ passing through c and ๐‘Œ is on

  • ne side of ๐ผ. Use ๐ผ to find a smaller ellipsoid ๐‘‡โ€ฒ.
  • Initial Guarantees:

1. ๐‘Œ โІ ๐ถ(๐‘†) where ๐ถ ๐‘† = {๐‘ฆ โˆˆ ๐‘†๐‘œ: ๐‘ฆ โ‰ค ๐‘†} 2. ๐‘Œ contains a ball of radius ๐‘ .

  • Note: Not polynomial time if ๐‘†

๐‘  is 2(๐‘œ๐œ•(1))

slide-41
SLIDE 41

References

  • L. E. Ghaoui. Lecture 13: SDP Duality. Berkeley EE227A Convex Optimization and
  • Applications. 2008
  • [GW95] M. X. Goemans and D. P. Williamson. Improved Approximation Algorithms

for Maximum Cut and Satisfiability Problems Using Semidefinite Programming. J. ACM, 42(6):1115โ€“1145, 1995.

  • [Oโ€™Don17] R. Oโ€™Donnell. SOS is not Obviously Automatizable, Even Approximately.

ITCS 2017.

  • [Sla50] M. Slater. Lagrange Multipliers Revisited. Cowles Commission Discussion

Paper: Mathematics 403, 1950.