Integers in Stochastic Optimization R udiger Schultz Chair of - - PowerPoint PPT Presentation

integers in stochastic optimization
SMART_READER_LITE
LIVE PREVIEW

Integers in Stochastic Optimization R udiger Schultz Chair of - - PowerPoint PPT Presentation

RICAM, Linz, November 18, 2019 Integers in Stochastic Optimization R udiger Schultz Chair of Discrete Mathematics and Optimization Faculty of Mathematics, University of Duisburg-Essen The Classic Case and Beyond : Continuous Variables


slide-1
SLIDE 1

RICAM, Linz, November 18, 2019

Integers in Stochastic Optimization

R¨ udiger Schultz Chair of Discrete Mathematics and Optimization Faculty of Mathematics, University of Duisburg-Essen

slide-2
SLIDE 2

The Classic Case and Beyond : Continuous Variables – Convexity !!

slide-3
SLIDE 3

The Classic Case and Beyond : Continuous Variables – Convexity !! Φ(t) = min{y + + y − : y + − y − = t, y + ∈ I R+, y − ∈ I R+} = max{tu : −1 ≤ u ≤ 1} = |t| Newsboy – Inventory Problem,

slide-4
SLIDE 4

The Classic Case and Beyond : Continuous Variables – Convexity !! Φ(t) = min{y + + y − : y + − y − = t, y + ∈ I R+, y − ∈ I R+} = max{tu : −1 ≤ u ≤ 1} = |t| Newsboy – Inventory Problem, Minor modification with major impact:

Φ(t) = min 1 2 v + y+ + y− : v + y+ − y− = t, v ∈ Z Z+, y+ ∈ I R+, y− ∈ I R+

slide-5
SLIDE 5

The Classic Case and Beyond : Continuous Variables – Convexity !! Φ(t) = min{y + + y − : y + − y − = t, y + ∈ I R+, y − ∈ I R+} = max{tu : −1 ≤ u ≤ 1} = |t| Newsboy – Inventory Problem, Minor modification with major impact:

Φ(t) = min 1 2 v + y+ + y− : v + y+ − y− = t, v ∈ Z Z+, y+ ∈ I R+, y− ∈ I R+

  • =

min 1 2 v + |t − v| : v ∈ Z Z+

  • .
slide-6
SLIDE 6

The Classic Case and Beyond : Continuous Variables – Convexity !! Φ(t) = min{y + + y − : y + − y − = t, y + ∈ I R+, y − ∈ I R+} = max{tu : −1 ≤ u ≤ 1} = |t| Newsboy – Inventory Problem, Minor modification with major impact:

Φ(t) = min 1 2 v + y+ + y− : v + y+ − y− = t, v ∈ Z Z+, y+ ∈ I R+, y− ∈ I R+

  • =

min 1 2 v + |t − v| : v ∈ Z Z+

  • .

v = 3 v = 2 v = 0 v = 1 Φ(t) = min 1

2 · v + |t − v| : v ∈ Z+

  • 0.5

1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 −2 −1 1 2 3 4

slide-7
SLIDE 7

Φ(t) = min{v + + v − : y + v + − v − = t, y ∈ I R+, v + ∈ Z Z+, v − ∈ Z Z+} =

  • if

t ≥ 0 ⌈−t⌉ if t < 0.

slide-8
SLIDE 8

Φ(t) = min{v + + v − : y + v + − v − = t, y ∈ I R+, v + ∈ Z Z+, v − ∈ Z Z+} =

  • if

t ≥ 0 ⌈−t⌉ if t < 0.

...

Φ(t) =

  • t ≥ 0

⌈−t⌉ t < 0

1 2 3 4 −4 −3 −2 −1 2 3 4 1

slide-9
SLIDE 9

Random linear (mixed-integer) program: min

  • c⊤x + q⊤y : Tx + Wy = z(ω), x ∈ X, y ∈ Y
slide-10
SLIDE 10

Random linear (mixed-integer) program: min

  • c⊤x + q⊤y : Tx + Wy = z(ω), x ∈ X, y ∈ Y
  • with X, Y (mixed-integer) polyhedra and nonanticipativity

x → z(ω) − → y = y(x, ω)

slide-11
SLIDE 11

Random linear (mixed-integer) program: min

  • c⊤x + q⊤y : Tx + Wy = z(ω), x ∈ X, y ∈ Y
  • with X, Y (mixed-integer) polyhedra and nonanticipativity

x → z(ω) − → y = y(x, ω)

  • r, more explicitly,

min

x

  • c⊤x + min

y

  • q⊤y : Wy = z(ω) − Tx, y ∈ Y
  • f (x,ω)

: x ∈ X

slide-12
SLIDE 12

Random linear (mixed-integer) program: min

  • c⊤x + q⊤y : Tx + Wy = z(ω), x ∈ X, y ∈ Y
  • with X, Y (mixed-integer) polyhedra and nonanticipativity

x → z(ω) − → y = y(x, ω)

  • r, more explicitly,

min

x

  • c⊤x + min

y

  • q⊤y : Wy = z(ω) − Tx, y ∈ Y
  • f (x,ω)

: x ∈ X

  • Stochastic programmng is about “optimizing or ranking

against each other the random variables f (x, .) as x varies”.

slide-13
SLIDE 13

Stochastic Integer Programs: Hilbert, Graver, Gordan-Dickson, and Maclagan

with Raymond Hemmecke: Decomposition of test sets in stochastic integer programming, Mathematical Programming 94 (2003), 323 - 341.

slide-14
SLIDE 14

Gordan+Dickson →deterministic, integer vectors Maclagan → two-stage stochastic, monomial ideals Nash-Williams, Aschenbrenner+Hemmecke → multi-stage stoch., vector trees

slide-15
SLIDE 15

Issues – IP:

◮ Ideal: I ⊆ k[x1, . . . , xn] ideal, if

(i) 0 ∈ I; (ii) If f , g ∈ I, then f + g ∈ I; (iii) If f ∈ I and h ∈ k[x], then hf ∈ I

