Semialgebraic Relaxations using Moment-SOS Hierarchies Victor Magron - - PowerPoint PPT Presentation

semialgebraic relaxations using moment sos hierarchies
SMART_READER_LITE
LIVE PREVIEW

Semialgebraic Relaxations using Moment-SOS Hierarchies Victor Magron - - PowerPoint PPT Presentation

Semialgebraic Relaxations using Moment-SOS Hierarchies Victor Magron , Postdoc LAAS-CNRS 17 September 2014 S IERRA Seminar Laboratoire dInformatique de lEcole Normale Superieure y par + b 3 par + b sin ( b ) b 1 b b 1 b 3 =


slide-1
SLIDE 1

Semialgebraic Relaxations using Moment-SOS Hierarchies

Victor Magron, Postdoc LAAS-CNRS

17 September 2014

SIERRA Seminar Laboratoire d’Informatique de l’Ecole Normale Superieure

b y b → sin( √ b) par−

b1

par−

b2

par−

b3

par+

b1

par+

b2

par+

b3

1 b1 b2 b3 = 500

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 1 / 47

slide-2
SLIDE 2

Personal Background

2008 − 2010: Master at Tokyo University HIERARCHICAL DOMAIN DECOMPOSITION METHODS (S. Yoshimura) 2010 − 2013: PhD at Inria Saclay LIX/CMAP FORMAL PROOFS FOR NONLINEAR OPTIMIZATION (S. Gaubert and B. Werner) 2014−now: Postdoc at LAAS-CNRS MOMENT-SOS APPLICATIONS (J.B. Lasserre and D. Henrion)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 2 / 47

slide-3
SLIDE 3

Errors and Proofs

Mathematicians want to eliminate all the uncertainties on their results. Why?

  • M. Lecat, Erreurs des Mathématiciens des origines à

nos jours, 1935. 130 pages of errors! (Euler, Fermat, Sylvester, . . . )

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 3 / 47

slide-4
SLIDE 4

Errors and Proofs

Possible workaround: proof assistants COQ (Coquand, Huet 1984) HOL-LIGHT (Harrison, Gordon 1980) Built in top of OCAML

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 3 / 47

slide-5
SLIDE 5

Complex Proofs

Complex mathematical proofs / mandatory computation

  • K. Appel and W. Haken , Every Planar Map is

Four-Colorable, 1989.

  • T. Hales, A Proof of the Kepler Conjecture, 1994.
  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 4 / 47

slide-6
SLIDE 6

From Oranges Stack...

Kepler Conjecture (1611): The maximal density of sphere packings in 3D-space is

π √ 18

Face-centered cubic Packing Hexagonal Compact Packing

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 5 / 47

slide-7
SLIDE 7

...to Flyspeck Nonlinear Inequalities

The proof of T. Hales (1998) contains mathematical and computational parts Computation: check thousands of nonlinear inequalities Robert MacPherson, editor of The Annals of Mathematics: “[...] the mathematical community will have to get used to this state of affairs.” Flyspeck [Hales 06]: Formal Proof of Kepler Conjecture

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 6 / 47

slide-8
SLIDE 8

...to Flyspeck Nonlinear Inequalities

The proof of T. Hales (1998) contains mathematical and computational parts Computation: check thousands of nonlinear inequalities Robert MacPherson, editor of The Annals of Mathematics: “[...] the mathematical community will have to get used to this state of affairs.” Flyspeck [Hales 06]: Formal Proof of Kepler Conjecture Project Completion on 10 August by the Flyspeck team!!

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 6 / 47

slide-9
SLIDE 9

A “Simple” Example

In the computational part: Multivariate Polynomials:

∆x := x1x4(−x1 + x2 + x3 − x4 + x5 + x6) + x2x5(x1 − x2 + x3 + x4 − x5 + x6) + x3x6(x1 + x2 − x3 + x4 + x5 − x6) − x2(x3x4 + x1x6) − x5(x1x3 + x4x6)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 7 / 47

