Solving and visualizing nonlinear constraint satisfaction problems - - PowerPoint PPT Presentation

solving and visualizing nonlinear constraint satisfaction
SMART_READER_LITE
LIVE PREVIEW

Solving and visualizing nonlinear constraint satisfaction problems - - PowerPoint PPT Presentation

Solving and visualizing nonlinear constraint satisfaction problems Elif Garajova , Martin Mec iar Department of Applied Mathematics Faculty of Mathematics and Physics Charles University in Prague SWIM, June 2015 Outline 1 Interval


slide-1
SLIDE 1

Solving and visualizing nonlinear constraint satisfaction problems

Elif Garajova ´, Martin Mec ˇiar

Department of Applied Mathematics Faculty of Mathematics and Physics Charles University in Prague

SWIM, June 2015

slide-2
SLIDE 2

Outline

1 Interval solver for nonlinear constraints 2 Application: Complex intervals 3 Visualization techniques

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 2/11

slide-3
SLIDE 3

Library of Interval MEthods

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 3/11

slide-4
SLIDE 4

Library of Interval MEthods

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 3/11

slide-5
SLIDE 5

Problem: Solving a nonlinear CSP

Find the set of all (x, y) ∈ [−3, 3] × [−3, 3] satisfying:

  • x2 + y2 − 9

1

3x − y2

  • ≥ 1

2 (y − 2)2 + (x − 1)2 ≥ 1 7

  • How to describe the solution set?
  • How to find all solutions?

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 4/11

slide-6
SLIDE 6

Describing the solution set

  • visual representation of the set
  • projection from higher dimensions
  • basic information about the set

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 5/11

slide-7
SLIDE 7

Describing the solution set

  • visual representation of the set
  • projection from higher dimensions
  • basic information about the set
  • description using interval boxes
  • outer and inner approximation

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 5/11

slide-8
SLIDE 8

Solution: SIVIA

inner approximation: S ⊂ X

  • uter approximation:

X ⊂ (S ∪ E) boxes with no solutions: (N ∩ X) = ∅

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 6/11

slide-9
SLIDE 9

Interval solver for nonlinear constraints

  • solver based on the SIVIA algorithm
  • uses interval contractors to enhance its efficiency
  • written in MATLAB (and C++) using the INTLAB toolbox
  • the interval solver can:
  • solve a nonlinear CSP using interval methods
  • reduce the number of boxes on the output
  • plot the solution set (or its projection) in 2D
  • visualize complex interval arithmetic

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 7/11

slide-10
SLIDE 10

Complex intervals

c r θ ρ Re Im x x y y

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 8/11

slide-11
SLIDE 11

Complex interval arithmetic I

Exact operations (a, b) + (c, d) = (a + c, b + d) (a, b) − (c, d) = (a − c, b − d) Overestimated operations (a, b) · (c, d) = (ac − bd, ad + bc) (a, b) (c, d) =

ac + bd

c2 + d2 , bc − ad c2 + d2

  • Elif Garajova

´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 9/11

slide-12
SLIDE 12

Complex interval arithmetic II

Interval operation: (a, b) · (c, d) = (ac − bd, ad + bc) Exact operation: {(a + bi) · (c + di) | (a, b) ∈ (a, b), (c, d) ∈ (c, d)}

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 10/11

slide-13
SLIDE 13

Visualizing nonlinear CSPs

Elif Garajova ´, Martin Mec ˇiar Solving and visualizing nonlinear CSPs 11/11