◮ Ground Set: S := Zn ◮ Partial Order on Zn:

u ⊑ v , if |u(j) · v (j) ≥ 0 and |u(j)| ≤ |v (j)| for all components j. Commonly said “u reduces v”

◮ The Set B

slide-16
SLIDE 16

Optimality Certificates, Test Sets

slide-17
SLIDE 17

Optimality Certificates, Test Sets Definition (Optimality Certificate, Test Set) A set Tc ⊆ Z Z d is called an optimality certificate (or test set) for the family of problems (IP)c,b min{c⊺z : Az = b, z ∈ Z Z d

+}

as b ∈ I Rl varies if

  • 1. c⊺t > 0 for all t ∈ Tc, and
  • 2. for every b ∈ I

Rl and for every non-optimal feasible solution z0 ∈ Z Z d

+ to Az = b, there exists an improving vector t ∈ Tc such

that z0 − t is feasible.

slide-18
SLIDE 18

Optimality Certificates, Test Sets Definition (Optimality Certificate, Test Set) A set Tc ⊆ Z Z d is called an optimality certificate (or test set) for the family of problems (IP)c,b min{c⊺z : Az = b, z ∈ Z Z d

+}

as b ∈ I Rl varies if

  • 1. c⊺t > 0 for all t ∈ Tc, and
  • 2. for every b ∈ I

Rl and for every non-optimal feasible solution z0 ∈ Z Z d

+ to Az = b, there exists an improving vector t ∈ Tc such

that z0 − t is feasible. A set T is called a universal optimality certificate for the family of problems (IP)c,b as b ∈ I Rl and c ∈ I Rd vary if it contains an

  • ptimality certificate Tc for every c ∈ I

Rd.

slide-19
SLIDE 19

Augmentation, Feasibility

slide-20
SLIDE 20

Augmentation, Feasibility Algorithm (Augmentation Algorithm) Input: a feasible solution z0 to (IP)c,b, an optimality certificate Tc for (IP)c,b Output: an optimal point zmin of (IP)c,b while there is t ∈ Tc with c⊺t > 0 such that z0 − t is feasible do z0 := z0 − t return z0

slide-21
SLIDE 21

Augmentation, Feasibility Algorithm (Augmentation Algorithm) Input: a feasible solution z0 to (IP)c,b, an optimality certificate Tc for (IP)c,b Output: an optimal point zmin of (IP)c,b while there is t ∈ Tc with c⊺t > 0 such that z0 − t is feasible do z0 := z0 − t return z0 Algorithm (Feasible Solution) Input: a solution z1 ∈ Z Z d to Az = b, a universal optimality certificate T for (IP)c,b Output: a feasible solution to (IP)c,b or “FAIL” if no such exists While there is some g ∈ T such that g ≤ z+

1 and (z1 − g)−1 < z− 1 1 do

z1 := z1 − g if z−

1 1 > 0 then return “FAIL” else return z1

slide-22
SLIDE 22

Definition (Hilbert basis) Let C be a polyhedral cone with rational generators. A finite set H = {h1, . . . , ht} ⊆ C ∩ Zd is a Hilbert basis of C if every z ∈ C ∩ Zd has a representation of the form z =

t

  • i=1

λihi, with non-negative integral multipliers λ1, . . . , λt.

slide-23
SLIDE 23

Definition (Hilbert basis) Let C be a polyhedral cone with rational generators. A finite set H = {h1, . . . , ht} ⊆ C ∩ Zd is a Hilbert basis of C if every z ∈ C ∩ Zd has a representation of the form z =

t

  • i=1

λihi, with non-negative integral multipliers λ1, . . . , λt. Let Oj be the jth orthant of Z Z d and Hj(A) be the unique minimal Hilbert basis of the pointed rational cone {v ∈ I Rd : Av = 0} ∩ Oj.

slide-24
SLIDE 24

Definition (Hilbert basis) Let C be a polyhedral cone with rational generators. A finite set H = {h1, . . . , ht} ⊆ C ∩ Zd is a Hilbert basis of C if every z ∈ C ∩ Zd has a representation of the form z =

t

  • i=1

λihi, with non-negative integral multipliers λ1, . . . , λt. Let Oj be the jth orthant of Z Z d and Hj(A) be the unique minimal Hilbert basis of the pointed rational cone {v ∈ I Rd : Av = 0} ∩ Oj. Lemma (Graver set) The set G(A) :=

  • Hj(A) \ {0}

is a universal optimality criterion, called the IP Graver set or IP Graver basis, for the family of problems (IP)c,b as b ∈ I Rl and c ∈ I Rd vary.

slide-25
SLIDE 25

u ⊑ v iff

◮ u+ ≤ v + and u− ≤ v − where max{0, u(i)} are the components of u+

and max{0, −u(i)} those of u−.

slide-26
SLIDE 26

u ⊑ v iff

◮ u+ ≤ v + and u− ≤ v − where max{0, u(i)} are the components of u+

and max{0, −u(i)} those of u−.

◮ u belongs to the same orthant as v (sign compatibility) and its

components are not greater in absolute value than the corresponding components of v.

slide-27
SLIDE 27

u ⊑ v iff

◮ u+ ≤ v + and u− ≤ v − where max{0, u(i)} are the components of u+

and max{0, −u(i)} those of u−.

◮ u belongs to the same orthant as v (sign compatibility) and its

components are not greater in absolute value than the corresponding components of v. Algorithm (Normal Form Algorithm) Input: a vector s, a set G of vectors Output: a normal form of s with respect to G while there is some g ∈ G such that g ⊑ s do s := s − g return s

slide-28
SLIDE 28

Algorithm (Computing IP Graver Sets) Input: F =

  • f ∈F(A)

{f , −f }, where F(A) is a set of vectors generating ker(A)

  • ver Z

Z Output: a set G which contains the IP Graver set G(A) G := F C :=

  • f ,g∈G