slide-10
SLIDE 10

A “Simple” Example

In the computational part: Semialgebraic functions: composition of polynomials with | · |, √, +, −, ×, /, sup, inf, . . . p(x) := ∂4∆x q(x) := 4x1∆x r(x) := p(x)/

  • q(x)

l(x) := −π 2 + 1.6294 − 0.2213 (√x2 + √x3 + √x5 + √x6 − 8.0) + 0.913 (√x4 − 2.52) + 0.728 (√x1 − 2.0)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 7 / 47

slide-11
SLIDE 11

A “Simple” Example

In the computational part: Transcendental functions T : composition of semialgebraic functions with arctan, exp, sin, +, −, ×, . . .

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 7 / 47

slide-12
SLIDE 12

A “Simple” Example

In the computational part: Feasible set K := [4, 6.3504]3 × [6.3504, 8] × [4, 6.3504]2 Lemma9922699028 from Flyspeck: ∀x ∈ K, arctan p(x)

  • q(x)
  • + l(x) 0
  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 7 / 47

slide-13
SLIDE 13

Existing Formal Frameworks

Formal proofs for Global Optimization: Bernstein polynomial methods [Zumkeller 08] restricted to polynomials Taylor + Interval arithmetic [Melquiond 12, Solovyev 13] robust but subject to the CURSE OF DIMENSIONALITY

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 8 / 47

slide-14
SLIDE 14

Existing Formal Frameworks

Lemma9922699028 from Flyspeck: ∀x ∈ K, arctan

  • ∂4∆x

√4x1∆x

  • + l(x) 0

Dependency issue using Interval Calculus:

One can bound ∂4∆x/√4x1∆x and l(x) separately Too coarse lower bound: −0.87 Subdivide K to prove the inequality

K = ⇒ K0 K1 K2 K3 K4

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 8 / 47

slide-15
SLIDE 15

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Conclusion

slide-16
SLIDE 16

Polynomial Optimization Problems

Semialgebraic set K := {x ∈ Rn : g1(x) 0, . . . , gm(x) 0} p∗ := min

x∈K p(x): NP hard

Sums of squares Σ[x] e.g. x2

1 − 2x1x2 + x2 2 = (x1 − x2)2

Q(K) :=

  • σ0(x) + ∑m

j=1 σj(x)gj(x), with σj ∈ Σ[x]

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 9 / 47

slide-17
SLIDE 17

Polynomial Optimization Problems

Archimedean module The set K is compact and the polynomial N − x2

2 belongs to

Q(K) for some N > 0. Assume that K is a box: product of closed intervals Normalize the feasibility set to get K′ := [−1, 1]n K′ := {x ∈ Rn : g1 := 1 − x2

1 0, · · · , gn := 1 − x2 n 0}

n − x2

2 belongs to Q(K′)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 10 / 47

slide-18
SLIDE 18

Convexification and the K Moment Problem

Borel σ-algebra B (generated by the open sets of Rn) M+(K): set of probability measures supported on K. If µ ∈ M+(K) then

1 µ : B → [0, 1], µ(∅) = 0, µ(Rn) < ∞ 2 µ( i Bi) = ∑i µ(Bi), for any countable (Bi) ⊂ B 3 K µ(dx) = 1

supp(µ) is the smallest set K such that µ(Rn\K) = 0

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 11 / 47

slide-19
SLIDE 19

Convexification and the K Moment Problem

p∗ = inf

x∈K p(x) =

inf

µ∈M+(K)

  • K p dµ
  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 11 / 47

slide-20
SLIDE 20

Convexification and the K Moment Problem

Let (xα)α∈Nn be the monomial basis Definition A sequence y has a representing measure on K if there exists a finite measure µ supported on K such that yα =

  • K xαµ(dx) ,

∀ α ∈ Nn .

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 11 / 47

slide-21
SLIDE 21

Convexification and the K Moment Problem

