Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid...

57

Transcript of Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid...

Page 1: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid
Page 2: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid
Page 3: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Modeling and Analysis of Hybrid SystemsConvex polyhedra

Prof. Dr. Erika Ábrahám

Informatik 2 - LuFG Theory of Hybrid Systems

RWTH Aachen University

Szeged, Hungary, 27 September - 06 October 2017

Ábrahám - Hybrid Systems 1 / 18

Page 4: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Contents

1 Convex polyhedra

2 Operations on convex polyhedra

Ábrahám - Hybrid Systems 2 / 18

Page 5: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

Ábrahám - Hybrid Systems 3 / 18

Page 6: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

Notation: In this lecture we use column-vector-notation, i.e., xxx ∈ Rd is acolumn vector, whereas xxxT is a row vector.

De�nition (Polyhedron, polytope)

A polyhedron in Rd is the solution set to a �nite number n ∈ N≥0 of linearinequalities aiaiaiT · xxx ≤ bi (i.e., ai1x1 + . . .+ ainxn ≤ bi), i = 1, . . . , n, withreal coe�cients aiaiai ∈ Rd, real-valued variables xxx = (x1, . . . , xd)

T andbi ∈ R. A bounded polyhedron is called a polytope.

x1 + 2x2 ≤ 12

−3x1 + 2x2 ≤ 1

x1 ≤ 7

x1

x2

0

Ábrahám - Hybrid Systems 4 / 18

Page 7: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

Notation: In this lecture we use column-vector-notation, i.e., xxx ∈ Rd is acolumn vector, whereas xxxT is a row vector.

De�nition (Polyhedron, polytope)

A polyhedron in Rd is

the solution set to a �nite number n ∈ N≥0 of linearinequalities aiaiaiT · xxx ≤ bi (i.e., ai1x1 + . . .+ ainxn ≤ bi), i = 1, . . . , n, withreal coe�cients aiaiai ∈ Rd, real-valued variables xxx = (x1, . . . , xd)

T andbi ∈ R. A bounded polyhedron is called a polytope.

x1 + 2x2 ≤ 12

−3x1 + 2x2 ≤ 1

x1 ≤ 7

x1

x2

0

Ábrahám - Hybrid Systems 4 / 18

Page 8: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

Notation: In this lecture we use column-vector-notation, i.e., xxx ∈ Rd is acolumn vector, whereas xxxT is a row vector.

De�nition (Polyhedron, polytope)

A polyhedron in Rd is the solution set to a �nite number n ∈ N≥0 of linearinequalities aiaiaiT · xxx ≤ bi (i.e., ai1x1 + . . .+ ainxn ≤ bi), i = 1, . . . , n, withreal coe�cients aiaiai ∈ Rd, real-valued variables xxx = (x1, . . . , xd)

T andbi ∈ R. A bounded polyhedron is called a polytope.

x1 + 2x2 ≤ 12

−3x1 + 2x2 ≤ 1

x1 ≤ 7

x1

x2

0

Ábrahám - Hybrid Systems 4 / 18

Page 9: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

Notation: In this lecture we use column-vector-notation, i.e., xxx ∈ Rd is acolumn vector, whereas xxxT is a row vector.

De�nition (Polyhedron, polytope)

A polyhedron in Rd is the solution set to a �nite number n ∈ N≥0 of linearinequalities aiaiaiT · xxx ≤ bi (i.e., ai1x1 + . . .+ ainxn ≤ bi), i = 1, . . . , n, withreal coe�cients aiaiai ∈ Rd, real-valued variables xxx = (x1, . . . , xd)

T andbi ∈ R. A bounded polyhedron is called a polytope.

x1 + 2x2 ≤ 12

−3x1 + 2x2 ≤ 1

x1 ≤ 7

x1

x2

0

Ábrahám - Hybrid Systems 4 / 18

Page 10: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

Notation: In this lecture we use column-vector-notation, i.e., xxx ∈ Rd is acolumn vector, whereas xxxT is a row vector.

De�nition (Polyhedron, polytope)

A polyhedron in Rd is the solution set to a �nite number n ∈ N≥0 of linearinequalities aiaiaiT · xxx ≤ bi (i.e., ai1x1 + . . .+ ainxn ≤ bi), i = 1, . . . , n, withreal coe�cients aiaiai ∈ Rd, real-valued variables xxx = (x1, . . . , xd)