{f + g} (forming S-vectors) while C = ∅ do s := an element in C C := C \ {s} f := normalForm(s, G) if f = 0 then C := C ∪

g∈G

{f + g} (adding S-vectors) G := G ∪ {f } return G.

slide-29
SLIDE 29

Two-Stage Stochastic Integer Programs min{c⊺z : ANz = b, z ∈ Z Z d

+}

AN :=        A · · · T W · · · T W · · · . . . . . . . . . ... . . . T · · · W        with N denoting the number of scenarios, d = m + Nn, c = (c0, c1, . . . , cN)⊺ := (h, π1q, . . . , πNq)⊺ b = (a, ξ1, . . . , ξN)⊺.

slide-30
SLIDE 30

We will

◮ extend the notion of S-vectors ◮ retain the pattern of the previous completion method ◮ work on pairs (u, Vu) (defined below) instead of vectors. ◮ employ a generalization of the Gordan-Dickson Lemma, Maclagan’s

Theorem (Proc. AMS, 2001), to ensure termination of the algorithm.

◮ see, that the block angular structure of the problem matrix induces a

symmetry structure on the elements of the Graver set.

◮ see, that the Graver set vectors are formed by a comparably small

number of building blocks.

◮ compute these building blocks without computing the Graver set. ◮ reconstruct an improving vector to a given non-optimal feasible

solution, scenario by scenario, using building blocks only.

◮ find an optimal solution with comparably small effort, once the

building blocks have been computed.

slide-31
SLIDE 31

Lemma (u, v1, . . . , vN) ∈ ker(AN) if and only if (u, v1), . . . , (u, vN) ∈ ker(A1). Definition Let z = (u, v1, . . . , vN) ∈ ker(AN) and call the vectors u, v1, . . . , vN the building blocks of z. Denote by GN the Graver test set associated with AN and collect into HN all those vectors arising as building blocks of some z ∈ GN. By H∞ denote the set ∞

N=1 HN.

slide-32
SLIDE 32

Lemma (u, v1, . . . , vN) ∈ ker(AN) if and only if (u, v1), . . . , (u, vN) ∈ ker(A1). Definition Let z = (u, v1, . . . , vN) ∈ ker(AN) and call the vectors u, v1, . . . , vN the building blocks of z. Denote by GN the Graver test set associated with AN and collect into HN all those vectors arising as building blocks of some z ∈ GN. By H∞ denote the set ∞

N=1 HN.

The set H∞ contains both m-dimensional vectors u associated with the first-stage and n-dimensional vectors v related to the second-stage in the stochastic program. For convenience, we will arrange the vectors in H∞ into pairs (u, Vu). Definition For fixed u ∈ H∞, all those vectors v ∈ H∞ are collected into Vu for which (u, v) ∈ ker(A1).

slide-33
SLIDE 33

Finiteness of H∞

Definition We say that (u′, Vu′) reduces (u, Vu), or (u′, Vu′) ⊑ (u, Vu) for short, if the following conditions are satisfied:

◮ u′ ⊑ u, ◮ for every v ∈ Vu there exists a v′ ∈ Vu′ with v′ ⊑ v, ◮ u′ = 0 or there exist vectors v ∈ Vu and v′ ∈ Vu′ with

0 = v′ ⊑ v.

slide-34
SLIDE 34

Theorem (Maclagan 2001) Let I be an infinite collection of monomial ideals in a polynomial ring. Then there are two ideals I, J ∈ I with I ⊆ J. Definition We associate with (u, Vu), u = 0,and with (0, V0) the monomial ideals I(u, Vu) ∈ Q[x1, . . . , x2m+2n] and I(0, V0) ∈ Q[x1, . . . , x2n] generated by all the monomials x(u+,u−,v+,v−) with v ∈ Vu, and by all the monomials x(v+,v−) with v = 0 and v ∈ V0, respectively. Lemma Let ((u1, Vu1), (u2, Vu2), . . .) be a sequence of pairs such that (ui, Vui ) ⊑ (uj, Vuj ) whenever i < j. Then this sequence is finite. Theorem (Finiteness of H∞) Given rational matrices A, T, and W of appropriate dimensions, and let H∞ be defined as above. Then H∞ is a finite set.

slide-35
SLIDE 35

Computation of H∞

Idea:

◮ Retain the completion pattern of Graver set computation, but

work with pairs (u, Vu) instead.

◮ Define the two main ingredients, S-vectors and normalForm, that

means the operations ⊕ and ⊖, appropriately.

◮ Now, the objects f , g, and s all are pairs of the form (u, Vu).

Algorithm (Extended normal form algorithm) Input: a pair s, a set G of pairs Output: a normal form of s with respect to G while there is some g ∈ G such that g ⊑ s do s := s ⊖ g return s

slide-36
SLIDE 36

Algorithm (Compute H∞) Input: a generating set F of ker(A1) in (u, Vu)-notation to be specified below Output: a set G which contains H∞ G := F C :=

  • f ,g∈G

{f ⊕ g} (forming S-vectors) while C = ∅ do s := an element in C C := C \ {s} f := normalForm(s, G) if f = (0, {0}) then C := C ∪

  • g∈G∪{f }

{f ⊕ g} (adding S-vectors) G := G ∪ {f } return G.

slide-37
SLIDE 37

Choose as input the set of building blocks of all vectors in F ∪ {0} in (u, Vu)-notation. Herein, F is a generating set for ker(A1) over Z Z which contains a generating set for {(0, v) : Wv = 0} ⊆ ker(A1) consisting only of vectors with zero first-stage component. Definition (S-vectors, Reduction) Let (u, Vu) ⊕ (u′, Vu′) := (u + u′, Vu + Vu′), where Vu + Vu′ := {v + v ′ : v ∈ Vu, v ′ ∈ Vu′}. Moreover, let (u, Vu) ⊖ (u′, Vu′) := (u − u′, {v − v ′ : v ∈ Vu, v ′ ∈ Vu′, v ′ ⊑ v}).