Ly(q) : q ∈ R[x] → ∑α qαyα Theorem [Putinar 93] Let K be compact and Q(K) be Archimedean. Then y has a representing measure on K iff Ly(σ) 0 , Ly(gj σ) 0 , ∀σ ∈ Σ[x] .

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 11 / 47

slide-22
SLIDE 22

Lasserre’s Hierarchy of SDP relaxations

Moment matrix M(y)u,v := Ly(u · v), u, v monomials Localizing matrix M(gj y) associated with gj M(gj y)u,v := Ly(u · v · gj), u, v monomials

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 12 / 47

slide-23
SLIDE 23

Lasserre’s Hierarchy of SDP relaxations

Mk(y) contains (n+2k

n ) variables, has size (n+k n )

Truncated matrix of order k = 2 with variables x1, x2: M2(y) =               1 | x1 x2 | x2

1

x1x2 x2

2

1 1 | y1,0 y0,1 | y2,0 y1,1 y0,2 − − − − − − − − x1 y1,0 | y2,0 y1,1 | y3,0 y2,1 y1,2 x2 y0,1 | y1,1 y0,2 | y2,1 y1,2 y0,3 − − − − − − − − − x2

1

y2,0 | y3,0 y2,1 | y4,0 y3,1 y2,2 x1x2 y1,1 | y2,1 y1,2 | y3,1 y2,2 y1,3 x2

2

y0,2 | y1,2 y0,3 | y2,2 y1,3 y0,4              

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 12 / 47

slide-24
SLIDE 24

Lasserre’s Hierarchy of SDP relaxations

Consider g1(x) := 2 − x2

1 − x2

  • 2. Then v1 = ⌈deg g1/2⌉ = 1.

M1(g1 y) =   1 x1 x2 1 2 − y2,0 − y0,2 2y1,0 − y3,0 − y1,2 2y0,1 − y2,1 − y0,3 x1 2y1,0 − y3,0 − y1,2 2y2,0 − y4,0 − y2,2 2y1,1 − y3,1 − y1,3 x2 2y0,1 − y2,1 − y0,3 2y1,1 − y3,1 − y1,3 2y0,2 − y2,2 − y0,4  

M1(g1 y)(3, 3) = L(g1(x) · x2 · x2) = L(2x2

2 − x2 1x2 2 − x4 2)

= 2y0,2 − y2,2 − y0,4

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 12 / 47

slide-25
SLIDE 25

Lasserre’s Hierarchy of SDP relaxations

Truncation with moments of order at most 2k vj := ⌈deg gj/2⌉ Hierarchy of semidefinite relaxations:          infy Ly(p) = ∑α

  • K pα xα µ(dx) = ∑α pα yα

Mk(y)

  • 0 ,

Mk−vj(gj y)

  • 0 ,

1 j m, y1 = 1 .

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 12 / 47

slide-26
SLIDE 26

Semidefinite Optimization

F0, Fα symmetric real matrices, cost vector c Primal-dual pair of semidefinite programs: (SDP)              P : infy ∑α cαyα s.t. ∑α Fα yα − F0 0 D : supY Trace (F0 Y) s.t. Trace (Fα Y) = cα , Y 0 . Freely available SDP solvers (CSDP, SDPA, SEDUMI)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 13 / 47

slide-27
SLIDE 27

Primal-dual Moment-SOS

M+(K): space of probability measures supported on K Polynomial Optimization Problems (POP) (Primal) (Dual) inf

  • K p dµ

= sup λ s.t. µ ∈ M+(K) s.t. λ ∈ R , p − λ ∈ Q(K)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 14 / 47

slide-28
SLIDE 28

Primal-dual Moment-SOS

Truncated quadratic module Qk(K) := Q(K) ∩ R2k[x] For large enough k, zero duality gap [Lasserre 01]: Polynomial Optimization Problems (POP) (Moment) (SOS) inf

α