T andbi ∈ R. A bounded polyhedron is called a polytope.

x1 + 2x2 ≤ 12

−3x1 + 2x2 ≤ 1

x1 ≤ 7

x1

x2

0

Ábrahám - Hybrid Systems 4 / 18

Page 11: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

Notation: In this lecture we use column-vector-notation, i.e., xxx ∈ Rd is acolumn vector, whereas xxxT is a row vector.

De�nition (Polyhedron, polytope)

A polyhedron in Rd is the solution set to a �nite number n ∈ N≥0 of linearinequalities aiaiaiT · xxx ≤ bi (i.e., ai1x1 + . . .+ ainxn ≤ bi), i = 1, . . . , n, withreal coe�cients aiaiai ∈ Rd, real-valued variables xxx = (x1, . . . , xd)

T andbi ∈ R. A bounded polyhedron is called a polytope.

x1 + 2x2 ≤ 12

−3x1 + 2x2 ≤ 1

x1 ≤ 7

x1

x2

0

Ábrahám - Hybrid Systems 4 / 18

Page 12: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

Notation: In this lecture we use column-vector-notation, i.e., xxx ∈ Rd is acolumn vector, whereas xxxT is a row vector.

De�nition (Polyhedron, polytope)

A polyhedron in Rd is the solution set to a �nite number n ∈ N≥0 of linearinequalities aiaiaiT · xxx ≤ bi (i.e., ai1x1 + . . .+ ainxn ≤ bi), i = 1, . . . , n, withreal coe�cients aiaiai ∈ Rd, real-valued variables xxx = (x1, . . . , xd)

T andbi ∈ R. A bounded polyhedron is called a polytope.

x1 + 2x2 ≤ 12

−3x1 + 2x2 ≤ 1

x1 ≤ 7

x1

x2

0

Ábrahám - Hybrid Systems 4 / 18

Page 13: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

De�nition (Reminder: convex sets)

A set S ⊆ Rd is convex if

∀xxx,yyy ∈ S. ∀λ ∈ [0, 1] ⊆ R. λxxx+ (1− λ)yyy ∈ S.

Polyhedra are convex sets. Proof?

Depending on the form of the representation we distinguish between

H-polytopes andV-polytopes

Ábrahám - Hybrid Systems 5 / 18

Page 14: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

De�nition (Reminder: convex sets)

A set S ⊆ Rd is convex if

∀xxx,yyy ∈ S. ∀λ ∈ [0, 1] ⊆ R. λxxx+ (1− λ)yyy ∈ S.

Polyhedra are convex sets. Proof?

Depending on the form of the representation we distinguish between

H-polytopes andV-polytopes

Ábrahám - Hybrid Systems 5 / 18

Page 15: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

De�nition (Reminder: convex sets)

A set S ⊆ Rd is convex if

∀xxx,yyy ∈ S. ∀λ ∈ [0, 1] ⊆ R. λxxx+ (1− λ)yyy ∈ S.

Polyhedra are convex sets. Proof?

Depending on the form of the representation we distinguish between

H-polytopes andV-polytopes

Ábrahám - Hybrid Systems 5 / 18

Page 16: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

(Convex) polyhedra and polytopes

De�nition (Reminder: convex sets)

A set S ⊆ Rd is convex if

∀xxx,yyy ∈ S. ∀λ ∈ [0, 1] ⊆ R. λxxx+ (1− λ)yyy ∈ S.

Polyhedra are convex sets. Proof?

Depending on the form of the representation we distinguish between

H-polytopes andV-polytopes

Ábrahám - Hybrid Systems 5 / 18

Page 17: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

H-polytopes

De�nition (Closed halfspace)

A d-dimensional closed halfspace is a set H = {xxx ∈ Rd | aaaT · xxx ≤ b} forsome aaa ∈ Rd, called the normal of the halfspace, and some b ∈ R.

De�nition (H-polyhedron, H-polytope)

A d-dimensional H-polyhedron P =⋂n

i=1Hi is the intersection of �nitelymany closed halfspaces. A bounded H-polyhedron is called an H-polytope.

The facets of a d-dimensional H-polytope are d− 1-dimensionalH-polytopes.

Ábrahám - Hybrid Systems 6 / 18

Page 18: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

H-polytopes

De�nition (Closed halfspace)