slide-38
SLIDE 38

Feasibility at Building-Block Level Define the auxiliary cost function c′ by (c′)(i) :=

  • if z(i)

1

≥ 0 −1 if z(i)

1

< 0 , for i = 1, . . . , m + Nn.

slide-39
SLIDE 39

Consider the two-stage program min{35x1 + 40x2 + 1 N

N

  • ν=1

16yν

1 + 19yν 2 + 47yν 3 + 54yν 4 :

x1 + yν

1 + yν 3

≥ ξν

1 ,

x2 + yν

2 + yν 4

≥ ξν

2 ,

2yν

1 + yν 2

≤ ξν

3 ,

1 + 2yν 2

≤ ξν

4 ,

x1, x2, yν

1 , yν 2 , yν 3 , yν 4 ∈ Z

Z+} Here, the random vector ξ ∈ I Rs is given by the scenarios ξ1, . . . , ξN, all with equal probability 1/N. The realizations of (ξν

1 , ξν 2 ) and (ξν 3 , ξν 4 ) are given by uniform

grids (of differing granularity) in the squares [300, 500] × [300, 500] and [0, 2000] × [0, 2000], respectively. Timings are given in CPU seconds on a SUN Enterprise 450, 300 MHz Ultra-SPARC. It took 3.3 seconds to compute H∞ altogether consisting of 1438 building blocks arranged into 25 pairs (u, Vu). Aug(H∞) then gives the times needed to augment the solution x1 = x2 = yν

1 = yν 2 = 0, yν 3 = ξν 1 , and yν 4 = ξν 2 , ν = 1, . . . N to

  • ptimality.

Example (ξ1, ξ2)-grid (ξ3, ξ4)-grid scen. var. Aug(H∞) CPLEX dualdec 1 5 × 5 3 × 3 225 902 1.52 0.63 > 1800 2 5 × 5 21 × 21 11025 44102 66.37 696.10 − 3 9 × 9 21 × 21 35721 142886 180.63 > 1 day −

Although further exploration is necessary, the above table seems to indicate linear dependence of the computing time on the number N of scenarios, once H∞ has been computed.

slide-40
SLIDE 40

II Unit Commitment – A Recurring Issue in Power Management

slide-41
SLIDE 41

Step Back in Time for 101 years

slide-42
SLIDE 42

Step Back in Time for 101 years 1915

slide-43
SLIDE 43

Step Back in Time for 101 years 1915

Zschornewitz

slide-44
SLIDE 44

Step Back in Time for 101 years 1915

Zschornewitz

Biggest lignite-fired thermal power station of its time inaugurated.

slide-45
SLIDE 45

Step Back in Time for 101 years 1915

Zschornewitz

Biggest lignite-fired thermal power station of its time inaugurated.

slide-46
SLIDE 46

Step Back in Time for 101 years 1915

Zschornewitz

Biggest lignite-fired thermal power station of its time inaugurated.

◮ Build within one year (Groundbreaking March 24, 1915, First Turbine (16 MW) in Operation December 15, 1915, 1916: 8×16 MW installed)

slide-47
SLIDE 47

Step Back in Time for 101 years 1915

Zschornewitz

Biggest lignite-fired thermal power station of its time inaugurated.

◮ Build within one year (Groundbreaking March 24, 1915, First Turbine (16 MW) in Operation December 15, 1915, 1916: 8×16 MW installed)

slide-48
SLIDE 48

Remarkable: In operation until 30.06.1992

VEAG Kraftw

e rke u n d Ye rb u n d n etz

slide-49
SLIDE 49

Remarkable: In operation until 30.06.1992

VEAG Kraftw

e rke u n d Ye rb u n d n etz

slide-50
SLIDE 50

Unit Commitment ◮ is the problem of determining switching and operational decisions, ◮ for a system of power producing units, over some time horizon, ◮ so that all relevant technological and economical conditions are met.

slide-51
SLIDE 51

Unit Commitment ◮ is the problem of determining switching and operational decisions, ◮ for a system of power producing units, over some time horizon, ◮ so that all relevant technological and economical conditions are met. 1985 VEAG in (East Germany)

slide-52
SLIDE 52

Unit Commitment ◮ is the problem of determining switching and operational decisions, ◮ for a system of power producing units, over some time horizon, ◮ so that all relevant technological and economical conditions are met. 1985 VEAG in (East Germany) 2006 Virtual Power Plant

slide-53
SLIDE 53

Specification (Mixed-Integer Linear Program – When Deterministic) Unit Commitment for a hydro-thermal system (early VEAG + Vattenfall)

slide-54
SLIDE 54

Specification (Mixed-Integer Linear Program – When Deterministic) Unit Commitment for a hydro-thermal system (early VEAG + Vattenfall)

min

  • c⊤

1 ξ1 + c⊤ 2 ξ2 : A1ξ1 + A2ξ2 = b, ξ1 ∈ X1, ξ2 ∈ X2

  • Variables:

◮ ξ1: start-up/shut-down for thermal units, ◮ ξ2: all remaining, i.e., power output, pumping/generating in pumped-storage (psp), water levels in psp, auxillary variables for modeling specific effects.

slide-55
SLIDE 55

Specification (Mixed-Integer Linear Program – When Deterministic) Unit Commitment for a hydro-thermal system (early VEAG + Vattenfall)

min

  • c⊤

1 ξ1 + c⊤ 2 ξ2 : A1ξ1 + A2ξ2 = b, ξ1 ∈ X1, ξ2 ∈ X2

  • Variables:

◮ ξ1: start-up/shut-down for thermal units, ◮ ξ2: all remaining, i.e., power output, pumping/generating in pumped-storage (psp), water levels in psp, auxillary variables for modeling specific effects. Objective: ◮ affinely linear fuel costs for operation and piece-wise constant for switching

  • f thermal units
slide-56
SLIDE 56