pα yα = sup λ s.t. Mk−vj(gj y) 0 , 0 j m, s.t. λ ∈ R , y1 = 1 p − λ ∈ Qk(K)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 14 / 47

slide-29
SLIDE 29

Practical Computation

Hierarchy of SOS relaxations: λk := sup

λ

  • λ : p − λ ∈ Qk(K)
  • Convergence guarantees λk ↑ p∗ [Lasserre 01]

If p − p∗ ∈ Qk(K) for some k then: y∗ := (1, x∗

1, x∗ 2, (x∗ 1)2, x∗ 1x∗ 2, . . . , (x∗ 1)2k, . . . , (x∗ n)2k)

is a global minimizer of the primal SDP [Lasserre 01].

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 15 / 47

slide-30
SLIDE 30

Practical Computation

Caprasse Problem ∀x ∈ [−0.5, 0.5]4, −x1x3

3 + 4x2x2 3x4 + 4x1x3x2 4 + 2x2x3 4 +

4x1x3 + 4x2

3 − 10x2x4 − 10x2 4 + 5.1801 0.

Scale on [0, 1]4 SOS of degree at most 4 Redundant constraints x2

1 1, . . . , x2 4 1

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 15 / 47

slide-31
SLIDE 31

The “No Free Lunch” Rule

Exponential dependency in

1 Relaxation order k (SOS degree) 2 number of variables n

Computing λk involves (n+2k

n ) variables

At fixed k, O(n2k) variables

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 16 / 47

slide-32
SLIDE 32

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Conclusion

slide-33
SLIDE 33

Another look at Nonnegativity

Knowledge of K through µ ∈ M+(K) Independent of the representation of K Typical from INVERSE PROBLEMS “reconstruct” K from measuring moments of µ ∈ M+(K)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 17 / 47

slide-34
SLIDE 34

Another look at Nonnegativity

Borel σ-algebra B (generated by the open sets of Rn) Lemma A continuous function p : Rn → R is nonnegative on K iff the set function ν : B ∈ B →

K∩B p(x) dµ(x) belongs to M+.

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 18 / 47

slide-35
SLIDE 35

Another look at Nonnegativity

ν : B ∈ B →

K∩B p(x) dµ(x)

Proof

1 “Only if” part is straightforward 2 “If part”

If ν ∈ M+ then p(x) 0 for µ-almost all x ∈ K, i.e. there exists G ∈ B such that µ(G) = 0 and p(x) 0 on K\G. K = K\G (from the support definition). Let x ∈ K. There is a sequence (xl) ⊂ K\G such that xl → x, as l → ∞. By continuity of p and p(xl) 0, one has p(x) 0.

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 19 / 47

slide-36
SLIDE 36

The K Moment Problem

Definition A sequence y has a representing measure on K if there exists a finite measure µ supported on K such that yα =

  • K xαµ(dx) ,

∀ α ∈ Nn .

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 20 / 47

slide-37
SLIDE 37

The K Moment Problem

Ly(q) : q ∈ R[x] → ∑α qαyα Theorem [Putinar 93] Let K be compact and Q(K) be Archimedean. Then y has a representing measure on K iff Ly(σ) 0 , Ly(gj σ) 0 , ∀σ ∈ Σ[x] .

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 20 / 47

slide-38
SLIDE 38

The K Moment Problem

Theorem [Lasserre 11] Let K be compact and µ ∈ M+ be arbitrary fixed with moments yα =

  • K xαµ(dx) ,

∀ α ∈ Nn . Then a polynomial p is nonnegative on K iff Mk(p y) 0 , ∀k ∈ N .

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 20 / 47

slide-39
SLIDE 39

Hierarchy of Outer Approximations

Cone of nonnegative polynomials C(K)d ⊂ Rd[x] Each entry of the matrix Mk(p y) is linear in the coefficients

  • f p

The set ∆k := {p ∈ Rd[x] : Mk(p y) 0} is closed and convex, called spectrahedron Nested outer approximations: ∆0 ⊃ ∆1 · · · ⊃ ∆k · · · ⊃ C(K)d

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 21 / 47