A d-dimensional closed halfspace is a set H = {xxx ∈ Rd | aaaT · xxx ≤ b} forsome aaa ∈ Rd, called the normal of the halfspace, and some b ∈ R.

De�nition (H-polyhedron, H-polytope)

A d-dimensional H-polyhedron P =⋂n

i=1Hi is the intersection of �nitelymany closed halfspaces. A bounded H-polyhedron is called an H-polytope.

The facets of a d-dimensional H-polytope are d− 1-dimensionalH-polytopes.

Ábrahám - Hybrid Systems 6 / 18

Page 19: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

H-polytopes

An H-polytope

P =

n⋂i=1

Hi =

n⋂i=1

{xxx ∈ Rd | aiaiaiT · xxx ≤ bi}

can also be written in the form

P = {xxx ∈ Rd | Axxx ≤ bbb}.

We call (A,bbb) the H-representation of the polytope.

Each row of A is the normal vector to the ith facet of the polytope.

An H-polytope P has a �nite number of vertices V (P ).

Ábrahám - Hybrid Systems 7 / 18

Page 20: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

H-polytopes

An H-polytope

P =

n⋂i=1

Hi =

n⋂i=1

{xxx ∈ Rd | aiaiaiT · xxx ≤ bi}

can also be written in the form

P = {xxx ∈ Rd | Axxx ≤ bbb}.

We call (A,bbb) the H-representation of the polytope.

Each row of A is the normal vector to the ith facet of the polytope.

An H-polytope P has a �nite number of vertices V (P ).

Ábrahám - Hybrid Systems 7 / 18

Page 21: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

H-polytopes

An H-polytope

P =

n⋂i=1

Hi =

n⋂i=1

{xxx ∈ Rd | aiaiaiT · xxx ≤ bi}

can also be written in the form

P = {xxx ∈ Rd | Axxx ≤ bbb}.

We call (A,bbb) the H-representation of the polytope.

Each row of A is the normal vector to the ith facet of the polytope.

An H-polytope P has a �nite number of vertices V (P ).

Ábrahám - Hybrid Systems 7 / 18

Page 22: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Convex hull of a �nite set of points

x1

x2

0

Ábrahám - Hybrid Systems 8 / 18

Page 23: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Convex hull of a �nite set of points

x1

x2

0

Ábrahám - Hybrid Systems 8 / 18

Page 24: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

V-polytopes

De�nition (Convex hull)

Given a set V ⊆ Rd, the convex hull conv(V ) of V is the smallest convexset that contains V .

For a �nite set V = {v1v1v1, . . . , vnvnvn} ⊆ Rd, its convex hull can be computed by

conv(V ) = {xxx ∈ Rd | ∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1∧n∑

i=1

λivivivi = xxx}.

De�nition (V-polytope)A V-polytope P = conv(V ) is the convex hull of a �nite set V ⊂ Rd. Wecall V the V-representation of the polytope.

Note that all V-polytopes are bounded.Unbounded polyhedra can be represented by extending convex hulls withconical hulls.

Ábrahám - Hybrid Systems 9 / 18

Page 25: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

V-polytopes

De�nition (Convex hull)

Given a set V ⊆ Rd, the convex hull conv(V ) of V is the smallest convexset that contains V .

For a �nite set V = {v1v1v1, . . . , vnvnvn} ⊆ Rd, its convex hull can be computed by

conv(V ) = {xxx ∈ Rd | ∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1∧n∑

i=1

λivivivi = xxx}.

De�nition (V-polytope)A V-polytope P = conv(V ) is the convex hull of a �nite set V ⊂ Rd. Wecall V the V-representation of the polytope.

Note that all V-polytopes are bounded.Unbounded polyhedra can be represented by extending convex hulls withconical hulls.

Ábrahám - Hybrid Systems 9 / 18

Page 26: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

V-polytopes

De�nition (Convex hull)

Given a set V ⊆ Rd, the convex hull conv(V ) of V is the smallest convexset that contains V .

For a �nite set V = {v1v1v1, . . . , vnvnvn} ⊆ Rd, its convex hull can be computed by

conv(V ) = {xxx ∈ Rd | ∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1∧n∑

i=1

λivivivi = xxx}.

De�nition (V-polytope)A V-polytope P = conv(V ) is the convex hull of a �nite set V ⊂ Rd. Wecall V the V-representation of the polytope.