Specification (Mixed-Integer Linear Program – When Deterministic) Unit Commitment for a hydro-thermal system (early VEAG + Vattenfall)

min

  • c⊤

1 ξ1 + c⊤ 2 ξ2 : A1ξ1 + A2ξ2 = b, ξ1 ∈ X1, ξ2 ∈ X2

  • Variables:

◮ ξ1: start-up/shut-down for thermal units, ◮ ξ2: all remaining, i.e., power output, pumping/generating in pumped-storage (psp), water levels in psp, auxillary variables for modeling specific effects. Objective: ◮ affinely linear fuel costs for operation and piece-wise constant for switching

  • f thermal units

Constraints: ◮ connecting units: load balances, reserve balances, ramping ◮ for individual units: output bounds, minimum up- and down-times, water management in psp,

slide-57
SLIDE 57

Unit Commitment Under UNCERTAINTY in the 1970ies and 1980ies

slide-58
SLIDE 58

Unit Commitment Under UNCERTAINTY in the 1970ies and 1980ies

slide-59
SLIDE 59

Unit Commitment under Uncertainty Fourty Years Ago

slide-60
SLIDE 60

Unit Commitment under Uncertainty Fourty Years Ago

◮ Before deregulation, power producers optimized costs by fuel cost

minimization, with power demand as major source of uncertainty.

slide-61
SLIDE 61

Unit Commitment under Uncertainty Fourty Years Ago

◮ Before deregulation, power producers optimized costs by fuel cost

minimization, with power demand as major source of uncertainty.

◮ TV sets consumed more energy than today. Their operation had to be

included when estimating power demand, at least during certain periods of the day.

slide-62
SLIDE 62

Unit Commitment under Uncertainty Fourty Years Ago

◮ Before deregulation, power producers optimized costs by fuel cost

minimization, with power demand as major source of uncertainty.

◮ TV sets consumed more energy than today. Their operation had to be

included when estimating power demand, at least during certain periods of the day.

◮ In the 1970ies and 1980ies Heavyweight Boxing was a very popular

spectator sport (Ali, Frazier, Foreman etc.), in West and East Germany.

slide-63
SLIDE 63

Unit Commitment under Uncertainty Fourty Years Ago

◮ Before deregulation, power producers optimized costs by fuel cost

minimization, with power demand as major source of uncertainty.

◮ TV sets consumed more energy than today. Their operation had to be

included when estimating power demand, at least during certain periods of the day.

◮ In the 1970ies and 1980ies Heavyweight Boxing was a very popular

spectator sport (Ali, Frazier, Foreman etc.), in West and East Germany.

◮ Time zone difference and duration of fight (knock-out: if at all and

when) produced random variables that were hard to handle ...

slide-64
SLIDE 64

Unit Commitment under Uncertainty Fourty Years Ago

◮ Before deregulation, power producers optimized costs by fuel cost

minimization, with power demand as major source of uncertainty.

◮ TV sets consumed more energy than today. Their operation had to be

included when estimating power demand, at least during certain periods of the day.

◮ In the 1970ies and 1980ies Heavyweight Boxing was a very popular

spectator sport (Ali, Frazier, Foreman etc.), in West and East Germany.

◮ Time zone difference and duration of fight (knock-out: if at all and

when) produced random variables that were hard to handle ... and (induced) water consumption was uncertain, too!

slide-65
SLIDE 65

Unit Commitment under Uncertainty Fourty Years Ago

◮ Before deregulation, power producers optimized costs by fuel cost

minimization, with power demand as major source of uncertainty.

◮ TV sets consumed more energy than today. Their operation had to be

included when estimating power demand, at least during certain periods of the day.

◮ In the 1970ies and 1980ies Heavyweight Boxing was a very popular

spectator sport (Ali, Frazier, Foreman etc.), in West and East Germany.

◮ Time zone difference and duration of fight (knock-out: if at all and

when) produced random variables that were hard to handle ... and (induced) water consumption was uncertain, too!

slide-66
SLIDE 66

Specification (continued) Unit Commitment with random load

slide-67
SLIDE 67

Specification (continued) Unit Commitment with random load