slide-40
SLIDE 40

Hierarchy of Outer Approximations

Hierarchy of upper bounds for p∗ := infx∈K p(x) Theorem [Lasserre 11] Let K be closed and µ ∈ M+(K) be arbitrary fixed with mo- ments (yα), α ∈ Nn. Consider the hierarchy of SDP: uk := max{λ : Mk((p − λ) y) 0} = max{λ : λ Mk(y) Mk(p y)} . Then uk ↓ p∗, as k → ∞.

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 22 / 47

slide-41
SLIDE 41

Hierarchy of Outer Approximations

Hierarchy of upper bounds for p∗ := infx∈K p(x) Computing uk: GENERALIZED EIGENVALUE PROBLEM for the pair [Mk(p y), Mk(y)]. Index the matrices in the basis of orthonormal polynomials w.r.t. µ: uk = max{λ : λ I Mk(p y)} = λmin(Mk(p y)) , a standard MINIMAL EIGENVALUE PROBLEM.

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 22 / 47

slide-42
SLIDE 42

Hierarchy of Outer Approximations

Primal-Dual Moment-SOS

(Primal) (Dual) u′

k := min

  • K p(x) σ(x) dµ(x)
  • uk := max λ

s.t.

  • K σ(x) dµ(x) = 1 ,

s.t. λ ∈ R , σ ∈ Σk[x] λ Mk(y) Mk(p y) .

Then u′

k, uk → p∗, as k → ∞.

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 23 / 47

slide-43
SLIDE 43

Interpretation of the Primal Problem

u∗

k := min ν K p σ dµ

: ν(K) = 1 , ν(Rn\K) = 0 , σ ∈ Σk[x]

  • The measure ν approximates the DIRAC measure δx=x∗ at a

global minimizer x∗ ∈ K and

1 ν is absolutely continuous w.r.t. µ 2 the density of ν is σ ∈ Σk[x]

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 24 / 47

slide-44
SLIDE 44

Example with uniform probability measure

Polynomial p := 0.375 − 5x + 21x2 − 32x3 + 16x4 on K := [0, 1]

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 25 / 47

slide-45
SLIDE 45

Example with uniform probability measure

Probability Density σ ∈ Σ10[x]

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 25 / 47

slide-46
SLIDE 46

Extension to the non-compact case

In this case, the measure µ needs to satisfy CARLEMAN-type sufficient condition to limit the growth of its moments (yα):

t=1

Ly(x2t

i )−1/(2t) = +∞ ,

i = 1, . . . , n . e.g. dµ(x) := exp(−x2

2/2) dµ0, with µ0 ∈ M+(K) finite

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 26 / 47

slide-47
SLIDE 47

Extension to the non-compact case

dµ(x) := exp(−x2

2/2) dx, for K = Rn

dµ(x) := exp(− ∑n

i=1 xi) dx, for K = Rn +

dµ(x) := dx, when K is a box, simplex

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 26 / 47

slide-48
SLIDE 48

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Conclusion

slide-49
SLIDE 49

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Semialgebraic Maxplus Optimization Formal Nonlinear Optimization Pareto Curves Polynomial Images of Semialgebraic Sets Program Analysis with Polynomial Templates Conclusion

slide-50
SLIDE 50

General informal Framework

Given K a compact set and f a transcendental function, bound f ∗ = inf

x∈K f(x) and prove f ∗ 0

f is underestimated by a semialgebraic function fsa Reduce the problem f ∗

sa := infx∈K fsa(x) to a polynomial

  • ptimization problem (POP)
  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 27 / 47

slide-51
SLIDE 51

General informal Framework

Approximation theory: Chebyshev/Taylor models mandatory for non-polynomial problems hard to combine with Sum-of-Squares techniques (degree

  • f approximation)
  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 27 / 47

slide-52
SLIDE 52

Maxplus Approximation

Initially introduced to solve Optimal Control Problems [Fleming-McEneaney 00] Curse of dimensionality reduction [McEaneney Kluberg, Gaubert-McEneaney-Qu 11, Qu 13]. Allowed to solve instances of dim up to 15 (inaccessible by grid methods) In our context: approximate transcendental functions

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 28 / 47

slide-53
SLIDE 53

Maxplus Approximation

Definition Let γ 0. A function φ : Rn → R is said to be γ-semiconvex if the function x → φ(x) + γ

2 x2 2 is convex.

a y par+

a1

par+

a2

par−

a2

par−

a1

a2 a1 arctan m M

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 28 / 47

slide-54
SLIDE 54

Nonlinear Function Representation

Exact parsimonious maxplus representations

a y

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 29 / 47

slide-55
SLIDE 55

Nonlinear Function Representation

Exact parsimonious maxplus representations

a y

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 29 / 47

slide-56
SLIDE 56

Nonlinear Function Representation

Abstract syntax tree representations of multivariate transcendental functions: leaves are semialgebraic functions of A nodes are univariate functions of D or binary operations

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 29 / 47

slide-57
SLIDE 57

Nonlinear Function Representation

For the “Simple” Example from Flyspeck:

+ l(x) arctan r(x)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 29 / 47

slide-58
SLIDE 58

Maxplus Optimization Algorithm

First iteration:

+ l(x) arctan r(x) a y par−

a1

arctan m M a1 1 control point {a1}: m1 = −4.7 × 10−3 < 0

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 30 / 47

slide-59
SLIDE 59

Maxplus Optimization Algorithm

Second iteration:

+ l(x) arctan r(x) a y par−

a1

par−

a2

arctan m M a1 a2 2 control points {a1, a2}: m2 = −6.1 × 10−5 < 0

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 30 / 47

slide-60
SLIDE 60

Maxplus Optimization Algorithm

Third iteration:

+ l(x) arctan r(x) a y par−

a1

par−

a2

par−

a3

arctan m M a1 a2 a3 3 control points {a1, a2, a3}: m3 = 4.1 × 10−6 > 0

OK!

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 30 / 47

slide-61
SLIDE 61

Contributions

Published:

  • X. Allamigeon, S. Gaubert, V. Magron, and B. Werner.

Certification of inequalities involving transcendental functions: combining sdp and max-plus approximation, ECC Conference 2013.

  • X. Allamigeon, S. Gaubert, V. Magron, and B. Werner.

Certification of bounds of non-linear functions: the templates method, CICM Conference, 2013.

In revision:

  • X. Allamigeon, S. Gaubert, V. Magron, and B. Werner.

Certification of Real Inequalities – Templates and Sums of Squares, arxiv:1403.5899, 2014.

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 31 / 47

slide-62
SLIDE 62

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Semialgebraic Maxplus Optimization Formal Nonlinear Optimization Pareto Curves Polynomial Images of Semialgebraic Sets Program Analysis with Polynomial Templates Conclusion

slide-63
SLIDE 63

The General “Formal Framework”

We check the correctness of SOS certificates for POP We build certificates to prove interval bounds for semialgebraic functions We bound formally transcendental functions with semialgebraic approximations

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 32 / 47

slide-64
SLIDE 64

Formal SOS bounds

When q ∈ Q(K), σ0, . . . , σm is a positivity certificate for q Check symbolic polynomial equalities q = q′ in COQ Existing tactic ring [Grégoire-Mahboubi 05] Polynomials coefficients: arbitrary-size rationals bigQ [Grégoire-Théry 06] Much simpler to verify certificates using sceptical approach Extends also to semialgebraic functions

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 33 / 47

slide-65
SLIDE 65

Formal Nonlinear Optimization

Inequality #boxes Time Time 9922699028 39 190 s 2218 s 3318775219 338 1560 s 19136 s Comparable with Taylor interval methods in HOL-LIGHT [Hales-Solovyev 13] Bottleneck of informal optimizer is SOS solver 22 times slower! = ⇒ Current bottleneck is to check polynomial equalities

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 34 / 47