Note that all V-polytopes are bounded.Unbounded polyhedra can be represented by extending convex hulls withconical hulls.

Ábrahám - Hybrid Systems 9 / 18

Page 27: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

V-polytopes

De�nition (Convex hull)

Given a set V ⊆ Rd, the convex hull conv(V ) of V is the smallest convexset that contains V .

For a �nite set V = {v1v1v1, . . . , vnvnvn} ⊆ Rd, its convex hull can be computed by

conv(V ) = {xxx ∈ Rd | ∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1∧n∑

i=1

λivivivi = xxx}.

De�nition (V-polytope)A V-polytope P = conv(V ) is the convex hull of a �nite set V ⊂ Rd. Wecall V the V-representation of the polytope.

Note that all V-polytopes are bounded.Unbounded polyhedra can be represented by extending convex hulls withconical hulls.

Ábrahám - Hybrid Systems 9 / 18

Page 28: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

V-polytopes

De�nition (Convex hull)

Given a set V ⊆ Rd, the convex hull conv(V ) of V is the smallest convexset that contains V .

For a �nite set V = {v1v1v1, . . . , vnvnvn} ⊆ Rd, its convex hull can be computed by

conv(V ) = {xxx ∈ Rd | ∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1∧n∑

i=1

λivivivi = xxx}.

De�nition (V-polytope)A V-polytope P = conv(V ) is the convex hull of a �nite set V ⊂ Rd. Wecall V the V-representation of the polytope.

Note that all V-polytopes are bounded.

Unbounded polyhedra can be represented by extending convex hulls withconical hulls.

Ábrahám - Hybrid Systems 9 / 18

Page 29: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

V-polytopes

De�nition (Convex hull)

Given a set V ⊆ Rd, the convex hull conv(V ) of V is the smallest convexset that contains V .

For a �nite set V = {v1v1v1, . . . , vnvnvn} ⊆ Rd, its convex hull can be computed by

conv(V ) = {xxx ∈ Rd | ∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1∧n∑

i=1

λivivivi = xxx}.

De�nition (V-polytope)A V-polytope P = conv(V ) is the convex hull of a �nite set V ⊂ Rd. Wecall V the V-representation of the polytope.

Note that all V-polytopes are bounded.Unbounded polyhedra can be represented by extending convex hulls withconical hulls.

Ábrahám - Hybrid Systems 9 / 18

Page 30: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Conical hull of a �nite set of points

x1

x2

0

Ábrahám - Hybrid Systems 10 / 18

Page 31: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Conical hull of a �nite set of points

x1

x2

0

Ábrahám - Hybrid Systems 10 / 18

Page 32: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Conical hull of a �nite set of points

De�nition (Conical hull)

If U = {u1u1u1, . . . ,ununun} is a �nite set of points in Rd, the conical hull of U isde�ned by

cone(U) = {xxx ∈ Rd | ∃λ1, . . . , λn ∈ R≥0. xxx =

n∑i=1

λiuiuiui}. (1)

Each polyhedra P ⊆ Rd can be represented by two �nite sets V,U ⊆ Rd

such that

P = conv(V )⊕ cone(U) = {vvv + uuu | vvv ∈ conv(V ), uuu ∈ cone(U)} ,

where ⊕ is called the Minkowski sum.If U is empty then P is bounded (e.g., a polytope).In the following we consider, for simplicity, only bounded V-polytopes.

Ábrahám - Hybrid Systems 11 / 18

Page 33: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Conical hull of a �nite set of points

De�nition (Conical hull)

If U = {u1u1u1, . . . ,ununun} is a �nite set of points in Rd, the conical hull of U isde�ned by

cone(U) = {xxx ∈ Rd | ∃λ1, . . . , λn ∈ R≥0. xxx =

n∑i=1

λiuiuiui}. (1)

Each polyhedra P ⊆ Rd can be represented by two �nite sets V,U ⊆ Rd

such that

P = conv(V )⊕ cone(U) = {vvv + uuu | vvv ∈ conv(V ), uuu ∈ cone(U)} ,

where ⊕ is called the Minkowski sum.If U is empty then P is bounded (e.g., a polytope).In the following we consider, for simplicity, only bounded V-polytopes.

Ábrahám - Hybrid Systems 11 / 18

Page 34: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Motzkin's theorem