f (ξ1, ω) = [c⊤

1 ξ1 + min ξ2∈X2

  • c⊤

2 ξ2 : A2ξ2 = b(ω) − A1ξ1

  • , ω ∈ Ω

QE(ξ1) :=

  • c⊤

1 ξ1 + min ξ2∈X2

  • c⊤

2 ξ2 : A2ξ2 = b(ω) − A1ξ1

  • P(dω)
slide-68
SLIDE 68

Specification (continued) Unit Commitment with random load

f (ξ1, ω) = [c⊤

1 ξ1 + min ξ2∈X2

  • c⊤

2 ξ2 : A2ξ2 = b(ω) − A1ξ1

  • , ω ∈ Ω

QE(ξ1) :=

  • c⊤

1 ξ1 + min ξ2∈X2

  • c⊤

2 ξ2 : A2ξ2 = b(ω) − A1ξ1

  • P(dω)

Variables: ◮ ξ1 ∈ X1: start-up/shut-down for thermal units, ◮ ξ2(ω): all remaining, i.e., power output, pumping/generating in pumped-storage (psp), water levels in psp, auxillary variables for modeling specific effects.

slide-69
SLIDE 69

Specification (continued) Unit Commitment with random load

f (ξ1, ω) = [c⊤

1 ξ1 + min ξ2∈X2

  • c⊤

2 ξ2 : A2ξ2 = b(ω) − A1ξ1

  • , ω ∈ Ω

QE(ξ1) :=

  • c⊤

1 ξ1 + min ξ2∈X2

  • c⊤

2 ξ2 : A2ξ2 = b(ω) − A1ξ1

  • P(dω)

Variables: ◮ ξ1 ∈ X1: start-up/shut-down for thermal units, ◮ ξ2(ω): all remaining, i.e., power output, pumping/generating in pumped-storage (psp), water levels in psp, auxillary variables for modeling specific effects. Objective: f (ξ1, .) random cost profile for operation and switching of thermal units inuced by start-up/shut-down scheme ξ1 QE(ξ1) :=

f (ξ1, ω) P(dω) − − − Expected Value – Risk Neutral Model

slide-70
SLIDE 70

Unit Commitment under Uncertainty over the Years

slide-71
SLIDE 71

Unit Commitment under Uncertainty over the Years min

x

  • c⊤x + min

y

  • q⊤y : Wy = h(ω) − Tx, y ∈ Y
  • f (x,ω)

: x ∈ X

  • ◮ 1985: Load the only quantity with relevant uncertainty -

Risk neutral models, only ! f (x, z(ω)) − total cost for up/down regime x under random load z(ω)

slide-72
SLIDE 72

Unit Commitment under Uncertainty over the Years min

x

  • c⊤x + min

y

  • q⊤y : Wy = h(ω) − Tx, y ∈ Y
  • f (x,ω)

: x ∈ X

  • ◮ 1985: Load the only quantity with relevant uncertainty -

Risk neutral models, only ! f (x, z(ω)) − total cost for up/down regime x under random load z(ω) ◮ 2006: After deregulation omnipresent uncertainty at input (renewables) and

  • utput sides. - Risk aversion became more and more indispensable !

f (x, z(ω)) − total cost for aquisition x of a vpp under random power in- and outputs z

slide-73
SLIDE 73

Unit Commitment under Uncertainty over the Years min

x

  • c⊤x + min

y

  • q⊤y : Wy = h(ω) − Tx, y ∈ Y
  • f (x,ω)

: x ∈ X

  • ◮ 1985: Load the only quantity with relevant uncertainty -

Risk neutral models, only ! f (x, z(ω)) − total cost for up/down regime x under random load z(ω) ◮ 2006: After deregulation omnipresent uncertainty at input (renewables) and

  • utput sides. - Risk aversion became more and more indispensable !

f (x, z(ω)) − total cost for aquisition x of a vpp under random power in- and outputs z ◮ 2010: Congestion and capacity management under uncertain in- and outputs f (x, z(ω)) − x pre-commitment so that renewables’ inflow z compensated with minimal re-commitment/re-dispatch and without overloading grid components

slide-74
SLIDE 74

III Some Thoughts on Suitable Mathematics

slide-75
SLIDE 75

Viewpoints

(I) Ill-posed optimization problem Destructive – remove stochasticity swiftly, min {f (x, ω) : x ∈ X} As long as ω is unknown, it makes no sense to address optimality. Remedy: Arrive at a deterministic problem by “removing ω in formal manner”.

◮ Replace ω by its expectation E[ω] and solve min {f (x, E[ω]) : x ∈ X} ◮ Consider expected value E [f (x, ω)] and solve min {E [f (x, ω)] : x ∈ X} ◮ Apply a statistical parameter S and solve min {S [f (x, ω)] : x ∈ X}

slide-76
SLIDE 76

(II) Optimizing or ranking in a family of random variables Constructive: Be happy about havng stochastic information on the uncertain problem ingredients. Make active use of it. {f (x, .) : Ω → R}x∈X Remedy: Arrive at a deterministic problem by implementing your attitude towards risk .

◮ Risk neutral: Apply expectation E to f (x, ω) and solve

min {E [f (x, ω)] : x ∈ X}

◮ Risk averse by criterion: Apply some risk measure R and solve

min {R [f (x, ω)] : x ∈ X}

◮ Risk averse by constraint: Rank according to some stochastic order.

Introduce a benchmark random variable b(ω) leading to the constraint {x ∈ X : f (x, ω) b(ω)}

slide-77
SLIDE 77

Solution by Scenario Decomposition QE(ξ1) :=

  • c⊤

1 ξ1 + min ξ2∈X2

  • c⊤

2 ξ2 : A2ξ2(ω) = b(ω) − A1ξ1

  • P(dω)

Assume the rhs b(ω) is the only random ingredient, and let it follow a finite discrete probability distribution with scenarios b1, . . . , bω, . . . , bS and probabilities π1, . . . , πω, . . . , πS Then min{QE(ξ1) : ξ1 ∈ X1} is equivalent to the following large-scale block angular mixed-integer linear program min

  • c⊤

1 ξ1 + S

  • ω=1

πωc⊤

2 ξ2ω

: A1ξ1 + A2ξ21 = b1 . . . ... . . . A1ξ1 + A2ξ2ω = bω . . . ... . . . A1ξ1 + ASξ2S = bS ξ1 ∈ X1, ξ2ω ∈ X2, ω = 1, . . . , S

slide-78
SLIDE 78

Scenario Decomposition Basic Idea: Lagrangean Relaxation of Nonanticipativity[Carøe/Sch.1999]:

slide-79
SLIDE 79

Scenario Decomposition Basic Idea: Lagrangean Relaxation of Nonanticipativity[Carøe/Sch.1999]: Introduce copies ξ11, . . . , ξ1ω, . . . , ξ1S of ξ1 and add ξ11 = . . . = ξ1ω = . . . = ξ1S. Then apply Lagrangean Relaxation on the chain of identites.

slide-80
SLIDE 80

Scenario Decomposition Basic Idea: Lagrangean Relaxation of Nonanticipativity[Carøe/Sch.1999]: Introduce copies ξ11, . . . , ξ1ω, . . . , ξ1S of ξ1 and add ξ11 = . . . = ξ1ω = . . . = ξ1S. Then apply Lagrangean Relaxation on the chain of identites.

NA

This includes solving the Lagrangean Dual which is a non-differentiable convex optimization problem.

slide-81
SLIDE 81

Procedure:

slide-82
SLIDE 82

Procedure:

◮ Objective function of the Lagrangean dual involves a minimization

which is separable with respect to the scenarios.

slide-83
SLIDE 83

Procedure:

◮ Objective function of the Lagrangean dual involves a minimization

which is separable with respect to the scenarios.

◮ Regaining primal feasibility after maximization in the Lagrangean

dual benefits from simplicity of relaxed constraints (chain of identities).

slide-84
SLIDE 84

Procedure:

◮ Objective function of the Lagrangean dual involves a minimization

which is separable with respect to the scenarios.

◮ Regaining primal feasibility after maximization in the Lagrangean

dual benefits from simplicity of relaxed constraints (chain of identities).

◮ Duality gap inevitable, unless problem “is not really integer”. If gap

inacceptable then imbedding into branch-and-bound on ξ1 ∈ X1.

slide-85
SLIDE 85

Procedure:

◮ Objective function of the Lagrangean dual involves a minimization

which is separable with respect to the scenarios.

◮ Regaining primal feasibility after maximization in the Lagrangean

dual benefits from simplicity of relaxed constraints (chain of identities).

◮ Duality gap inevitable, unless problem “is not really integer”. If gap

inacceptable then imbedding into branch-and-bound on ξ1 ∈ X1. This works nicely as long as mixed-integer linear programming formulation has the block structure

slide-86
SLIDE 86

III Congestion Management in Power Nets

slide-87
SLIDE 87

Load Flow Models – AC, DC, Ohmic Losses Graph G = (V , E) (undirected) with nodes v ∈ V = {1, . . . , n}, edges e ∈ E ⊆ V × V .

slide-88
SLIDE 88

Load Flow Models – AC, DC, Ohmic Losses Graph G = (V , E) (undirected) with nodes v ∈ V = {1, . . . , n}, edges e ∈ E ⊆ V × V . AC Model with Voltage in Polar Coordinates

slide-89
SLIDE 89

Load Flow Models – AC, DC, Ohmic Losses Graph G = (V , E) (undirected) with nodes v ∈ V = {1, . . . , n}, edges e ∈ E ⊆ V × V . AC Model with Voltage in Polar Coordinates For all nodes v , voltage as complex number Uvejθv with modulus Uv and voltage angle θv, for slack node U1 = 1, θ1 = 0.

slide-90
SLIDE 90

Load Flow Models – AC, DC, Ohmic Losses Graph G = (V , E) (undirected) with nodes v ∈ V = {1, . . . , n}, edges e ∈ E ⊆ V × V . AC Model with Voltage in Polar Coordinates For all nodes v , voltage as complex number Uvejθv with modulus Uv and voltage angle θv, for slack node U1 = 1, θ1 = 0. Moreover, for all e = vl ∈ E.

◮ Difference of Voltage Angles

θvl = θv − θl,

slide-91
SLIDE 91

Load Flow Models – AC, DC, Ohmic Losses Graph G = (V , E) (undirected) with nodes v ∈ V = {1, . . . , n}, edges e ∈ E ⊆ V × V . AC Model with Voltage in Polar Coordinates For all nodes v , voltage as complex number Uvejθv with modulus Uv and voltage angle θv, for slack node U1 = 1, θ1 = 0. Moreover, for all e = vl ∈ E.

◮ Difference of Voltage Angles

θvl = θv − θl,

◮ Active Load Flow

pvl,

◮ Reactive Load Flow

qvl.

slide-92
SLIDE 92

Load Flow Models – AC, DC, Ohmic Losses Graph G = (V , E) (undirected) with nodes v ∈ V = {1, . . . , n}, edges e ∈ E ⊆ V × V . AC Model with Voltage in Polar Coordinates For all nodes v , voltage as complex number Uvejθv with modulus Uv and voltage angle θv, for slack node U1 = 1, θ1 = 0. Moreover, for all e = vl ∈ E.

◮ Difference of Voltage Angles

θvl = θv − θl,

◮ Active Load Flow

pvl,

◮ Reactive Load Flow

qvl. For all edges in E (AC) Load Flow Equations pvl = U2

v gvl − UvUlgvl cos θvl − UvUlbvl sin θvl

∀vl ∈ E qvl = UvUlbvl cos θvl − UvUlgvl sin θvl − U2

v (bvl + b0 vl)

∀vl ∈ E

slide-93
SLIDE 93

Load Flow Models DC

slide-94
SLIDE 94

Load Flow Models DC Simplification

slide-95
SLIDE 95

Load Flow Models DC Simplification

◮ θvl ≈ 0

∀vl ∈ E hence sin θvl ≈ θvl und cos θvl ≈ 1

slide-96
SLIDE 96

Load Flow Models DC Simplification

◮ θvl ≈ 0

∀vl ∈ E hence sin θvl ≈ θvl und cos θvl ≈ 1

◮ Uv = 1

∀v ∈ V

slide-97
SLIDE 97

Load Flow Models DC Simplification

◮ θvl ≈ 0

∀vl ∈ E hence sin θvl ≈ θvl und cos θvl ≈ 1

◮ Uv = 1

∀v ∈ V

◮ No reactive power components.

slide-98
SLIDE 98

Load Flow Models DC Simplification

◮ θvl ≈ 0

∀vl ∈ E hence sin θvl ≈ θvl und cos θvl ≈ 1

◮ Uv = 1

∀v ∈ V

◮ No reactive power components.

From AC equations, only the first remains and becomes: DC Load Flow Equation pvl = bvl(θl − θv) for all vl ∈ E

slide-99
SLIDE 99

Load Flow Models DC Load Flow with Ohmic Losses

slide-100
SLIDE 100

Load Flow Models DC Load Flow with Ohmic Losses

2

Mkl

1/gkl

kl

2 2

Loss on vl ∈ E νvl = gvl(U2

v + U2 l ) − 2gvlUvUl cos (θv − θl)

∀vl ∈ E

slide-101
SLIDE 101

Load Flow Models DC Load Flow with Ohmic Losses

2

Mkl

1/gkl

kl

2 2

Loss on vl ∈ E νvl = gvl(U2

v + U2 l ) − 2gvlUvUl cos (θv − θl)

∀vl ∈ E From DC assumptions, Uv = Ul = 1 is employed. However, cos θvl ≈ 1 is not.

slide-102
SLIDE 102

Load Flow Models DC Load Flow with Ohmic Losses

2

Mkl

1/gkl

kl

2 2

Loss on vl ∈ E νvl = gvl(U2

v + U2 l ) − 2gvlUvUl cos (θv − θl)

∀vl ∈ E From DC assumptions, Uv = Ul = 1 is employed. However, cos θvl ≈ 1 is not. νvl = 2gvl(1 − cos θvl) Relaxation νvl ≥ 2gvl(1 − cos θvl)

slide-103
SLIDE 103

Load Flow Models DC Load Flow with Ohmic Losses

2

Mkl

1/gkl

kl

2 2

Loss on vl ∈ E νvl = gvl(U2

v + U2 l ) − 2gvlUvUl cos (θv − θl)

∀vl ∈ E From DC assumptions, Uv = Ul = 1 is employed. However, cos θvl ≈ 1 is not. νvl = 2gvl(1 − cos θvl) Relaxation νvl ≥ 2gvl(1 − cos θvl)

slide-104
SLIDE 104

Congestion Management under Inflow of Renewables

slide-105
SLIDE 105

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011)

slide-106
SLIDE 106

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011)

slide-107
SLIDE 107

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011)

slide-108
SLIDE 108

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011)

slide-109
SLIDE 109

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011) ◮ Optimal pre-commitment/ pre-dispatch to avoid grid congestion with re-dispatch/re-commitment.

slide-110
SLIDE 110

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011) ◮ Optimal pre-commitment/ pre-dispatch to avoid grid congestion with re-dispatch/re-commitment. ◮ DC model with Ohmic losses and polyhedral approximation of convex

  • nonlinearities. incl. code.
slide-111
SLIDE 111

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011) ◮ Optimal pre-commitment/ pre-dispatch to avoid grid congestion with re-dispatch/re-commitment. ◮ DC model with Ohmic losses and polyhedral approximation of convex

  • nonlinearities. incl. code.

◮ Mixed-integer linear models with switching.

slide-112
SLIDE 112

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011) ◮ Optimal pre-commitment/ pre-dispatch to avoid grid congestion with re-dispatch/re-commitment. ◮ DC model with Ohmic losses and polyhedral approximation of convex

  • nonlinearities. incl. code.

◮ Mixed-integer linear models with switching. ◮ Stochastics, decomposition.

slide-113
SLIDE 113

Congestion Management under Inflow of Renewables

with Edmund Handschin, Christian Rehtanz (TU Dortmund), and: Sebastian Kuhn (Mathematics, PhD 2008), Daniel Waniek (Energy Science, PhD 2011) ◮ Optimal pre-commitment/ pre-dispatch to avoid grid congestion with re-dispatch/re-commitment. ◮ DC model with Ohmic losses and polyhedral approximation of convex

  • nonlinearities. incl. code.

◮ Mixed-integer linear models with switching. ◮ Stochastics, decomposition. ◮ Variation of wind infeed rate from 40 via 80 to 100%.

slide-114
SLIDE 114

Case Study:

slide-115
SLIDE 115

Case Study: Based on a realistic model of the German power grid, for a given load situation and wind infeed, a cost minimal infeed is sought for which no grid components become overloaded.

slide-116
SLIDE 116

Case Study: Based on a realistic model of the German power grid, for a given load situation and wind infeed, a cost minimal infeed is sought for which no grid components become overloaded. Proceeding/Results:

slide-117
SLIDE 117

Case Study: Based on a realistic model of the German power grid, for a given load situation and wind infeed, a cost minimal infeed is sought for which no grid components become overloaded. Proceeding/Results:

◮ Code evaluation (MILP approximation) by

slide-118
SLIDE 118

Case Study: Based on a realistic model of the German power grid, for a given load situation and wind infeed, a cost minimal infeed is sought for which no grid components become overloaded. Proceeding/Results:

◮ Code evaluation (MILP approximation) by

◮ Comparison with dispatch derived via merit order

slide-119
SLIDE 119

Case Study: Based on a realistic model of the German power grid, for a given load situation and wind infeed, a cost minimal infeed is sought for which no grid components become overloaded. Proceeding/Results:

◮ Code evaluation (MILP approximation) by

◮ Comparison with dispatch derived via merit order ◮ Double checking flows with commercial solver NEPLAN with

switching decisions and fixed by our code.

◮ Evaluation of losses over-estimation caused by relaxation.

slide-120
SLIDE 120

Congestion Management under Inflow of Renewables - Wind Numerical Tests

slide-121
SLIDE 121

Congestion Management under Inflow of Renewables - Wind Numerical Tests Ref. Opt. Opt. Ref. Opt. Opt. (AC) (DoDu) (AC) (AC) (DoDu) (AC) Wind [-] 40 % 80 % Generation Cost [Te] 1231 1200 1201 971 986 987 Import [MW] 5347 5882 5882 5347 5483 5483 Export [MW] 3472 3125 3125 3472 3125 3125 Grid Losses [MW] 444 424 434 1016 700 709 Overload of grid components [-] no no no yes no no

slide-122
SLIDE 122

Congestion Management under Inflow of Renewables - Wind Numerical Tests Ref. Opt. Opt. Ref. Opt. Opt. (AC) (DoDu) (AC) (AC) (DoDu) (AC) Wind [-] 40 % 80 % Generation Cost [Te] 1231 1200 1201 971 986 987 Import [MW] 5347 5882 5882 5347 5483 5483 Export [MW] 3472 3125 3125 3472 3125 3125 Grid Losses [MW] 444 424 434 1016 700 709 Overload of grid components [-] no no no yes no no Ref. Opt. Opt. (AC) (DoDu) (AC) Wind [-] 100 % Generation Cost [Te] 858 945 945 Import [MW] 5437 5483 5483 Export [MW] 3472 3125 3125 Grid Losses [MW] 1468 762 768 Overload of grid components [-] yes no no