slide-66
SLIDE 66

Contribution

For more details on the formal side:

  • X. Allamigeon, S. Gaubert, V. Magron and B. Werner. Formal

Proofs for Nonlinear Optimization. Submitted for publication, arxiv:1404.7282

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 35 / 47

slide-67
SLIDE 67

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Semialgebraic Maxplus Optimization Formal Nonlinear Optimization Pareto Curves Polynomial Images of Semialgebraic Sets Program Analysis with Polynomial Templates Conclusion

slide-68
SLIDE 68

Bicriteria Optimization Problems

Let f1, f2 ∈ Rd[x] two conflicting criteria Let S := {x ∈ Rn : g1(x) 0, . . . , gm(x) 0} a semialgebraic set (P)

  • min

x∈S (f1(x) f2(x))⊤

  • Assumption

The image space R2 is partially ordered in a natural way (R2

+ is

the ordering cone).

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 36 / 47

slide-69
SLIDE 69

Bicriteria Optimization Problems

g1 := −(x1 − 2)3/2 − x2 + 2.5 , g2 := −x1 − x2 + 8(−x1 + x2 + 0.65)2 + 3.85 , S := {x ∈ R2 : g1(x) 0, g2(x) 0} . f1 := (x1 + x2 − 7.5)2/4 + (−x1 + x2 + 3)2 , f2 := (x1 − 1)2/4 + (x2 − 4)2/4 .

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 36 / 47

slide-70
SLIDE 70

Parametric sublevel set approximation

Inspired by previous research on multiobjective linear

  • ptimization [Gorissen-den Hertog 12]

Workaround: reduce P to a parametric POP (Pλ) : f ∗(λ) := min

x∈S { f2(x) : f1(x) λ } ,

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 37 / 47

slide-71
SLIDE 71

A Hierarchy of Polynomial underestimators

Moment-SOS approach [Lasserre 10]: (Dd)      max

q∈R2d[λ] 2d

k=0

qk/(1 + k) s.t. f2(x) − q(λ) ∈ Q2d(K) . The hierarchy (Dd) provides a sequence (qd) of polynomial underestimators of f ∗(λ). limd→∞ 1

0 (f ∗(λ) − qd(λ))dλ = 0

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 38 / 47

slide-72
SLIDE 72

A Hierarchy of Polynomial underestimators

Degree 4

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 39 / 47

slide-73
SLIDE 73

A Hierarchy of Polynomial underestimators

Degree 6

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 39 / 47

slide-74
SLIDE 74

A Hierarchy of Polynomial underestimators

Degree 8

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 39 / 47

slide-75
SLIDE 75

Contributions

Numerical schemes that avoid computing finitely many points. Pareto curve approximation with polynomials, convergence guarantees in L1-norm

  • V. Magron, D. Henrion, J.B. Lasserre. Approximating Pareto

Curves using Semidefinite Relaxations. Operations Research

  • Letters. arxiv:1404.4772, April 2014.
  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 40 / 47

slide-76
SLIDE 76

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Semialgebraic Maxplus Optimization Formal Nonlinear Optimization Pareto Curves Polynomial Images of Semialgebraic Sets Program Analysis with Polynomial Templates Conclusion

slide-77
SLIDE 77

Approximation of sets defined with “∃”

Let B ⊂ R2 be the unit ball and assume that f(S) ⊂ B. Another point of view: f(S) = {y ∈ B : ∃x ∈ S s.t. h(x, y) 0} , with h(x, y) := y − f(x)2

2 = (y1 − f1(x))2 + (y2 − f2(x))2 .

Approximate f(S) as closely as desired by a sequence of sets of the form : Θd := {y ∈ B : qd(y) 0} , for some polynomials qd ∈ R2d[y].

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 41 / 47

slide-78
SLIDE 78

A Hierarchy of Outer approximations for f(S)

f(x) := (x1 + x1x2, x2 − x3

1)/2

Degree 2

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 42 / 47

slide-79
SLIDE 79

A Hierarchy of Outer approximations for f(S)

f(x) := (x1 + x1x2, x2 − x3

1)/2

Degree 4

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 42 / 47

slide-80
SLIDE 80

A Hierarchy of Outer approximations for f(S)

f(x) := (x1 + x1x2, x2 − x3

1)/2

Degree 6

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 42 / 47

slide-81
SLIDE 81

A Hierarchy of Outer approximations for f(S)

f(x) := (x1 + x1x2, x2 − x3

1)/2

Degree 8

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 42 / 47

slide-82
SLIDE 82

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Semialgebraic Maxplus Optimization Formal Nonlinear Optimization Pareto Curves Polynomial Images of Semialgebraic Sets Program Analysis with Polynomial Templates Conclusion

slide-83
SLIDE 83

One-loop with Conditional Branching

r, s, Ti, Te ∈ R[x] x0 ∈ X0, with X0 semialgebraic set x = x0; while (r(x) 0){ if (s(x) 0){ x = Ti(x); } else{ x = Te(x); } }

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 43 / 47

slide-84
SLIDE 84

Bounding Template using SOS

Sufficient condition to get bounding inductive invariant: α := min

q∈R[x]

sup

x∈X0

q(x) s.t. q − q ◦ Ti 0 , q − q ◦ Te 0 , q − · 2

2 0 .

Nontrivial correlations via polynomial templates q(x) {x : q(x) α} ⊃

k∈N

Xk

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 44 / 47

slide-85
SLIDE 85

Bounds for

k∈N Xk

X0 := [0.9, 1.1] × [0, 0.2] r(x) := 1 s(x) := 1 − x2

1 − x2 2

Ti(x) := (x2

1 + x3 2, x3 1 + x2 2)

Te(x) := (1 2x2

1 + 2

5x3

2, −3

5x3

1 + 3

10x2

2)

Degree 6

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 45 / 47

slide-86
SLIDE 86

Bounds for

k∈N Xk

X0 := [0.9, 1.1] × [0, 0.2] r(x) := 1 s(x) := 1 − x2

1 − x2 2

Ti(x) := (x2

1 + x3 2, x3 1 + x2 2)

Te(x) := (1 2x2

1 + 2

5x3

2, −3

5x3

1 + 3

10x2

2)

Degree 8

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 45 / 47

slide-87
SLIDE 87

Bounds for

k∈N Xk

X0 := [0.9, 1.1] × [0, 0.2] r(x) := 1 s(x) := 1 − x2

1 − x2 2

Ti(x) := (x2

1 + x3 2, x3 1 + x2 2)

Te(x) := (1 2x2

1 + 2

5x3

2, −3

5x3

1 + 3

10x2

2)

Degree 10

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 45 / 47

slide-88
SLIDE 88

Contribution

For more details:

  • A. Adjé and V. Magron. Polynomial Template Generation using

Sum-of-Squares Programming. Submitted for publication, arxiv:1409.3941

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 46 / 47

slide-89
SLIDE 89

Introduction Moment-SOS relaxations Another look at Nonnegativity New Applications of Moment-SOS Hierarchies Conclusion

slide-90
SLIDE 90

Conclusion

With MOMENT-SOS HIERARCHIES, you can Optimize nonlinear (transcendental) functions Approximate Pareto Curves, images and projections of semialgebraic sets Analyze programs

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 47 / 47

slide-91
SLIDE 91

Conclusion

Further research: Alternative polynomial bounds using geometric programming (T. de Wolff, S. Iliman) Mixed LP/SOS certificates (trade-off CPU/precision)

  • V. Magron

Semialgebraic Relaxations using Moment-SOS hierarchies 47 / 47

slide-92
SLIDE 92

End

Thank you for your attention! http://homepages.laas.fr/vmagron/