For each H-polytope, the convex hull of its vertices de�nes the sameset in the form of a V-polytope, and vice versa,

each set de�ned as a V-polytope can be also given as an H-polytopeby computing the halfspaces de�ned by its facets.

The translations between the H- and the V-representations of polytopescan be exponential in the state space dimension d.

Ábrahám - Hybrid Systems 12 / 18

Page 35: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Contents

1 Convex polyhedra

2 Operations on convex polyhedra

Ábrahám - Hybrid Systems 13 / 18

Page 36: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Operations

If we represent reachable sets of hybrid automata by polytopes, we needsome operations like

membership computation (xxx ∈ P )linear transformation (A · P )Minkowski sum (P1 ⊕ P2)

intersection (P1 ∩ P2)

(convex hull of the) union of two polytopes (conv(P1 ∪ P2))

test for emptiness (P = ∅?)

Ábrahám - Hybrid Systems 14 / 18

Page 37: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Membership ppp ∈ P

Membership for ppp ∈ Rd:

H-polytope de�ned by Axxx ≤ zzz:just substitute ppp for xxx to check if the inequation holds.

V-polytope de�ned by the vertex set V :check satis�ability of

∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1 ∧n∑

i=1

λivivivi = xxx .

Alternatively: convert the V-polytope into an H-polytope bycomputing its facets.

Ábrahám - Hybrid Systems 15 / 18

Page 38: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Membership ppp ∈ P

Membership for ppp ∈ Rd:

H-polytope de�ned by Axxx ≤ zzz:

just substitute ppp for xxx to check if the inequation holds.

V-polytope de�ned by the vertex set V :check satis�ability of

∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1 ∧n∑

i=1

λivivivi = xxx .

Alternatively: convert the V-polytope into an H-polytope bycomputing its facets.

Ábrahám - Hybrid Systems 15 / 18

Page 39: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Membership ppp ∈ P

Membership for ppp ∈ Rd:

H-polytope de�ned by Axxx ≤ zzz:just substitute ppp for xxx to check if the inequation holds.

V-polytope de�ned by the vertex set V :check satis�ability of

∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1 ∧n∑

i=1

λivivivi = xxx .

Alternatively: convert the V-polytope into an H-polytope bycomputing its facets.

Ábrahám - Hybrid Systems 15 / 18

Page 40: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Membership ppp ∈ P

Membership for ppp ∈ Rd:

H-polytope de�ned by Axxx ≤ zzz:just substitute ppp for xxx to check if the inequation holds.

V-polytope de�ned by the vertex set V :

check satis�ability of

∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1 ∧n∑

i=1

λivivivi = xxx .

Alternatively: convert the V-polytope into an H-polytope bycomputing its facets.

Ábrahám - Hybrid Systems 15 / 18

Page 41: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Membership ppp ∈ P

Membership for ppp ∈ Rd:

H-polytope de�ned by Axxx ≤ zzz:just substitute ppp for xxx to check if the inequation holds.

V-polytope de�ned by the vertex set V :check satis�ability of

∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1 ∧n∑

i=1

λivivivi = xxx .

Alternatively: convert the V-polytope into an H-polytope bycomputing its facets.

Ábrahám - Hybrid Systems 15 / 18

Page 42: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Membership ppp ∈ P

Membership for ppp ∈ Rd:

H-polytope de�ned by Axxx ≤ zzz:just substitute ppp for xxx to check if the inequation holds.

V-polytope de�ned by the vertex set V :check satis�ability of

∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1 ∧n∑

i=1

λivivivi = xxx .

Alternatively:

convert the V-polytope into an H-polytope bycomputing its facets.

Ábrahám - Hybrid Systems 15 / 18

Page 43: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Membership ppp ∈ P

Membership for ppp ∈ Rd:

H-polytope de�ned by Axxx ≤ zzz:just substitute ppp for xxx to check if the inequation holds.

V-polytope de�ned by the vertex set V :check satis�ability of

∃λ1, . . . , λn ∈ [0, 1] ⊆ R.n∑

i=1

λi = 1 ∧n∑

i=1

λivivivi = xxx .

Alternatively: convert the V-polytope into an H-polytope bycomputing its facets.

Ábrahám - Hybrid Systems 15 / 18

Page 44: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Intersection P1 ∩ P2

Intersection for two polytopes P1 and P2:

H-polytopes de�ned by A1xxx ≤ b1b1b1 and A2xxx ≤ b2b2b2:

the resulting H-polytope is de�ned by

(A1

A2

)xxx ≤

(b1b1b1b2b2b2

).

V-polytopes de�ned by V1 and V2:Convert P1 and P2 to H-polytopes and convert the result back to aV-polytope.

Ábrahám - Hybrid Systems 16 / 18

Page 45: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Intersection P1 ∩ P2

Intersection for two polytopes P1 and P2:

H-polytopes de�ned by A1xxx ≤ b1b1b1 and A2xxx ≤ b2b2b2:

the resulting H-polytope is de�ned by

(A1

A2

)xxx ≤

(b1b1b1b2b2b2

).

V-polytopes de�ned by V1 and V2:

Convert P1 and P2 to H-polytopes and convert the result back to aV-polytope.

Ábrahám - Hybrid Systems 16 / 18

Page 46: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Intersection P1 ∩ P2

Intersection for two polytopes P1 and P2:

H-polytopes de�ned by A1xxx ≤ b1b1b1 and A2xxx ≤ b2b2b2:

the resulting H-polytope is de�ned by

(A1

A2

)xxx ≤

(b1b1b1b2b2b2

).

V-polytopes de�ned by V1 and V2:Convert P1 and P2 to H-polytopes and convert the result back to aV-polytope.

Ábrahám - Hybrid Systems 16 / 18

Page 47: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Union P1 ∪ P2

Note that the union of two convex polytopes is in general not a convexpolytope.

→ take the convex hull of the union.

V-polytopes de�ned by V1 and V2:V-representation V1 ∪ V2.H-polytopes de�ned by A1xxx ≤ b1b1b1 and A2xxx ≤ b2b2b2:convert to V-polytopes and compute back the result.

Ábrahám - Hybrid Systems 17 / 18

Page 48: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Union P1 ∪ P2

Note that the union of two convex polytopes is in general not a convexpolytope.→ take the convex hull of the union.

V-polytopes de�ned by V1 and V2:V-representation V1 ∪ V2.H-polytopes de�ned by A1xxx ≤ b1b1b1 and A2xxx ≤ b2b2b2:convert to V-polytopes and compute back the result.

Ábrahám - Hybrid Systems 17 / 18

Page 49: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Union P1 ∪ P2

Note that the union of two convex polytopes is in general not a convexpolytope.→ take the convex hull of the union.

V-polytopes de�ned by V1 and V2:

V-representation V1 ∪ V2.H-polytopes de�ned by A1xxx ≤ b1b1b1 and A2xxx ≤ b2b2b2:convert to V-polytopes and compute back the result.

Ábrahám - Hybrid Systems 17 / 18

Page 50: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Union P1 ∪ P2

Note that the union of two convex polytopes is in general not a convexpolytope.→ take the convex hull of the union.

V-polytopes de�ned by V1 and V2:V-representation V1 ∪ V2.H-polytopes de�ned by A1xxx ≤ b1b1b1 and A2xxx ≤ b2b2b2:

convert to V-polytopes and compute back the result.

Ábrahám - Hybrid Systems 17 / 18

Page 51: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Union P1 ∪ P2

Note that the union of two convex polytopes is in general not a convexpolytope.→ take the convex hull of the union.

V-polytopes de�ned by V1 and V2:V-representation V1 ∪ V2.H-polytopes de�ned by A1xxx ≤ b1b1b1 and A2xxx ≤ b2b2b2:convert to V-polytopes and compute back the result.

Ábrahám - Hybrid Systems 17 / 18

Page 52: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid
Page 53: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid
Page 54: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid
Page 55: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid
Page 56: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid

Operation complexity overview

�easy�: doable in polynomial complexity�hard�: no polynomial algorithm is known

x ∈ P A · P P1 ⊕ P2 P1 ∩ P2 P1 ∪ P2

V-polytope easy easy − − −H-polytope easy hard − − −

V-polytope and V-polytope − − easy hard easyH-polytope and H-polytope − − hard easy hardV-polytope and H-polytope − − hard hard hard

It is in general also hard to translate a V-polytope to an H-polytope or viceversa.

Ábrahám - Hybrid Systems 18 / 18

Page 57: Modeling and Analysis of Hybrid Systems - Convex polyhedra · Modeling and Analysis of Hybrid Systems Convex polyhedra Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid