Stochastic Programming: Theory and...

384
Outline Stochastic Programming: Theory and Algorithms Sinan Sabri LCSEE West Virginia University Morgantown, WV USA April 21, 2015 Sinan Sabri Optimization Methods in Finance

Transcript of Stochastic Programming: Theory and...

Page 1: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

Outline

Stochastic Programming: Theory and Algorithms

Sinan Sabri

LCSEEWest Virginia UniversityMorgantown, WV USA

April 21, 2015

Sinan Sabri Optimization Methods in Finance

Page 2: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

Outline

Outline

1 Introduction

2 Probabilistic Constraints

3 Recourse Problems

4 Decomposition

5 Scenario Generation

6 References

Sinan Sabri Optimization Methods in Finance

Page 3: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

Outline

Outline

1 Introduction

2 Probabilistic Constraints

3 Recourse Problems

4 Decomposition

5 Scenario Generation

6 References

Sinan Sabri Optimization Methods in Finance

Page 4: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

Outline

Outline

1 Introduction

2 Probabilistic Constraints

3 Recourse Problems

4 Decomposition

5 Scenario Generation

6 References

Sinan Sabri Optimization Methods in Finance

Page 5: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

Outline

Outline

1 Introduction

2 Probabilistic Constraints

3 Recourse Problems

4 Decomposition

5 Scenario Generation

6 References

Sinan Sabri Optimization Methods in Finance

Page 6: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

Outline

Outline

1 Introduction

2 Probabilistic Constraints

3 Recourse Problems

4 Decomposition

5 Scenario Generation

6 References

Sinan Sabri Optimization Methods in Finance

Page 7: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

Outline

Outline

1 Introduction

2 Probabilistic Constraints

3 Recourse Problems

4 Decomposition

5 Scenario Generation

6 References

Sinan Sabri Optimization Methods in Finance

Page 8: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Introduction

Sinan Sabri Optimization Methods in Finance

Page 9: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming assumes that the uncertain parameters are randomvariables with known probability distributions.

This information is then used to transform the stochastic program into a so-calleddeterministic equivalent which might be:

a linear program,a nonlinear program, oran integer program

Sinan Sabri Optimization Methods in Finance

Page 10: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming assumes that the uncertain parameters are randomvariables with known probability distributions.

This information is then used to transform the stochastic program into a so-calleddeterministic equivalent which might be:

a linear program,a nonlinear program, oran integer program

Sinan Sabri Optimization Methods in Finance

Page 11: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming assumes that the uncertain parameters are randomvariables with known probability distributions.

This information is then used to transform the stochastic program into a so-calleddeterministic equivalent which might be:

a linear program,

a nonlinear program, oran integer program

Sinan Sabri Optimization Methods in Finance

Page 12: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming assumes that the uncertain parameters are randomvariables with known probability distributions.

This information is then used to transform the stochastic program into a so-calleddeterministic equivalent which might be:

a linear program,a nonlinear program, or

an integer program

Sinan Sabri Optimization Methods in Finance

Page 13: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming assumes that the uncertain parameters are randomvariables with known probability distributions.

This information is then used to transform the stochastic program into a so-calleddeterministic equivalent which might be:

a linear program,a nonlinear program, oran integer program

Sinan Sabri Optimization Methods in Finance

Page 14: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωsσ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 15: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω ,

Ω is often a finite set ω1, ..., ωsσ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 16: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωs

σ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 17: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωsσ field of random events,

anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 18: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωsσ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 19: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωsσ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 20: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωsσ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example,

to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 21: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωsσ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row,

wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 22: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωsσ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT,

each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 23: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

The uncertainty is described by:

a certain sample space Ω , Ω is often a finite set ω1, ..., ωsσ field of random events, anda probability measure P

The corresponding probabilities p(ωk ) ≥ 0 satisfyS∑

k=1p(ωk ) = 1

For example, to represent the outcomes of flipping a fair coin twice in a row, wewould use four random events Ω = HH,HT ,TH,TT, each with probability 1/4.

Sinan Sabri Optimization Methods in Finance

Page 24: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming models can include anticipative and/or adaptive decisionvariables.

Anticipative variables correspond to those decisions that must be madehere-and-now and cannot depend on the future observations/partial realizations ofthe random parameters.

Adaptive variables correspond to wait-and-see decisions that can be made aftersome (or, sometimes all) of the random parameters are observed.

Stochastic programming models that include both anticipative and adaptivevariables are called recourse models.

Sinan Sabri Optimization Methods in Finance

Page 25: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming models can include anticipative and/or adaptive decisionvariables.

Anticipative variables correspond to those decisions that must be madehere-and-now and cannot depend on the future observations/partial realizations ofthe random parameters.

Adaptive variables correspond to wait-and-see decisions that can be made aftersome (or, sometimes all) of the random parameters are observed.

Stochastic programming models that include both anticipative and adaptivevariables are called recourse models.

Sinan Sabri Optimization Methods in Finance

Page 26: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming models can include anticipative and/or adaptive decisionvariables.

Anticipative variables correspond to those decisions that must be madehere-and-now and cannot depend on the future observations/partial realizations ofthe random parameters.

Adaptive variables correspond to wait-and-see decisions that can be made aftersome (or, sometimes all) of the random parameters are observed.

Stochastic programming models that include both anticipative and adaptivevariables are called recourse models.

Sinan Sabri Optimization Methods in Finance

Page 27: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Stochastic programming models can include anticipative and/or adaptive decisionvariables.

Anticipative variables correspond to those decisions that must be madehere-and-now and cannot depend on the future observations/partial realizations ofthe random parameters.

Adaptive variables correspond to wait-and-see decisions that can be made aftersome (or, sometimes all) of the random parameters are observed.

Stochastic programming models that include both anticipative and adaptivevariables are called recourse models.

Sinan Sabri Optimization Methods in Finance

Page 28: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

In investment planning, each new trading opportunity represents a new decision tobe made.

Therefore, trading dates where investment portfolios can be rebalanced becomenatural choices for decision stages.

These problems can be formulated conveniently as multi-stage stochasticprogramming problems with recourse.

Sinan Sabri Optimization Methods in Finance

Page 29: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

In investment planning, each new trading opportunity represents a new decision tobe made.

Therefore, trading dates where investment portfolios can be rebalanced becomenatural choices for decision stages.

These problems can be formulated conveniently as multi-stage stochasticprogramming problems with recourse.

Sinan Sabri Optimization Methods in Finance

Page 30: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

In investment planning, each new trading opportunity represents a new decision tobe made.

Therefore, trading dates where investment portfolios can be rebalanced becomenatural choices for decision stages.

These problems can be formulated conveniently as multi-stage stochasticprogramming problems with recourse.

Sinan Sabri Optimization Methods in Finance

Page 31: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Probabilistic Constraints

Sinan Sabri Optimization Methods in Finance

Page 32: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.

Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 33: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 34: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 35: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 36: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 37: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y

subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 38: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 39: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 40: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1:

Suppose that we have two six-sided dice.Dice one gives a result a1

Dice two gives a result a2

Assume the dice are fair, we have discrete probability distributions for a1 and a2as:

a1 = i (i = 1, ..., 6) with probability 1/6a2 = j (j = 1, ..., 6) with probability 1/6

Consider a simple LP with two variables and one constraint:

min 5x + 6y subject to:

a1x + a2y ≥ 3

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 41: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,

but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 42: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 43: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint

a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 44: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3

to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 45: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 46: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 47: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y

subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 48: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 49: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 50: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 51: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

If a1 and a2 were known numbers we will have LP problem,but they are not.

One interpretation could be that we wish the constraint a1x + a2y ≥ 3 to hold forall possible values of a1 and a2.

Then we simply have a deterministic LP with two variables and 36 constraints:

min 5 · x + 6 · y subject to:

i · x + j · y ≥ 3

i, j = 1, ...., 6

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 52: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint

a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 53: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3

holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 54: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 55: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 56: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 57: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now,

rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 58: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 59: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 60: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 61: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Suppose now that instead of insisting that the constraint a1 · x + a2 · y ≥ 3 holdsfor all possible values of a1 and a2.

We insist that it holds only with a specified probability 1− α (where 0 < α < 1).

For example, if α = 0.05 would mean that we want the constrainta1 · x + a2 · y ≥ 3 to hold with probability 0.95.

Here, the constraint need not always be true now, rather it need only be true 95%of the time.

Hence the problem is:

min 5 · x + 6 · y subject to:

Prob(a1 · x + a2 · y ≥ 3) ≥ 1− α

x , y ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 62: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

To summarize:

a1 and a2 are unknown here,

we merely have probability distribution informationfor them.

We are required to choose values for x and y such that:The objective function is minimized andThe probability that the constraint a1 · x + a2 · y ≥ 3 is satisfied is at least 1− α.

Now:

For each pair of values (a1, a2) we have an associated joint probability (1/36)

Given values for x ≥ 0 and y ≥ 0 we can easily check whether the constraint istrue with probability 1− α.

Sinan Sabri Optimization Methods in Finance

Page 63: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

To summarize:

a1 and a2 are unknown here, we merely have probability distribution informationfor them.

We are required to choose values for x and y such that:The objective function is minimized andThe probability that the constraint a1 · x + a2 · y ≥ 3 is satisfied is at least 1− α.

Now:

For each pair of values (a1, a2) we have an associated joint probability (1/36)

Given values for x ≥ 0 and y ≥ 0 we can easily check whether the constraint istrue with probability 1− α.

Sinan Sabri Optimization Methods in Finance

Page 64: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

To summarize:

a1 and a2 are unknown here, we merely have probability distribution informationfor them.

We are required to choose values for x and y such that:

The objective function is minimized andThe probability that the constraint a1 · x + a2 · y ≥ 3 is satisfied is at least 1− α.

Now:

For each pair of values (a1, a2) we have an associated joint probability (1/36)

Given values for x ≥ 0 and y ≥ 0 we can easily check whether the constraint istrue with probability 1− α.

Sinan Sabri Optimization Methods in Finance

Page 65: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

To summarize:

a1 and a2 are unknown here, we merely have probability distribution informationfor them.

We are required to choose values for x and y such that:The objective function is minimized

andThe probability that the constraint a1 · x + a2 · y ≥ 3 is satisfied is at least 1− α.

Now:

For each pair of values (a1, a2) we have an associated joint probability (1/36)

Given values for x ≥ 0 and y ≥ 0 we can easily check whether the constraint istrue with probability 1− α.

Sinan Sabri Optimization Methods in Finance

Page 66: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

To summarize:

a1 and a2 are unknown here, we merely have probability distribution informationfor them.

We are required to choose values for x and y such that:The objective function is minimized andThe probability that the constraint a1 · x + a2 · y ≥ 3 is satisfied is at least 1− α.

Now:

For each pair of values (a1, a2) we have an associated joint probability (1/36)

Given values for x ≥ 0 and y ≥ 0 we can easily check whether the constraint istrue with probability 1− α.

Sinan Sabri Optimization Methods in Finance

Page 67: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

To summarize:

a1 and a2 are unknown here, we merely have probability distribution informationfor them.

We are required to choose values for x and y such that:The objective function is minimized andThe probability that the constraint a1 · x + a2 · y ≥ 3 is satisfied is at least 1− α.

Now:

For each pair of values (a1, a2) we have an associated joint probability (1/36)

Given values for x ≥ 0 and y ≥ 0 we can easily check whether the constraint istrue with probability 1− α.

Sinan Sabri Optimization Methods in Finance

Page 68: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

To summarize:

a1 and a2 are unknown here, we merely have probability distribution informationfor them.

We are required to choose values for x and y such that:The objective function is minimized andThe probability that the constraint a1 · x + a2 · y ≥ 3 is satisfied is at least 1− α.

Now:

For each pair of values (a1, a2) we have an associated joint probability (1/36)

Given values for x ≥ 0 and y ≥ 0 we can easily check whether the constraint istrue with probability 1− α.

Sinan Sabri Optimization Methods in Finance

Page 69: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Let us enumerate possibilities for x = 0, y = 1 and α = 0.05

a1 a2 Is a1 · 0 + a2 · 1 ≥ 3? Probability1 1 No 1/361 2 No 1/36etc

In this case, x = 0 and y = 1 is not a feasible solution, since we already have aprobability of 2/36 = 0.0555 that the constraint is infeasible.It is impossible for the constraint to be feasible with probability 0.95 (since1-0.0555 = 0.9445).

This particular problem (because it contains just two variables) can be easilysolved by a simple numeric search procedure.

For example, for α = 0.01 the solution is x = 3, y = 0 and for α = 0.05 thesolution is x = 1, y = 1

Sinan Sabri Optimization Methods in Finance

Page 70: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Let us enumerate possibilities for x = 0, y = 1 and α = 0.05a1 a2 Is a1 · 0 + a2 · 1 ≥ 3? Probability1 1 No 1/361 2 No 1/36etc

In this case, x = 0 and y = 1 is not a feasible solution, since we already have aprobability of 2/36 = 0.0555 that the constraint is infeasible.It is impossible for the constraint to be feasible with probability 0.95 (since1-0.0555 = 0.9445).

This particular problem (because it contains just two variables) can be easilysolved by a simple numeric search procedure.

For example, for α = 0.01 the solution is x = 3, y = 0 and for α = 0.05 thesolution is x = 1, y = 1

Sinan Sabri Optimization Methods in Finance

Page 71: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Let us enumerate possibilities for x = 0, y = 1 and α = 0.05a1 a2 Is a1 · 0 + a2 · 1 ≥ 3? Probability1 1 No 1/361 2 No 1/36etc

In this case, x = 0 and y = 1 is not a feasible solution, since we already have aprobability of 2/36 = 0.0555 that the constraint is infeasible.It is impossible for the constraint to be feasible with probability 0.95 (since1-0.0555 = 0.9445).

This particular problem (because it contains just two variables) can be easilysolved by a simple numeric search procedure.

For example, for α = 0.01 the solution is x = 3, y = 0 and for α = 0.05 thesolution is x = 1, y = 1

Sinan Sabri Optimization Methods in Finance

Page 72: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Exercise 1

Let us enumerate possibilities for x = 0, y = 1 and α = 0.05a1 a2 Is a1 · 0 + a2 · 1 ≥ 3? Probability1 1 No 1/361 2 No 1/36etc

In this case, x = 0 and y = 1 is not a feasible solution, since we already have aprobability of 2/36 = 0.0555 that the constraint is infeasible.It is impossible for the constraint to be feasible with probability 0.95 (since1-0.0555 = 0.9445).

This particular problem (because it contains just two variables) can be easilysolved by a simple numeric search procedure.

For example, for α = 0.01 the solution is x = 3, y = 0 and for α = 0.05 thesolution is x = 1, y = 1

Sinan Sabri Optimization Methods in Finance

Page 73: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Recourse Problems

Sinan Sabri Optimization Methods in Finance

Page 74: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Sinan Sabri Optimization Methods in Finance

Page 75: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Sinan Sabri Optimization Methods in Finance

Page 76: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 77: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 78: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 79: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 80: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0,

y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 81: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 82: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:

Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 83: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x.

These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 84: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 85: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:

Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 86: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω).

These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 87: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed,

and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 88: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

The generic form of a two-stage stochastic linear program with recourse:

max aT x + E [maxy(ω)

c(ω)T y(ω)] (1)

Ax = b

B(ω)x + C(ω)y(ω) = d(ω)

x ≥ 0, y(ω) ≥ 0

The first-stage:Decisions are represented by vector x. These decisions are made before the randomevent ω is observed.

The second-stage:Decisions are represented by vector y(ω). These decisions are made after the randomevent ω has been observed, and therefore the vector y is a function of ω.

Sinan Sabri Optimization Methods in Finance

Page 89: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

A and b define deterministic constraints on the first-stage decisions x

B(ω), C(ω), and d(ω) define stochastic constraints linking the recourse decisionsy(ω) to the first-stage decisions x .

The objective function contains a deterministic term aT x and the expectation ofthe second-stage objective C(ω)T y(ω) taken over all realizations of the randomevent ω.

Notice that the first-stage decisions will not necessarily satisfy the linkingconstraints B(ω)x + C(ω)y(ω) = d(ω),

Therefore, recourse allows one to make sure that the initial decisions can be”corrected” with respect to this second set of feasibility equations.

Sinan Sabri Optimization Methods in Finance

Page 90: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

A and b define deterministic constraints on the first-stage decisions x

B(ω), C(ω), and d(ω) define stochastic constraints linking the recourse decisionsy(ω) to the first-stage decisions x .

The objective function contains a deterministic term aT x and the expectation ofthe second-stage objective C(ω)T y(ω) taken over all realizations of the randomevent ω.

Notice that the first-stage decisions will not necessarily satisfy the linkingconstraints B(ω)x + C(ω)y(ω) = d(ω),

Therefore, recourse allows one to make sure that the initial decisions can be”corrected” with respect to this second set of feasibility equations.

Sinan Sabri Optimization Methods in Finance

Page 91: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

A and b define deterministic constraints on the first-stage decisions x

B(ω), C(ω), and d(ω) define stochastic constraints linking the recourse decisionsy(ω) to the first-stage decisions x .

The objective function contains a deterministic term aT x and the expectation ofthe second-stage objective C(ω)T y(ω) taken over all realizations of the randomevent ω.

Notice that the first-stage decisions will not necessarily satisfy the linkingconstraints B(ω)x + C(ω)y(ω) = d(ω),

Therefore, recourse allows one to make sure that the initial decisions can be”corrected” with respect to this second set of feasibility equations.

Sinan Sabri Optimization Methods in Finance

Page 92: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

A and b define deterministic constraints on the first-stage decisions x

B(ω), C(ω), and d(ω) define stochastic constraints linking the recourse decisionsy(ω) to the first-stage decisions x .

The objective function contains a deterministic term aT x and the expectation ofthe second-stage objective C(ω)T y(ω) taken over all realizations of the randomevent ω.

Notice that the first-stage decisions will not necessarily satisfy the linkingconstraints B(ω)x + C(ω)y(ω) = d(ω),

Therefore, recourse allows one to make sure that the initial decisions can be”corrected” with respect to this second set of feasibility equations.

Sinan Sabri Optimization Methods in Finance

Page 93: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

A and b define deterministic constraints on the first-stage decisions x

B(ω), C(ω), and d(ω) define stochastic constraints linking the recourse decisionsy(ω) to the first-stage decisions x .

The objective function contains a deterministic term aT x and the expectation ofthe second-stage objective C(ω)T y(ω) taken over all realizations of the randomevent ω.

Notice that the first-stage decisions will not necessarily satisfy the linkingconstraints B(ω)x + C(ω)y(ω) = d(ω),

Therefore, recourse allows one to make sure that the initial decisions can be”corrected” with respect to this second set of feasibility equations.

Sinan Sabri Optimization Methods in Finance

Page 94: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Problem (1) can be represented in an alternative manner by considering thesecond-stage or recourse problem that is defined as follows,

given x, thefirst-stage decisions:

f (x , ω) = max c(ω)T y(ω) (2)

C(ω)y(ω) = d(ω)− B(ω)x

y(ω) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 95: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Problem (1) can be represented in an alternative manner by considering thesecond-stage or recourse problem that is defined as follows, given x, thefirst-stage decisions:

f (x , ω) = max c(ω)T y(ω) (2)

C(ω)y(ω) = d(ω)− B(ω)x

y(ω) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 96: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Problem (1) can be represented in an alternative manner by considering thesecond-stage or recourse problem that is defined as follows, given x, thefirst-stage decisions:

f (x , ω) = max c(ω)T y(ω) (2)

C(ω)y(ω) = d(ω)− B(ω)x

y(ω) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 97: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Problem (1) can be represented in an alternative manner by considering thesecond-stage or recourse problem that is defined as follows, given x, thefirst-stage decisions:

f (x , ω) = max c(ω)T y(ω) (2)

C(ω)y(ω) = d(ω)− B(ω)x

y(ω) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 98: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Problem (1) can be represented in an alternative manner by considering thesecond-stage or recourse problem that is defined as follows, given x, thefirst-stage decisions:

f (x , ω) = max c(ω)T y(ω) (2)

C(ω)y(ω) = d(ω)− B(ω)x

y(ω) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 99: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Let f (x) = E [f (x , ω)] denote the expected value of this optimum.

If the function f (x) is available, the two-stage stochastic linear program (1)reduces to a deterministic nonlinear program:

max aT x + f (x) (3)

Ax = b, x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 100: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Let f (x) = E [f (x , ω)] denote the expected value of this optimum.If the function f (x) is available,

the two-stage stochastic linear program (1)reduces to a deterministic nonlinear program:

max aT x + f (x) (3)

Ax = b, x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 101: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Let f (x) = E [f (x , ω)] denote the expected value of this optimum.If the function f (x) is available, the two-stage stochastic linear program (1)reduces to a deterministic nonlinear program:

max aT x + f (x) (3)

Ax = b, x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 102: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Let f (x) = E [f (x , ω)] denote the expected value of this optimum.If the function f (x) is available, the two-stage stochastic linear program (1)reduces to a deterministic nonlinear program:

max aT x + f (x) (3)

Ax = b, x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 103: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Let f (x) = E [f (x , ω)] denote the expected value of this optimum.If the function f (x) is available, the two-stage stochastic linear program (1)reduces to a deterministic nonlinear program:

max aT x + f (x) (3)

Ax = b,

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 104: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Let f (x) = E [f (x , ω)] denote the expected value of this optimum.If the function f (x) is available, the two-stage stochastic linear program (1)reduces to a deterministic nonlinear program:

max aT x + f (x) (3)

Ax = b, x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 105: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Assume that Ω = ω1, ...., ωS

and let p = (p1, ...., pS) denote the probabilitydistribution on this sample space.

The S possibilities ωk , for k = 1, ....,S are also called SCENARIOS .

The expectation of the second-stage objective becomes:E [max

y(ω)c(ω)T y(ω)] =

∑Sk=1 pk max

y(ωk )c(ωk )T y(ωk )

Sinan Sabri Optimization Methods in Finance

Page 106: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Assume that Ω = ω1, ...., ωS and let p = (p1, ...., pS) denote the probabilitydistribution on this sample space.

The S possibilities ωk , for k = 1, ....,S are also called SCENARIOS .

The expectation of the second-stage objective becomes:E [max

y(ω)c(ω)T y(ω)] =

∑Sk=1 pk max

y(ωk )c(ωk )T y(ωk )

Sinan Sabri Optimization Methods in Finance

Page 107: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Assume that Ω = ω1, ...., ωS and let p = (p1, ...., pS) denote the probabilitydistribution on this sample space.

The S possibilities ωk , for k = 1, ....,S are also called SCENARIOS .

The expectation of the second-stage objective becomes:E [max

y(ω)c(ω)T y(ω)] =

∑Sk=1 pk max

y(ωk )c(ωk )T y(ωk )

Sinan Sabri Optimization Methods in Finance

Page 108: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Assume that Ω = ω1, ...., ωS and let p = (p1, ...., pS) denote the probabilitydistribution on this sample space.

The S possibilities ωk , for k = 1, ....,S are also called SCENARIOS .

The expectation of the second-stage objective becomes:

E [maxy(ω)

c(ω)T y(ω)] =∑S

k=1 pk maxy(ωk )

c(ωk )T y(ωk )

Sinan Sabri Optimization Methods in Finance

Page 109: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

Assume that Ω = ω1, ...., ωS and let p = (p1, ...., pS) denote the probabilitydistribution on this sample space.

The S possibilities ωk , for k = 1, ....,S are also called SCENARIOS .

The expectation of the second-stage objective becomes:E [max

y(ω)c(ω)T y(ω)] =

∑Sk=1 pk max

y(ωk )c(ωk )T y(ωk )

Sinan Sabri Optimization Methods in Finance

Page 110: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

For brevity, we write ck instead of c(ωk ), etc.

Under this scenario approach, the two-stage stochastic linear programmingproblem (1) takes the following form:

maxx

aT x +S∑

k=1

pk maxyk

cTk yk (4)

Ax = b

Bk x + Ck yk = dk for k = 1, ....,S

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 111: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

For brevity, we write ck instead of c(ωk ), etc.

Under this scenario approach, the two-stage stochastic linear programmingproblem (1) takes the following form:

maxx

aT x +S∑

k=1

pk maxyk

cTk yk (4)

Ax = b

Bk x + Ck yk = dk for k = 1, ....,S

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 112: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

For brevity, we write ck instead of c(ωk ), etc.

Under this scenario approach, the two-stage stochastic linear programmingproblem (1) takes the following form:

maxx

aT x +S∑

k=1

pk maxyk

cTk yk (4)

Ax = b

Bk x + Ck yk = dk for k = 1, ....,S

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 113: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

For brevity, we write ck instead of c(ωk ), etc.

Under this scenario approach, the two-stage stochastic linear programmingproblem (1) takes the following form:

maxx

aT x +S∑

k=1

pk maxyk

cTk yk (4)

Ax = b

Bk x + Ck yk = dk for k = 1, ....,S

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 114: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

For brevity, we write ck instead of c(ωk ), etc.

Under this scenario approach, the two-stage stochastic linear programmingproblem (1) takes the following form:

maxx

aT x +S∑

k=1

pk maxyk

cTk yk (4)

Ax = b

Bk x + Ck yk = dk for k = 1, ....,S

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 115: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

For brevity, we write ck instead of c(ωk ), etc.

Under this scenario approach, the two-stage stochastic linear programmingproblem (1) takes the following form:

maxx

aT x +S∑

k=1

pk maxyk

cTk yk (4)

Ax = b

Bk x + Ck yk = dk for k = 1, ....,S

x ≥ 0,

yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 116: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

For brevity, we write ck instead of c(ωk ), etc.

Under this scenario approach, the two-stage stochastic linear programmingproblem (1) takes the following form:

maxx

aT x +S∑

k=1

pk maxyk

cTk yk (4)

Ax = b

Bk x + Ck yk = dk for k = 1, ....,S

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 117: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

There is a different second stage decision vector yk for each scenario k .

The maximum in the objective is achieved by optimizing over all variables x and yk

simultaneously.Therefore, this optimization problem is:

maxx,y1,...,yS

aT x + p1cT1 y1 + · · ·+ pScT

S yS (5)

Ax = b

B1x + C1y1 = d1...

. . ....

...BSx + CSyS = dS

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 118: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

There is a different second stage decision vector yk for each scenario k .

The maximum in the objective is achieved by optimizing over all variables x and yk

simultaneously.

Therefore, this optimization problem is:

maxx,y1,...,yS

aT x + p1cT1 y1 + · · ·+ pScT

S yS (5)

Ax = b

B1x + C1y1 = d1...

. . ....

...BSx + CSyS = dS

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 119: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

There is a different second stage decision vector yk for each scenario k .

The maximum in the objective is achieved by optimizing over all variables x and yk

simultaneously.Therefore, this optimization problem is:

maxx,y1,...,yS

aT x + p1cT1 y1 + · · ·+ pScT

S yS (5)

Ax = b

B1x + C1y1 = d1...

. . ....

...BSx + CSyS = dS

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 120: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

There is a different second stage decision vector yk for each scenario k .

The maximum in the objective is achieved by optimizing over all variables x and yk

simultaneously.Therefore, this optimization problem is:

maxx,y1,...,yS

aT x + p1cT1 y1 + · · ·+ pScT

S yS (5)

Ax = b

B1x + C1y1 = d1...

. . ....

...BSx + CSyS = dS

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 121: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

There is a different second stage decision vector yk for each scenario k .

The maximum in the objective is achieved by optimizing over all variables x and yk

simultaneously.Therefore, this optimization problem is:

maxx,y1,...,yS

aT x + p1cT1 y1 + · · ·+ pScT

S yS (5)

Ax = b

B1x + C1y1 = d1...

. . ....

...BSx + CSyS = dS

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 122: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

There is a different second stage decision vector yk for each scenario k .

The maximum in the objective is achieved by optimizing over all variables x and yk

simultaneously.Therefore, this optimization problem is:

maxx,y1,...,yS

aT x + p1cT1 y1 + · · ·+ pScT

S yS (5)

Ax = b

B1x + C1y1 = d1...

. . ....

...BSx + CSyS = dS

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 123: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

There is a different second stage decision vector yk for each scenario k .

The maximum in the objective is achieved by optimizing over all variables x and yk

simultaneously.Therefore, this optimization problem is:

maxx,y1,...,yS

aT x + p1cT1 y1 + · · ·+ pScT

S yS (5)

Ax = b

B1x + C1y1 = d1...

. . ....

...BSx + CSyS = dS

x ≥ 0,

yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 124: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse

There is a different second stage decision vector yk for each scenario k .

The maximum in the objective is achieved by optimizing over all variables x and yk

simultaneously.Therefore, this optimization problem is:

maxx,y1,...,yS

aT x + p1cT1 y1 + · · ·+ pScT

S yS (5)

Ax = b

B1x + C1y1 = d1...

. . ....

...BSx + CSyS = dS

x ≥ 0, yk ≥ 0 for k = 1, ....,S

Sinan Sabri Optimization Methods in Finance

Page 125: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Exercise 2:

Suppose that we have to make a decision about the amount of a product X toproduce.

Each unit of X that we make costs us $2.

X is made to meet demand from customers in the next time period.

However demand is stochastic, with a discrete probability distribution:demand = Ds

with probability ps (s = 1, ...,S)

S is the possible future demand scenarios.

Sinan Sabri Optimization Methods in Finance

Page 126: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Exercise 2:

Suppose that we have to make a decision about the amount of a product X toproduce.

Each unit of X that we make costs us $2.

X is made to meet demand from customers in the next time period.

However demand is stochastic, with a discrete probability distribution:demand = Ds

with probability ps (s = 1, ...,S)

S is the possible future demand scenarios.

Sinan Sabri Optimization Methods in Finance

Page 127: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Exercise 2:

Suppose that we have to make a decision about the amount of a product X toproduce.

Each unit of X that we make costs us $2.

X is made to meet demand from customers in the next time period.

However demand is stochastic, with a discrete probability distribution:demand = Ds

with probability ps (s = 1, ...,S)

S is the possible future demand scenarios.

Sinan Sabri Optimization Methods in Finance

Page 128: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Exercise 2:

Suppose that we have to make a decision about the amount of a product X toproduce.

Each unit of X that we make costs us $2.

X is made to meet demand from customers in the next time period.

However demand is stochastic,

with a discrete probability distribution:demand = Ds

with probability ps (s = 1, ...,S)

S is the possible future demand scenarios.

Sinan Sabri Optimization Methods in Finance

Page 129: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Exercise 2:

Suppose that we have to make a decision about the amount of a product X toproduce.

Each unit of X that we make costs us $2.

X is made to meet demand from customers in the next time period.

However demand is stochastic, with a discrete probability distribution:

demand = Ds

with probability ps (s = 1, ...,S)

S is the possible future demand scenarios.

Sinan Sabri Optimization Methods in Finance

Page 130: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Exercise 2:

Suppose that we have to make a decision about the amount of a product X toproduce.

Each unit of X that we make costs us $2.

X is made to meet demand from customers in the next time period.

However demand is stochastic, with a discrete probability distribution:demand = Ds

with probability ps (s = 1, ...,S)

S is the possible future demand scenarios.

Sinan Sabri Optimization Methods in Finance

Page 131: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Exercise 2:

Suppose that we have to make a decision about the amount of a product X toproduce.

Each unit of X that we make costs us $2.

X is made to meet demand from customers in the next time period.

However demand is stochastic, with a discrete probability distribution:demand = Ds

with probability ps (s = 1, ...,S)

S is the possible future demand scenarios.

Sinan Sabri Optimization Methods in Finance

Page 132: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Customer demand must be met.

We have the flexibility to buy in the product from an external supplier to meetobserved customer demand but this costs us $3 per unit (i.e. we have recourseto an additional source of supply if demand exceeds production).

How much should we choose to make now before we know what customerdemand is?

One way to think of this two-stage model is:Action, make a decision (amount to produce)Observation, observe a realization of the stochastic elements (demand that occurs)Reaction (recourse), further decisions, depending upon the realization observed (extraproduction to meet demand if necessary)

Sinan Sabri Optimization Methods in Finance

Page 133: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Customer demand must be met.

We have the flexibility to buy in the product from an external supplier to meetobserved customer demand

but this costs us $3 per unit (i.e. we have recourseto an additional source of supply if demand exceeds production).

How much should we choose to make now before we know what customerdemand is?

One way to think of this two-stage model is:Action, make a decision (amount to produce)Observation, observe a realization of the stochastic elements (demand that occurs)Reaction (recourse), further decisions, depending upon the realization observed (extraproduction to meet demand if necessary)

Sinan Sabri Optimization Methods in Finance

Page 134: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Customer demand must be met.

We have the flexibility to buy in the product from an external supplier to meetobserved customer demand but this costs us $3 per unit

(i.e. we have recourseto an additional source of supply if demand exceeds production).

How much should we choose to make now before we know what customerdemand is?

One way to think of this two-stage model is:Action, make a decision (amount to produce)Observation, observe a realization of the stochastic elements (demand that occurs)Reaction (recourse), further decisions, depending upon the realization observed (extraproduction to meet demand if necessary)

Sinan Sabri Optimization Methods in Finance

Page 135: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Customer demand must be met.

We have the flexibility to buy in the product from an external supplier to meetobserved customer demand but this costs us $3 per unit (i.e. we have recourseto an additional source of supply if demand exceeds production).

How much should we choose to make now before we know what customerdemand is?

One way to think of this two-stage model is:Action, make a decision (amount to produce)Observation, observe a realization of the stochastic elements (demand that occurs)Reaction (recourse), further decisions, depending upon the realization observed (extraproduction to meet demand if necessary)

Sinan Sabri Optimization Methods in Finance

Page 136: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Customer demand must be met.

We have the flexibility to buy in the product from an external supplier to meetobserved customer demand but this costs us $3 per unit (i.e. we have recourseto an additional source of supply if demand exceeds production).

How much should we choose to make now before we know what customerdemand is?

One way to think of this two-stage model is:Action, make a decision (amount to produce)Observation, observe a realization of the stochastic elements (demand that occurs)Reaction (recourse), further decisions, depending upon the realization observed (extraproduction to meet demand if necessary)

Sinan Sabri Optimization Methods in Finance

Page 137: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Customer demand must be met.

We have the flexibility to buy in the product from an external supplier to meetobserved customer demand but this costs us $3 per unit (i.e. we have recourseto an additional source of supply if demand exceeds production).

How much should we choose to make now before we know what customerdemand is?

One way to think of this two-stage model is:Action, make a decision (amount to produce)

Observation, observe a realization of the stochastic elements (demand that occurs)Reaction (recourse), further decisions, depending upon the realization observed (extraproduction to meet demand if necessary)

Sinan Sabri Optimization Methods in Finance

Page 138: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Customer demand must be met.

We have the flexibility to buy in the product from an external supplier to meetobserved customer demand but this costs us $3 per unit (i.e. we have recourseto an additional source of supply if demand exceeds production).

How much should we choose to make now before we know what customerdemand is?

One way to think of this two-stage model is:Action, make a decision (amount to produce)Observation, observe a realization of the stochastic elements (demand that occurs)

Reaction (recourse), further decisions, depending upon the realization observed (extraproduction to meet demand if necessary)

Sinan Sabri Optimization Methods in Finance

Page 139: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Customer demand must be met.

We have the flexibility to buy in the product from an external supplier to meetobserved customer demand but this costs us $3 per unit (i.e. we have recourseto an additional source of supply if demand exceeds production).

How much should we choose to make now before we know what customerdemand is?

One way to think of this two-stage model is:Action, make a decision (amount to produce)Observation, observe a realization of the stochastic elements (demand that occurs)Reaction (recourse), further decisions, depending upon the realization observed (extraproduction to meet demand if necessary)

Sinan Sabri Optimization Methods in Finance

Page 140: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

For example, suppose S = 2 and D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4

We have to decide how much to produce now before demand is known. If we wereto produce 600, then if demand is 500 we are OK, if demand is 700 however weneed recourse to an extra 100 units to meet it.

Sinan Sabri Optimization Methods in Finance

Page 141: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

For example, suppose S = 2 and D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4

We have to decide how much to produce now before demand is known.

If we wereto produce 600, then if demand is 500 we are OK, if demand is 700 however weneed recourse to an extra 100 units to meet it.

Sinan Sabri Optimization Methods in Finance

Page 142: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

For example, suppose S = 2 and D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4

We have to decide how much to produce now before demand is known. If we wereto produce 600, then if demand is 500 we are OK,

if demand is 700 however weneed recourse to an extra 100 units to meet it.

Sinan Sabri Optimization Methods in Finance

Page 143: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

For example, suppose S = 2 and D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4

We have to decide how much to produce now before demand is known. If we wereto produce 600, then if demand is 500 we are OK, if demand is 700 however weneed recourse to an extra 100 units to meet it.

Sinan Sabri Optimization Methods in Finance

Page 144: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

For example, suppose S = 2 and D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4

We have to decide how much to produce now before demand is known. If we wereto produce 600, then if demand is 500 we are OK, if demand is 700 however weneed recourse to an extra 100 units to meet it.

Sinan Sabri Optimization Methods in Finance

Page 145: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Let x1 ≥ 0 be the number of units of X to produce now (at the first stage)

Let y2s ≥ 0 be the number of units of X to buy from the external supplier at thesecond stage in scenario s when the stochastic realization of the demand is Ds

(s = 1, 2).

Then the constraints to ensure that demand is always satisfied are:

x1 + y2s ≥ Ds s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 146: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Let x1 ≥ 0 be the number of units of X to produce now (at the first stage)

Let y2s ≥ 0 be the number of units of X to buy from the external supplier at thesecond stage in scenario s when the stochastic realization of the demand is Ds

(s = 1, 2).

Then the constraints to ensure that demand is always satisfied are:

x1 + y2s ≥ Ds s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 147: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Let x1 ≥ 0 be the number of units of X to produce now (at the first stage)

Let y2s ≥ 0 be the number of units of X to buy from the external supplier at thesecond stage in scenario s when the stochastic realization of the demand is Ds

(s = 1, 2).

Then the constraints to ensure that demand is always satisfied are:

x1 + y2s ≥ Ds s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 148: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Let x1 ≥ 0 be the number of units of X to produce now (at the first stage)

Let y2s ≥ 0 be the number of units of X to buy from the external supplier at thesecond stage in scenario s when the stochastic realization of the demand is Ds

(s = 1, 2).

Then the constraints to ensure that demand is always satisfied are:

x1 + y2s ≥ Ds s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 149: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

The SP is:

min 2 · x1 +2∑

s=1

ps(3 · y2s)

x1 + y2s ≥ Ds s = 1, 2

x1 ≥ 0

y2s ≥ 0 s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 150: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

The SP is:

min 2 · x1 +2∑

s=1

ps(3 · y2s)

x1 + y2s ≥ Ds s = 1, 2

x1 ≥ 0

y2s ≥ 0 s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 151: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

The SP is:

min 2 · x1 +2∑

s=1

ps(3 · y2s)

x1 + y2s ≥ Ds s = 1, 2

x1 ≥ 0

y2s ≥ 0 s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 152: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

The SP is:

min 2 · x1 +2∑

s=1

ps(3 · y2s)

x1 + y2s ≥ Ds s = 1, 2

x1 ≥ 0

y2s ≥ 0 s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 153: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

The SP is:

min 2 · x1 +2∑

s=1

ps(3 · y2s)

x1 + y2s ≥ Ds s = 1, 2

x1 ≥ 0

y2s ≥ 0 s = 1, 2

Sinan Sabri Optimization Methods in Finance

Page 154: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 155: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 156: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 157: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 158: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 159: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 160: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 161: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.

The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 162: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Two-Stage Problems with Recourse - Exercise 2

Recall here that D1 = 500, p1 = 0.6; D2 = 700, p2 = 0.4 with ordinary productioncosting 2 and recourse production costing 3.

The complete SP is:

min 2 · x1 + 1.8 · y21 + 1.2 · y22

x1 + y21 ≥ 500

x1 + y22 ≥ 700

x1 ≥ 0

y21, y22 ≥ 0

The above program can be solved using Linear Programming.The productionquantity that minimizes expected cost is x1 = 500 and the minimum cost is 1240

Sinan Sabri Optimization Methods in Finance

Page 163: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Sinan Sabri Optimization Methods in Finance

Page 164: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The recourse decisions can be taken at several points in time, called stages.

Let n ≥ 2 be the number of stages.

The random event ω is a vector (o1, . . . , on−1) that gets revealed progressivelyover time.

The first-stage decisions are taken before any component of ω is revealed.

Then o1 is revealed. With this knowledge, one takes the second-stage decisions.

After that, o2 is revealed, and so on.

We assume that Ω = ω1, . . . , ωS is a finite set.

Let pk be the probability of scenario ωk , for k = 1, . . . ,S.

Sinan Sabri Optimization Methods in Finance

Page 165: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The recourse decisions can be taken at several points in time, called stages.

Let n ≥ 2 be the number of stages.

The random event ω is a vector (o1, . . . , on−1) that gets revealed progressivelyover time.

The first-stage decisions are taken before any component of ω is revealed.

Then o1 is revealed. With this knowledge, one takes the second-stage decisions.

After that, o2 is revealed, and so on.

We assume that Ω = ω1, . . . , ωS is a finite set.

Let pk be the probability of scenario ωk , for k = 1, . . . ,S.

Sinan Sabri Optimization Methods in Finance

Page 166: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The recourse decisions can be taken at several points in time, called stages.

Let n ≥ 2 be the number of stages.

The random event ω is a vector (o1, . . . , on−1) that gets revealed progressivelyover time.

The first-stage decisions are taken before any component of ω is revealed.

Then o1 is revealed. With this knowledge, one takes the second-stage decisions.

After that, o2 is revealed, and so on.

We assume that Ω = ω1, . . . , ωS is a finite set.

Let pk be the probability of scenario ωk , for k = 1, . . . ,S.

Sinan Sabri Optimization Methods in Finance

Page 167: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The recourse decisions can be taken at several points in time, called stages.

Let n ≥ 2 be the number of stages.

The random event ω is a vector (o1, . . . , on−1) that gets revealed progressivelyover time.

The first-stage decisions are taken before any component of ω is revealed.

Then o1 is revealed. With this knowledge, one takes the second-stage decisions.

After that, o2 is revealed, and so on.

We assume that Ω = ω1, . . . , ωS is a finite set.

Let pk be the probability of scenario ωk , for k = 1, . . . ,S.

Sinan Sabri Optimization Methods in Finance

Page 168: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The recourse decisions can be taken at several points in time, called stages.

Let n ≥ 2 be the number of stages.

The random event ω is a vector (o1, . . . , on−1) that gets revealed progressivelyover time.

The first-stage decisions are taken before any component of ω is revealed.

Then o1 is revealed. With this knowledge, one takes the second-stage decisions.

After that, o2 is revealed, and so on.

We assume that Ω = ω1, . . . , ωS is a finite set.

Let pk be the probability of scenario ωk , for k = 1, . . . ,S.

Sinan Sabri Optimization Methods in Finance

Page 169: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The recourse decisions can be taken at several points in time, called stages.

Let n ≥ 2 be the number of stages.

The random event ω is a vector (o1, . . . , on−1) that gets revealed progressivelyover time.

The first-stage decisions are taken before any component of ω is revealed.

Then o1 is revealed. With this knowledge, one takes the second-stage decisions.

After that, o2 is revealed, and so on.

We assume that Ω = ω1, . . . , ωS is a finite set.

Let pk be the probability of scenario ωk , for k = 1, . . . ,S.

Sinan Sabri Optimization Methods in Finance

Page 170: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The recourse decisions can be taken at several points in time, called stages.

Let n ≥ 2 be the number of stages.

The random event ω is a vector (o1, . . . , on−1) that gets revealed progressivelyover time.

The first-stage decisions are taken before any component of ω is revealed.

Then o1 is revealed. With this knowledge, one takes the second-stage decisions.

After that, o2 is revealed, and so on.

We assume that Ω = ω1, . . . , ωS is a finite set.

Let pk be the probability of scenario ωk , for k = 1, . . . ,S.

Sinan Sabri Optimization Methods in Finance

Page 171: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The recourse decisions can be taken at several points in time, called stages.

Let n ≥ 2 be the number of stages.

The random event ω is a vector (o1, . . . , on−1) that gets revealed progressivelyover time.

The first-stage decisions are taken before any component of ω is revealed.

Then o1 is revealed. With this knowledge, one takes the second-stage decisions.

After that, o2 is revealed, and so on.

We assume that Ω = ω1, . . . , ωS is a finite set.

Let pk be the probability of scenario ωk , for k = 1, . . . ,S.

Sinan Sabri Optimization Methods in Finance

Page 172: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Some scenarios ωk may be identical in their first components and only becomedifferentiated in the later stages.

Therefore, it is convenient to introduce the scenario tree.

Scenario tree illustrates how the scenarios branch off at each stage.

Sinan Sabri Optimization Methods in Finance

Page 173: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Some scenarios ωk may be identical in their first components and only becomedifferentiated in the later stages.

Therefore, it is convenient to introduce the scenario tree.

Scenario tree illustrates how the scenarios branch off at each stage.

Sinan Sabri Optimization Methods in Finance

Page 174: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Some scenarios ωk may be identical in their first components and only becomedifferentiated in the later stages.

Therefore, it is convenient to introduce the scenario tree.

Scenario tree illustrates how the scenarios branch off at each stage.

Sinan Sabri Optimization Methods in Finance

Page 175: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Some scenarios ωk may be identical in their first components and only becomedifferentiated in the later stages.

Therefore, it is convenient to introduce the scenario tree.

Scenario tree illustrates how the scenarios branch off at each stage.

Sinan Sabri Optimization Methods in Finance

Page 176: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through N

Node 1 is the root.Each node is in one stage.The root is the unique node in stage 1.Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.Thus the last stage has as many nodes as scenarios.These nodes are called the terminal nodes.The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 177: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through NNode 1 is the root.

Each node is in one stage.The root is the unique node in stage 1.Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.Thus the last stage has as many nodes as scenarios.These nodes are called the terminal nodes.The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 178: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through NNode 1 is the root.Each node is in one stage.

The root is the unique node in stage 1.Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.Thus the last stage has as many nodes as scenarios.These nodes are called the terminal nodes.The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 179: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through NNode 1 is the root.Each node is in one stage.The root is the unique node in stage 1.

Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.Thus the last stage has as many nodes as scenarios.These nodes are called the terminal nodes.The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 180: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through NNode 1 is the root.Each node is in one stage.The root is the unique node in stage 1.Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.Thus the last stage has as many nodes as scenarios.These nodes are called the terminal nodes.The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 181: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through NNode 1 is the root.Each node is in one stage.The root is the unique node in stage 1.Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.

Thus the last stage has as many nodes as scenarios.These nodes are called the terminal nodes.The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 182: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through NNode 1 is the root.Each node is in one stage.The root is the unique node in stage 1.Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.Thus the last stage has as many nodes as scenarios.

These nodes are called the terminal nodes.The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 183: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through NNode 1 is the root.Each node is in one stage.The root is the unique node in stage 1.Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.Thus the last stage has as many nodes as scenarios.These nodes are called the terminal nodes.

The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 184: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

The nodes are labeled 1 through NNode 1 is the root.Each node is in one stage.The root is the unique node in stage 1.Each node i in stage k ≥ 2 is adjacent to a unique node a(i) in stage k − 1.Node a(i) is called the father of node i .

The paths from the root to the leaves (in stage n) represent the scenarios.Thus the last stage has as many nodes as scenarios.These nodes are called the terminal nodes.The collection of scenarios passing through node i in stage k have identical components(o1, . . . , ok−1).

Sinan Sabri Optimization Methods in Finance

Page 185: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Node 1 is the root,

Nodes 4, 5, 6 and 7 are the terminal nodes.

The father of Node 6 is Node 2, in other words a(6) = 2.

Sinan Sabri Optimization Methods in Finance

Page 186: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Node 1 is the root,

Nodes 4, 5, 6 and 7 are the terminal nodes.

The father of Node 6 is Node 2, in other words a(6) = 2.

Sinan Sabri Optimization Methods in Finance

Page 187: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Node 1 is the root,

Nodes 4, 5, 6 and 7 are the terminal nodes.

The father of Node 6 is Node 2, in other words a(6) = 2.

Sinan Sabri Optimization Methods in Finance

Page 188: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 189: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 190: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 191: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 192: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 193: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 194: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 195: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 196: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

Associated with each node i is a recourse decision vector xi .

For a node i in stage k , the decisions xi are taken based on the information thathas been revealed up to stage k .

Let qi be the probability of node i , conditional on being in Stage k .

The multi-stage stochastic program with recourse can be formulated as follows:

maxx1...xN

N∑i=1

qi cTi xi (6)

Ax1 = b

Bi xa(i) + Ci xi = di for i = 2 . . .N

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 197: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

A and b are deterministic constraints on the first stage decisions x1

Bi , Ci , and di are stochastic constraints linking the recourse decisions xi in node ito the recourse decisions xa(i) in its father node.

Sinan Sabri Optimization Methods in Finance

Page 198: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems

A and b are deterministic constraints on the first stage decisions x1

Bi , Ci , and di are stochastic constraints linking the recourse decisions xi in node ito the recourse decisions xa(i) in its father node.

Sinan Sabri Optimization Methods in Finance

Page 199: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

Exercise 3: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2 + p3, q3 = p4 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 200: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

Exercise 3: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k .

We also have q2 = p1 + p2 + p3, q3 = p4 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 201: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

Exercise 3: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2 + p3,

q3 = p4 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 202: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

Exercise 3: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2 + p3, q3 = p4

and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 203: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

Exercise 3: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2 + p3, q3 = p4 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 204: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 205: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 206: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 207: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 208: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 209: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 210: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 211: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 212: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 3

max cT1 x1 + q2cT

2 x2 + q3cT3 x3 + p1cT

4 x4 + p2cT5 x5 + p3cT

6 x6 + p4cT7 x7

Ax1 = b

B2x1 + C2x2 = d2

B3x1 + C3x3 = d3

B4x2 + C4x4 = d4

B5x2 + C5x5 = d5

B6x2 + C6x6 = d6

B7x3 + C7x7 = d7

xi ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 213: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 4

Exercise 4: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2, q3 = p4 + p3 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 214: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 4

Exercise 4: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2, q3 = p4 + p3 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 215: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 4

Exercise 4: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k .

We also have q2 = p1 + p2, q3 = p4 + p3 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 216: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 4

Exercise 4: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2,

q3 = p4 + p3 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 217: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 4

Exercise 4: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2, q3 = p4 + p3 and

q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 218: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 4

Exercise 4: Develop the Linear program (6) for the following scenario tree:

The terminal nodes 4 to 7 correspond to scenarios 1 to 4 respectively.

Thus we have q4 = p1, q5 = p2, q6 = p3 and q7 = p4, where pk is the probabilityof scenario k . We also have q2 = p1 + p2, q3 = p4 + p3 and q2 + q3 = 1.

Sinan Sabri Optimization Methods in Finance

Page 219: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Exercise 5: Extend the two-stage problem we have considered in Exercise 2 to threestages.

Consider the three-stage binary scenario tree shown below.

Sinan Sabri Optimization Methods in Finance

Page 220: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Exercise 5: Extend the two-stage problem we have considered in Exercise 2 to threestages.Consider the three-stage binary scenario tree shown below.

Sinan Sabri Optimization Methods in Finance

Page 221: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Exercise 5: Extend the two-stage problem we have considered in Exercise 2 to threestages.Consider the three-stage binary scenario tree shown below.

Sinan Sabri Optimization Methods in Finance

Page 222: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 223: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:

a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 224: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6

a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 225: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 226: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 227: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand,

butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 228: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 229: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500,

then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 230: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 231: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3

a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 232: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 233: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

We initially make a decision about how much to produce.

At the second stage, we have two possible realizations of the stochastic demand:a demand of 500 with probability 0.6a demand of 700 with probability 0.4

After this realization, we make a decision as to how much to produce to meetdemand in the next period (THE THIRD-STAGE).

At the third stage, we have two possible realizations of the stochastic demand, butthese are different depending upon the realization at the second stage.

For example, if the realized demand at the second stage was 500, then thepossible realizations at the third stage are:

a demand of 600 with probability 0.3a demand of 700 with probability 0.7

Note here at each level in the scenario tree the appropriate probabilities must sumto one.

Sinan Sabri Optimization Methods in Finance

Page 234: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

The four possible scenarios of the future:

Scenario Second Stage Third Stage Probability1 500 600 0.6(0.3) = 0.182 500 700 0.6(0.7) = 0.423 700 900 0.4(0.2) = 0.084 700 800 0.4(0.8) = 0.32

Note here that these probabilities add to one (these 4 scenarios are the onlypossible futures that we can have).

Sinan Sabri Optimization Methods in Finance

Page 235: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

The four possible scenarios of the future:

Scenario Second Stage Third Stage Probability

1 500 600 0.6(0.3) = 0.182 500 700 0.6(0.7) = 0.423 700 900 0.4(0.2) = 0.084 700 800 0.4(0.8) = 0.32

Note here that these probabilities add to one (these 4 scenarios are the onlypossible futures that we can have).

Sinan Sabri Optimization Methods in Finance

Page 236: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

The four possible scenarios of the future:

Scenario Second Stage Third Stage Probability1 500 600 0.6(0.3) = 0.18

2 500 700 0.6(0.7) = 0.423 700 900 0.4(0.2) = 0.084 700 800 0.4(0.8) = 0.32

Note here that these probabilities add to one (these 4 scenarios are the onlypossible futures that we can have).

Sinan Sabri Optimization Methods in Finance

Page 237: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

The four possible scenarios of the future:

Scenario Second Stage Third Stage Probability1 500 600 0.6(0.3) = 0.182 500 700 0.6(0.7) = 0.42

3 700 900 0.4(0.2) = 0.084 700 800 0.4(0.8) = 0.32

Note here that these probabilities add to one (these 4 scenarios are the onlypossible futures that we can have).

Sinan Sabri Optimization Methods in Finance

Page 238: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

The four possible scenarios of the future:

Scenario Second Stage Third Stage Probability1 500 600 0.6(0.3) = 0.182 500 700 0.6(0.7) = 0.423 700 900 0.4(0.2) = 0.08

4 700 800 0.4(0.8) = 0.32

Note here that these probabilities add to one (these 4 scenarios are the onlypossible futures that we can have).

Sinan Sabri Optimization Methods in Finance

Page 239: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

The four possible scenarios of the future:

Scenario Second Stage Third Stage Probability1 500 600 0.6(0.3) = 0.182 500 700 0.6(0.7) = 0.423 700 900 0.4(0.2) = 0.084 700 800 0.4(0.8) = 0.32

Note here that these probabilities add to one (these 4 scenarios are the onlypossible futures that we can have).

Sinan Sabri Optimization Methods in Finance

Page 240: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

The four possible scenarios of the future:

Scenario Second Stage Third Stage Probability1 500 600 0.6(0.3) = 0.182 500 700 0.6(0.7) = 0.423 700 900 0.4(0.2) = 0.084 700 800 0.4(0.8) = 0.32

Note here that these probabilities add to one

(these 4 scenarios are the onlypossible futures that we can have).

Sinan Sabri Optimization Methods in Finance

Page 241: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

The four possible scenarios of the future:

Scenario Second Stage Third Stage Probability1 500 600 0.6(0.3) = 0.182 500 700 0.6(0.7) = 0.423 700 900 0.4(0.2) = 0.084 700 800 0.4(0.8) = 0.32

Note here that these probabilities add to one (these 4 scenarios are the onlypossible futures that we can have).

Sinan Sabri Optimization Methods in Finance

Page 242: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:

x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 243: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)

y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 244: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 245: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 246: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 247: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:

In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 248: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 249: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)

A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 250: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 251: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 252: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)

A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 253: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Let:x1 ≥ 0 be the number of units of X to produce now (at the first stage)y2s ≥ 0 be the number of units of X to buy from the external supplier at the secondstage in scenario s (s = 1, ..., 4)

x2s ≥ 0 be the number of units of X to produce at the second stage in scenario s(s = 1, ..., 4)

y3s ≥ 0 be the number of units of X to buy from the external supplier at the third stage inscenario s (s = 1, ..., 4)

To summarize:In the first stage a decision as to how much to produce, x1

In the second stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y2s

In the second stage a decision as to how much to produce, x2s

In the third stage a realization of the stochastic element (demand)A decision as to the values of the recourse variables, y3s

Sinan Sabri Optimization Methods in Finance

Page 254: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 255: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 256: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 257: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 258: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 259: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 260: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:

INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 261: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 262: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 263: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 264: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 265: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Consider the first stage, the constraints to ensure customer demand is satisfiedare:

x1 + y2s ≥ 500 (s = 1, 2)

x1 + y2s ≥ 700 (s = 3, 4)

Now at the second stage we will have units left over (i.e. inventory) to help meetfuture demand. This inventory level will be:

x1 + y2s − 500 (s = 1, 2)

x1 + y2s − 700 (s = 3, 4)

To ensure that demand is met in the third stage we have:INVENTORY + AMOUNT PRODUCED + AMOUNT BOUGHT EXTERNALLY ≥ DEMAND

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

Sinan Sabri Optimization Methods in Finance

Page 266: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:

Scenario 1 and 2, second stage:y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 267: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 268: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 269: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1,

all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 270: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 271: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 272: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost

1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 273: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 274: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 275: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 276: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Scenarios with a common history must (logically) have the same set of decisions:Scenario 1 and 2, second stage:

y21 = y22x21 = x22

Scenario 3 and 4, second stage:y23 = y24x23 = x24

We have just one cost incurred with certainty, namely 2 · x1, all other costs areprobabilistic.

The easiest way to summarize these costs is to look at each scenario in turn:

Scenario Probability Cost1 0.18 2 · x21 + 3 · y21 + 3 · y31

2 0.42 2 · x22 + 3 · y22 + 3 · y32

3 0.08 2 · x23 + 3 · y23 + 3 · y33

4 0.32 2 · x24 + 3 · y24 + 3 · y34

Sinan Sabri Optimization Methods in Finance

Page 277: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Thus, The complete three- stage stochastic program is:

min 2 · x1 + 0.18 · (2 · x21 + 3 · y21 + 3 · y31) + 0.42 · (2 · x22 + 3 · y22 + 3 · y32)

+0.08 · (2 · x23 + 3 · y23 + 3 · y33) + 0.32 · (2 · x24 + 3 · y24 + 3 · y34)

subject to

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

y21 = y22, x21 = x22, y23 = y24, x23 = x24

all variables ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 278: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Thus, The complete three- stage stochastic program is:

min 2 · x1 + 0.18 · (2 · x21 + 3 · y21 + 3 · y31) + 0.42 · (2 · x22 + 3 · y22 + 3 · y32)

+0.08 · (2 · x23 + 3 · y23 + 3 · y33) + 0.32 · (2 · x24 + 3 · y24 + 3 · y34)

subject to

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

y21 = y22, x21 = x22, y23 = y24, x23 = x24

all variables ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 279: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Thus, The complete three- stage stochastic program is:

min 2 · x1 + 0.18 · (2 · x21 + 3 · y21 + 3 · y31) + 0.42 · (2 · x22 + 3 · y22 + 3 · y32)

+0.08 · (2 · x23 + 3 · y23 + 3 · y33) + 0.32 · (2 · x24 + 3 · y24 + 3 · y34)

subject to

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

y21 = y22, x21 = x22, y23 = y24, x23 = x24

all variables ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 280: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Thus, The complete three- stage stochastic program is:

min 2 · x1 + 0.18 · (2 · x21 + 3 · y21 + 3 · y31) + 0.42 · (2 · x22 + 3 · y22 + 3 · y32)

+0.08 · (2 · x23 + 3 · y23 + 3 · y33) + 0.32 · (2 · x24 + 3 · y24 + 3 · y34)

subject to

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

y21 = y22, x21 = x22, y23 = y24, x23 = x24

all variables ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 281: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Thus, The complete three- stage stochastic program is:

min 2 · x1 + 0.18 · (2 · x21 + 3 · y21 + 3 · y31) + 0.42 · (2 · x22 + 3 · y22 + 3 · y32)

+0.08 · (2 · x23 + 3 · y23 + 3 · y33) + 0.32 · (2 · x24 + 3 · y24 + 3 · y34)

subject to

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

y21 = y22, x21 = x22, y23 = y24, x23 = x24

all variables ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 282: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Thus, The complete three- stage stochastic program is:

min 2 · x1 + 0.18 · (2 · x21 + 3 · y21 + 3 · y31) + 0.42 · (2 · x22 + 3 · y22 + 3 · y32)

+0.08 · (2 · x23 + 3 · y23 + 3 · y33) + 0.32 · (2 · x24 + 3 · y24 + 3 · y34)

subject to

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

y21 = y22, x21 = x22, y23 = y24, x23 = x24

all variables ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 283: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Thus, The complete three- stage stochastic program is:

min 2 · x1 + 0.18 · (2 · x21 + 3 · y21 + 3 · y31) + 0.42 · (2 · x22 + 3 · y22 + 3 · y32)

+0.08 · (2 · x23 + 3 · y23 + 3 · y33) + 0.32 · (2 · x24 + 3 · y24 + 3 · y34)

subject to

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

y21 = y22, x21 = x22, y23 = y24, x23 = x24

all variables ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 284: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Thus, The complete three- stage stochastic program is:

min 2 · x1 + 0.18 · (2 · x21 + 3 · y21 + 3 · y31) + 0.42 · (2 · x22 + 3 · y22 + 3 · y32)

+0.08 · (2 · x23 + 3 · y23 + 3 · y33) + 0.32 · (2 · x24 + 3 · y24 + 3 · y34)

subject to

x1 + y2s − 500 + x2s + y3s ≥ 600 (s = 1)

x1 + y2s − 500 + x2s + y3s ≥ 700 (s = 2)

x1 + y2s − 700 + x2s + y3s ≥ 900 (s = 3)

x1 + y2s − 700 + x2s + y3s ≥ 800 (s = 4)

y21 = y22, x21 = x22, y23 = y24, x23 = x24

all variables ≥ 0Sinan Sabri Optimization Methods in Finance

Page 285: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Solving the previous problem using LP solver:

Cost will be 2664

x1 = 700

y21 = y22 = 0, y23 = y24 = 0

x21 = x22 = 500

y31 = y32 = 0

x23 = x24 = 800

y33 = 100, y34 = 0

Sinan Sabri Optimization Methods in Finance

Page 286: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Solving the previous problem using LP solver:

Cost will be 2664

x1 = 700

y21 = y22 = 0, y23 = y24 = 0

x21 = x22 = 500

y31 = y32 = 0

x23 = x24 = 800

y33 = 100, y34 = 0

Sinan Sabri Optimization Methods in Finance

Page 287: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Solving the previous problem using LP solver:

Cost will be 2664

x1 = 700

y21 = y22 = 0, y23 = y24 = 0

x21 = x22 = 500

y31 = y32 = 0

x23 = x24 = 800

y33 = 100, y34 = 0

Sinan Sabri Optimization Methods in Finance

Page 288: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Solving the previous problem using LP solver:

Cost will be 2664

x1 = 700

y21 = y22 = 0, y23 = y24 = 0

x21 = x22 = 500

y31 = y32 = 0

x23 = x24 = 800

y33 = 100, y34 = 0

Sinan Sabri Optimization Methods in Finance

Page 289: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Solving the previous problem using LP solver:

Cost will be 2664

x1 = 700

y21 = y22 = 0, y23 = y24 = 0

x21 = x22 = 500

y31 = y32 = 0

x23 = x24 = 800

y33 = 100, y34 = 0

Sinan Sabri Optimization Methods in Finance

Page 290: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Solving the previous problem using LP solver:

Cost will be 2664

x1 = 700

y21 = y22 = 0, y23 = y24 = 0

x21 = x22 = 500

y31 = y32 = 0

x23 = x24 = 800

y33 = 100, y34 = 0

Sinan Sabri Optimization Methods in Finance

Page 291: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Solving the previous problem using LP solver:

Cost will be 2664

x1 = 700

y21 = y22 = 0, y23 = y24 = 0

x21 = x22 = 500

y31 = y32 = 0

x23 = x24 = 800

y33 = 100, y34 = 0

Sinan Sabri Optimization Methods in Finance

Page 292: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Multi-Stage Problems - Exercise 5

Solving the previous problem using LP solver:

Cost will be 2664

x1 = 700

y21 = y22 = 0, y23 = y24 = 0

x21 = x22 = 500

y31 = y32 = 0

x23 = x24 = 800

y33 = 100, y34 = 0

Sinan Sabri Optimization Methods in Finance

Page 293: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition

Sinan Sabri Optimization Methods in Finance

Page 294: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition

The size of the linear program (6) depends on the number of decision stages andthe branching factor at each node of the scenario tree.

For example, a 4-stage model with 25 branches at each node has25x25x25x25 = 390625 scenarios.

Increasing the number of stages and branches quickly results in an explosion ofdimensionality.

Obviously, the size of (6) can be a limiting factor in solving realistic problems.

When this occurs, it becomes essential to take advantage of the special structureof the linear program (6).

Sinan Sabri Optimization Methods in Finance

Page 295: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition

The size of the linear program (6) depends on the number of decision stages andthe branching factor at each node of the scenario tree.

For example, a 4-stage model with 25 branches at each node has25x25x25x25 = 390625 scenarios.

Increasing the number of stages and branches quickly results in an explosion ofdimensionality.

Obviously, the size of (6) can be a limiting factor in solving realistic problems.

When this occurs, it becomes essential to take advantage of the special structureof the linear program (6).

Sinan Sabri Optimization Methods in Finance

Page 296: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition

The size of the linear program (6) depends on the number of decision stages andthe branching factor at each node of the scenario tree.

For example, a 4-stage model with 25 branches at each node has25x25x25x25 = 390625 scenarios.

Increasing the number of stages and branches quickly results in an explosion ofdimensionality.

Obviously, the size of (6) can be a limiting factor in solving realistic problems.

When this occurs, it becomes essential to take advantage of the special structureof the linear program (6).

Sinan Sabri Optimization Methods in Finance

Page 297: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition

The size of the linear program (6) depends on the number of decision stages andthe branching factor at each node of the scenario tree.

For example, a 4-stage model with 25 branches at each node has25x25x25x25 = 390625 scenarios.

Increasing the number of stages and branches quickly results in an explosion ofdimensionality.

Obviously, the size of (6) can be a limiting factor in solving realistic problems.

When this occurs, it becomes essential to take advantage of the special structureof the linear program (6).

Sinan Sabri Optimization Methods in Finance

Page 298: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition

The size of the linear program (6) depends on the number of decision stages andthe branching factor at each node of the scenario tree.

For example, a 4-stage model with 25 branches at each node has25x25x25x25 = 390625 scenarios.

Increasing the number of stages and branches quickly results in an explosion ofdimensionality.

Obviously, the size of (6) can be a limiting factor in solving realistic problems.

When this occurs, it becomes essential to take advantage of the special structureof the linear program (6).

Sinan Sabri Optimization Methods in Finance

Page 299: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Bender Decomposition

Bender Decomposition is a technique in mathematical programming that allowsthe solution of very large linear programming problems that have a special blockstructure.

This structure often occurs in applications such as stochastic programming.

The structure that we want to exploit is that of the two-stage problem (5).

The constraint matrix of (5) has the following form:

AB1 C1...

. . .

BS CS

Sinan Sabri Optimization Methods in Finance

Page 300: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Bender Decomposition

Bender Decomposition is a technique in mathematical programming that allowsthe solution of very large linear programming problems that have a special blockstructure.

This structure often occurs in applications such as stochastic programming.

The structure that we want to exploit is that of the two-stage problem (5).

The constraint matrix of (5) has the following form:

AB1 C1...

. . .

BS CS

Sinan Sabri Optimization Methods in Finance

Page 301: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Bender Decomposition

Bender Decomposition is a technique in mathematical programming that allowsthe solution of very large linear programming problems that have a special blockstructure.

This structure often occurs in applications such as stochastic programming.

The structure that we want to exploit is that of the two-stage problem (5).

The constraint matrix of (5) has the following form:

AB1 C1...

. . .

BS CS

Sinan Sabri Optimization Methods in Finance

Page 302: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Bender Decomposition

Bender Decomposition is a technique in mathematical programming that allowsthe solution of very large linear programming problems that have a special blockstructure.

This structure often occurs in applications such as stochastic programming.

The structure that we want to exploit is that of the two-stage problem (5).

The constraint matrix of (5) has the following form:

AB1 C1...

. . .

BS CS

Sinan Sabri Optimization Methods in Finance

Page 303: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Bender Decomposition

Bender Decomposition is a technique in mathematical programming that allowsthe solution of very large linear programming problems that have a special blockstructure.

This structure often occurs in applications such as stochastic programming.

The structure that we want to exploit is that of the two-stage problem (5).

The constraint matrix of (5) has the following form:

AB1 C1...

. . .

BS CS

Sinan Sabri Optimization Methods in Finance

Page 304: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Note that the blocks C1, · · · ,CS of the constraint matrix are only interrelatedthrough the blocks B1, · · · ,BS which correspond to the first-stage decisions.

In other words, once the first-stage decisions x have been fixed, (5) decomposesinto S independent linear programs.

The idea of Benders decomposition is to solve:A ”master problem” involving only the variables xA series of independent ”recourse problems” each involving a different vector ofvariables yk .

The master problem and recourse problems are linear programs.

The size of these linear programs is much smaller than the size of full model (5).

Sinan Sabri Optimization Methods in Finance

Page 305: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Note that the blocks C1, · · · ,CS of the constraint matrix are only interrelatedthrough the blocks B1, · · · ,BS which correspond to the first-stage decisions.

In other words, once the first-stage decisions x have been fixed,

(5) decomposesinto S independent linear programs.

The idea of Benders decomposition is to solve:A ”master problem” involving only the variables xA series of independent ”recourse problems” each involving a different vector ofvariables yk .

The master problem and recourse problems are linear programs.

The size of these linear programs is much smaller than the size of full model (5).

Sinan Sabri Optimization Methods in Finance

Page 306: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Note that the blocks C1, · · · ,CS of the constraint matrix are only interrelatedthrough the blocks B1, · · · ,BS which correspond to the first-stage decisions.

In other words, once the first-stage decisions x have been fixed, (5) decomposesinto S independent linear programs.

The idea of Benders decomposition is to solve:A ”master problem” involving only the variables xA series of independent ”recourse problems” each involving a different vector ofvariables yk .

The master problem and recourse problems are linear programs.

The size of these linear programs is much smaller than the size of full model (5).

Sinan Sabri Optimization Methods in Finance

Page 307: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Note that the blocks C1, · · · ,CS of the constraint matrix are only interrelatedthrough the blocks B1, · · · ,BS which correspond to the first-stage decisions.

In other words, once the first-stage decisions x have been fixed, (5) decomposesinto S independent linear programs.

The idea of Benders decomposition is to solve:

A ”master problem” involving only the variables xA series of independent ”recourse problems” each involving a different vector ofvariables yk .

The master problem and recourse problems are linear programs.

The size of these linear programs is much smaller than the size of full model (5).

Sinan Sabri Optimization Methods in Finance

Page 308: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Note that the blocks C1, · · · ,CS of the constraint matrix are only interrelatedthrough the blocks B1, · · · ,BS which correspond to the first-stage decisions.

In other words, once the first-stage decisions x have been fixed, (5) decomposesinto S independent linear programs.

The idea of Benders decomposition is to solve:A ”master problem” involving only the variables x

A series of independent ”recourse problems” each involving a different vector ofvariables yk .

The master problem and recourse problems are linear programs.

The size of these linear programs is much smaller than the size of full model (5).

Sinan Sabri Optimization Methods in Finance

Page 309: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Note that the blocks C1, · · · ,CS of the constraint matrix are only interrelatedthrough the blocks B1, · · · ,BS which correspond to the first-stage decisions.

In other words, once the first-stage decisions x have been fixed, (5) decomposesinto S independent linear programs.

The idea of Benders decomposition is to solve:A ”master problem” involving only the variables xA series of independent ”recourse problems” each involving a different vector ofvariables yk .

The master problem and recourse problems are linear programs.

The size of these linear programs is much smaller than the size of full model (5).

Sinan Sabri Optimization Methods in Finance

Page 310: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Note that the blocks C1, · · · ,CS of the constraint matrix are only interrelatedthrough the blocks B1, · · · ,BS which correspond to the first-stage decisions.

In other words, once the first-stage decisions x have been fixed, (5) decomposesinto S independent linear programs.

The idea of Benders decomposition is to solve:A ”master problem” involving only the variables xA series of independent ”recourse problems” each involving a different vector ofvariables yk .

The master problem and recourse problems are linear programs.

The size of these linear programs is much smaller than the size of full model (5).

Sinan Sabri Optimization Methods in Finance

Page 311: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Note that the blocks C1, · · · ,CS of the constraint matrix are only interrelatedthrough the blocks B1, · · · ,BS which correspond to the first-stage decisions.

In other words, once the first-stage decisions x have been fixed, (5) decomposesinto S independent linear programs.

The idea of Benders decomposition is to solve:A ”master problem” involving only the variables xA series of independent ”recourse problems” each involving a different vector ofvariables yk .

The master problem and recourse problems are linear programs.

The size of these linear programs is much smaller than the size of full model (5).

Sinan Sabri Optimization Methods in Finance

Page 312: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The recourse problems are solved for a given vector x and their solutions are usedto generate inequalities that are added to the master problem.

Solving the new master problem produces a new x and the process is repeated.

Let us write (5) as:

maxx

aT x + P1(x) + · · ·+ PS(x) (7)

Ax = b

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 313: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The recourse problems are solved for a given vector x and their solutions are usedto generate inequalities that are added to the master problem.

Solving the new master problem produces a new x and the process is repeated.

Let us write (5) as:

maxx

aT x + P1(x) + · · ·+ PS(x) (7)

Ax = b

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 314: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The recourse problems are solved for a given vector x and their solutions are usedto generate inequalities that are added to the master problem.

Solving the new master problem produces a new x and the process is repeated.

Let us write (5) as:

maxx

aT x + P1(x) + · · ·+ PS(x) (7)

Ax = b

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 315: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The recourse problems are solved for a given vector x and their solutions are usedto generate inequalities that are added to the master problem.

Solving the new master problem produces a new x and the process is repeated.

Let us write (5) as:

maxx

aT x + P1(x) + · · ·+ PS(x) (7)

Ax = b

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 316: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The recourse problems are solved for a given vector x and their solutions are usedto generate inequalities that are added to the master problem.

Solving the new master problem produces a new x and the process is repeated.

Let us write (5) as:

maxx

aT x + P1(x) + · · ·+ PS(x) (7)

Ax = b

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 317: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

For k = 1, · · · ,S:

Pk (x) = maxyk

pk cTk yk (8)

Ck yk = dk − Bk x

yk ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 318: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

For k = 1, · · · ,S:

Pk (x) = maxyk

pk cTk yk (8)

Ck yk = dk − Bk x

yk ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 319: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

For k = 1, · · · ,S:

Pk (x) = maxyk

pk cTk yk (8)

Ck yk = dk − Bk x

yk ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 320: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

For k = 1, · · · ,S:

Pk (x) = maxyk

pk cTk yk (8)

Ck yk = dk − Bk x

yk ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 321: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The dual linear program of the recourse problem (8) is:

Pk (x) = minuk

uTk (dk − Bk x) (9)

CTk uk ≥ pk ck

We assume that the dual (9) is feasible, which is the case of interest inapplications.

The recourse linear program (8) will be solved for a sequence of vectors x i .

Sinan Sabri Optimization Methods in Finance

Page 322: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The dual linear program of the recourse problem (8) is:

Pk (x) = minuk

uTk (dk − Bk x) (9)

CTk uk ≥ pk ck

We assume that the dual (9) is feasible, which is the case of interest inapplications.

The recourse linear program (8) will be solved for a sequence of vectors x i .

Sinan Sabri Optimization Methods in Finance

Page 323: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The dual linear program of the recourse problem (8) is:

Pk (x) = minuk

uTk (dk − Bk x) (9)

CTk uk ≥ pk ck

We assume that the dual (9) is feasible, which is the case of interest inapplications.

The recourse linear program (8) will be solved for a sequence of vectors x i .

Sinan Sabri Optimization Methods in Finance

Page 324: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The dual linear program of the recourse problem (8) is:

Pk (x) = minuk

uTk (dk − Bk x) (9)

CTk uk ≥ pk ck

We assume that the dual (9) is feasible, which is the case of interest inapplications.

The recourse linear program (8) will be solved for a sequence of vectors x i .

Sinan Sabri Optimization Methods in Finance

Page 325: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The dual linear program of the recourse problem (8) is:

Pk (x) = minuk

uTk (dk − Bk x) (9)

CTk uk ≥ pk ck

We assume that the dual (9) is feasible, which is the case of interest inapplications.

The recourse linear program (8) will be solved for a sequence of vectors x i .

Sinan Sabri Optimization Methods in Finance

Page 326: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The dual linear program of the recourse problem (8) is:

Pk (x) = minuk

uTk (dk − Bk x) (9)

CTk uk ≥ pk ck

We assume that the dual (9) is feasible, which is the case of interest inapplications.

The recourse linear program (8) will be solved for a sequence of vectors x i .

Sinan Sabri Optimization Methods in Finance

Page 327: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The initial vector x0 might be obtained by solving:

maxx

aT x (10)

Ax = b, x ≥ 0

For a given vector x i , two possibilities can occur for the recourse linear program(8): either (8) has an optimal solution or it is infeasible.

Sinan Sabri Optimization Methods in Finance

Page 328: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The initial vector x0 might be obtained by solving:

maxx

aT x (10)

Ax = b, x ≥ 0

For a given vector x i , two possibilities can occur for the recourse linear program(8): either (8) has an optimal solution or it is infeasible.

Sinan Sabri Optimization Methods in Finance

Page 329: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The initial vector x0 might be obtained by solving:

maxx

aT x (10)

Ax = b,

x ≥ 0

For a given vector x i , two possibilities can occur for the recourse linear program(8): either (8) has an optimal solution or it is infeasible.

Sinan Sabri Optimization Methods in Finance

Page 330: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The initial vector x0 might be obtained by solving:

maxx

aT x (10)

Ax = b, x ≥ 0

For a given vector x i , two possibilities can occur for the recourse linear program(8):

either (8) has an optimal solution or it is infeasible.

Sinan Sabri Optimization Methods in Finance

Page 331: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The initial vector x0 might be obtained by solving:

maxx

aT x (10)

Ax = b, x ≥ 0

For a given vector x i , two possibilities can occur for the recourse linear program(8): either (8) has an optimal solution

or it is infeasible.

Sinan Sabri Optimization Methods in Finance

Page 332: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

The initial vector x0 might be obtained by solving:

maxx

aT x (10)

Ax = b, x ≥ 0

For a given vector x i , two possibilities can occur for the recourse linear program(8): either (8) has an optimal solution or it is infeasible.

Sinan Sabri Optimization Methods in Finance

Page 333: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) has an optimal solution y ik , and ui

k is the corresponding optimal dual solution,

then (9) implies that

Pk (x i ) = (uik )T (dk − Bk x i )

Since

Pk (x) ≤ (uik )T (dk − Bk x)

We get that

Pk (x) ≤ (uik )T (dk − Bk x i ) + Pk (x i )

This inequality, which is called an optimality cut, can be added to the currentmaster linear program. Initially, the master linear program is just (10).

Sinan Sabri Optimization Methods in Finance

Page 334: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) has an optimal solution y ik , and ui

k is the corresponding optimal dual solution,then (9) implies that

Pk (x i ) = (uik )T (dk − Bk x i )

Since

Pk (x) ≤ (uik )T (dk − Bk x)

We get that

Pk (x) ≤ (uik )T (dk − Bk x i ) + Pk (x i )

This inequality, which is called an optimality cut, can be added to the currentmaster linear program. Initially, the master linear program is just (10).

Sinan Sabri Optimization Methods in Finance

Page 335: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) has an optimal solution y ik , and ui

k is the corresponding optimal dual solution,then (9) implies that

Pk (x i ) = (uik )T (dk − Bk x i )

Since

Pk (x) ≤ (uik )T (dk − Bk x)

We get that

Pk (x) ≤ (uik )T (dk − Bk x i ) + Pk (x i )

This inequality, which is called an optimality cut, can be added to the currentmaster linear program. Initially, the master linear program is just (10).

Sinan Sabri Optimization Methods in Finance

Page 336: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) has an optimal solution y ik , and ui

k is the corresponding optimal dual solution,then (9) implies that

Pk (x i ) = (uik )T (dk − Bk x i )

Since

Pk (x) ≤ (uik )T (dk − Bk x)

We get that

Pk (x) ≤ (uik )T (dk − Bk x i ) + Pk (x i )

This inequality, which is called an optimality cut, can be added to the currentmaster linear program. Initially, the master linear program is just (10).

Sinan Sabri Optimization Methods in Finance

Page 337: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) has an optimal solution y ik , and ui

k is the corresponding optimal dual solution,then (9) implies that

Pk (x i ) = (uik )T (dk − Bk x i )

Since

Pk (x) ≤ (uik )T (dk − Bk x)

We get that

Pk (x) ≤ (uik )T (dk − Bk x i ) + Pk (x i )

This inequality, which is called an optimality cut, can be added to the currentmaster linear program. Initially, the master linear program is just (10).

Sinan Sabri Optimization Methods in Finance

Page 338: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) has an optimal solution y ik , and ui

k is the corresponding optimal dual solution,then (9) implies that

Pk (x i ) = (uik )T (dk − Bk x i )

Since

Pk (x) ≤ (uik )T (dk − Bk x)

We get that

Pk (x) ≤ (uik )T (dk − Bk x i ) + Pk (x i )

This inequality, which is called an optimality cut, can be added to the currentmaster linear program.

Initially, the master linear program is just (10).

Sinan Sabri Optimization Methods in Finance

Page 339: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) has an optimal solution y ik , and ui

k is the corresponding optimal dual solution,then (9) implies that

Pk (x i ) = (uik )T (dk − Bk x i )

Since

Pk (x) ≤ (uik )T (dk − Bk x)

We get that

Pk (x) ≤ (uik )T (dk − Bk x i ) + Pk (x i )

This inequality, which is called an optimality cut, can be added to the currentmaster linear program. Initially, the master linear program is just (10).

Sinan Sabri Optimization Methods in Finance

Page 340: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) is infeasible,

then the dual problem is unbounded. Let uik a direction where

(9) is unbounded

(uik )T (dk − Bk x i ) < 0

CTk ui

k ≥ pk ck

Since we are only interested in first-stage decisions x that lead to feasiblesecond-stage decisions yk , the following feasibility cut can be added to the currentmaster linear program:

(uik )T (dk − Bk x) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 341: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) is infeasible, then the dual problem is unbounded.

Let uik a direction where

(9) is unbounded

(uik )T (dk − Bk x i ) < 0

CTk ui

k ≥ pk ck

Since we are only interested in first-stage decisions x that lead to feasiblesecond-stage decisions yk , the following feasibility cut can be added to the currentmaster linear program:

(uik )T (dk − Bk x) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 342: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) is infeasible, then the dual problem is unbounded. Let uik a direction where

(9) is unbounded

(uik )T (dk − Bk x i ) < 0

CTk ui

k ≥ pk ck

Since we are only interested in first-stage decisions x that lead to feasiblesecond-stage decisions yk , the following feasibility cut can be added to the currentmaster linear program:

(uik )T (dk − Bk x) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 343: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) is infeasible, then the dual problem is unbounded. Let uik a direction where

(9) is unbounded

(uik )T (dk − Bk x i ) < 0

CTk ui

k ≥ pk ck

Since we are only interested in first-stage decisions x that lead to feasiblesecond-stage decisions yk , the following feasibility cut can be added to the currentmaster linear program:

(uik )T (dk − Bk x) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 344: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) is infeasible, then the dual problem is unbounded. Let uik a direction where

(9) is unbounded

(uik )T (dk − Bk x i ) < 0

CTk ui

k ≥ pk ck

Since we are only interested in first-stage decisions x that lead to feasiblesecond-stage decisions yk ,

the following feasibility cut can be added to the currentmaster linear program:

(uik )T (dk − Bk x) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 345: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) is infeasible, then the dual problem is unbounded. Let uik a direction where

(9) is unbounded

(uik )T (dk − Bk x i ) < 0

CTk ui

k ≥ pk ck

Since we are only interested in first-stage decisions x that lead to feasiblesecond-stage decisions yk , the following feasibility cut can be added to the currentmaster linear program:

(uik )T (dk − Bk x) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 346: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

If (8) is infeasible, then the dual problem is unbounded. Let uik a direction where

(9) is unbounded

(uik )T (dk − Bk x i ) < 0

CTk ui

k ≥ pk ck

Since we are only interested in first-stage decisions x that lead to feasiblesecond-stage decisions yk , the following feasibility cut can be added to the currentmaster linear program:

(uik )T (dk − Bk x) ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 347: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k ,

we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 348: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 349: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 350: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 351: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 352: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 353: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = b

zk ≤ (ujk )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 354: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 355: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 356: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

After solving the recourse problems (8) for each k , we have the following lowerbound on the optimal value of (5):

LB = aT x i + P1(x i ) + · · ·+ PS(x i )

where we set Pk (x i ) = −∞ if the corresponding recourse problem is infeasible.

Adding all the optimality and feasibility cuts found so far (for j = 0, · · · , i) to themaster linear program, we obtain:

maxx,z1,··· ,zS aT x +∑S

k=1 zk

Ax = bzk ≤ (uj

k )T (Bk x j − Bk x) + pk (x j ) for some pairs (j, k)

0 ≤ (ujk )T (dk − Bk x) for the remaining pairs (j, k)

x ≥ 0

Sinan Sabri Optimization Methods in Finance

Page 357: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Denoting by x i+1, z i+11 , · · · , z i+1

S an optimal solution to this linear program,

we getan upper bound on the optimal value of (5):

UB = aT x i+1 + z i+11 + · · ·+ z i+1

S

Benders decomposition alternately solves the recourse problems (8)

The master linear program with new optimality and feasibility cuts added at eachiteration until the gap between the upper bound UB and the lower bound LB fallsbelow a given threshold.

Sinan Sabri Optimization Methods in Finance

Page 358: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Denoting by x i+1, z i+11 , · · · , z i+1

S an optimal solution to this linear program, we getan upper bound on the optimal value of (5):

UB = aT x i+1 + z i+11 + · · ·+ z i+1

S

Benders decomposition alternately solves the recourse problems (8)

The master linear program with new optimality and feasibility cuts added at eachiteration until the gap between the upper bound UB and the lower bound LB fallsbelow a given threshold.

Sinan Sabri Optimization Methods in Finance

Page 359: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Denoting by x i+1, z i+11 , · · · , z i+1

S an optimal solution to this linear program, we getan upper bound on the optimal value of (5):

UB = aT x i+1 + z i+11 + · · ·+ z i+1

S

Benders decomposition alternately solves the recourse problems (8)

The master linear program with new optimality and feasibility cuts added at eachiteration until the gap between the upper bound UB and the lower bound LB fallsbelow a given threshold.

Sinan Sabri Optimization Methods in Finance

Page 360: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Denoting by x i+1, z i+11 , · · · , z i+1

S an optimal solution to this linear program, we getan upper bound on the optimal value of (5):

UB = aT x i+1 + z i+11 + · · ·+ z i+1

S

Benders decomposition alternately solves the recourse problems (8)

The master linear program with new optimality and feasibility cuts added at eachiteration

until the gap between the upper bound UB and the lower bound LB fallsbelow a given threshold.

Sinan Sabri Optimization Methods in Finance

Page 361: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Denoting by x i+1, z i+11 , · · · , z i+1

S an optimal solution to this linear program, we getan upper bound on the optimal value of (5):

UB = aT x i+1 + z i+11 + · · ·+ z i+1

S

Benders decomposition alternately solves the recourse problems (8)

The master linear program with new optimality and feasibility cuts added at eachiteration until the gap between the upper bound UB and the lower bound LB fallsbelow a given threshold.

Sinan Sabri Optimization Methods in Finance

Page 362: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem” and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem, the variables of the first 2 stages could define themaster problem.

When these variables are fixed, (6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 363: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem”

and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem, the variables of the first 2 stages could define themaster problem.

When these variables are fixed, (6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 364: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem” and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem, the variables of the first 2 stages could define themaster problem.

When these variables are fixed, (6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 365: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem” and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem,

the variables of the first 2 stages could define themaster problem.

When these variables are fixed, (6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 366: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem” and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem, the variables of the first 2 stages could define themaster problem.

When these variables are fixed, (6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 367: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem” and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem, the variables of the first 2 stages could define themaster problem.

When these variables are fixed,

(6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 368: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem” and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem, the variables of the first 2 stages could define themaster problem.

When these variables are fixed, (6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 369: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem” and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem, the variables of the first 2 stages could define themaster problem.

When these variables are fixed, (6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 370: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Decomposition- Bender Decomposition

Benders decomposition can also be used for multi-stage problems (6) in astraightforward way.

The stages are partitioned into a first set that gives rise to the ”master problem” and asecond set that gives rise to the ”recourse problems”.

For example in a 6-stage problem, the variables of the first 2 stages could define themaster problem.

When these variables are fixed, (6) decomposes into separate linear programs eachinvolving variables of the last 4 stages.

The solutions of these recourse linear program provide optimality or feasibility cuts thatcan be added to the master problem.

As before, upper and lower bounds are computed at each iteration and the algorithmstops when the difference drops below a given tolerance.

Sinan Sabri Optimization Methods in Finance

Page 371: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Scenario Generation

Sinan Sabri Optimization Methods in Finance

Page 372: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Scenario Generation

How should one generate scenarios in order to formulate a deterministic equivalentformulation (6) that accurately represents the underlying stochastic program?

First, one needs to model the correlation over time among the random parameters.

For a pension fund, such a model might relate wage inflation (which influences theliability side) to interest rates and stock prices (which influence the asset side).Simpler autoregressive models can be used.

The second issue is the construction of a scenario tree from these models:A finite number of scenarios must reflect as accurately as possible the randomprocesses modeled in the previous step.Random Sampling and Tree Fitting are used.

On the other hand, the linear program (6) can only be solved if the size of thescenario tree is reasonably small, suggesting a rather limited number of scenarios.

Sinan Sabri Optimization Methods in Finance

Page 373: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Scenario Generation

How should one generate scenarios in order to formulate a deterministic equivalentformulation (6) that accurately represents the underlying stochastic program?

First, one needs to model the correlation over time among the random parameters.

For a pension fund, such a model might relate wage inflation (which influences theliability side) to interest rates and stock prices (which influence the asset side).

Simpler autoregressive models can be used.

The second issue is the construction of a scenario tree from these models:A finite number of scenarios must reflect as accurately as possible the randomprocesses modeled in the previous step.Random Sampling and Tree Fitting are used.

On the other hand, the linear program (6) can only be solved if the size of thescenario tree is reasonably small, suggesting a rather limited number of scenarios.

Sinan Sabri Optimization Methods in Finance

Page 374: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Scenario Generation

How should one generate scenarios in order to formulate a deterministic equivalentformulation (6) that accurately represents the underlying stochastic program?

First, one needs to model the correlation over time among the random parameters.

For a pension fund, such a model might relate wage inflation (which influences theliability side) to interest rates and stock prices (which influence the asset side).Simpler autoregressive models can be used.

The second issue is the construction of a scenario tree from these models:A finite number of scenarios must reflect as accurately as possible the randomprocesses modeled in the previous step.Random Sampling and Tree Fitting are used.

On the other hand, the linear program (6) can only be solved if the size of thescenario tree is reasonably small, suggesting a rather limited number of scenarios.

Sinan Sabri Optimization Methods in Finance

Page 375: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Scenario Generation

How should one generate scenarios in order to formulate a deterministic equivalentformulation (6) that accurately represents the underlying stochastic program?

First, one needs to model the correlation over time among the random parameters.

For a pension fund, such a model might relate wage inflation (which influences theliability side) to interest rates and stock prices (which influence the asset side).Simpler autoregressive models can be used.

The second issue is the construction of a scenario tree from these models:

A finite number of scenarios must reflect as accurately as possible the randomprocesses modeled in the previous step.Random Sampling and Tree Fitting are used.

On the other hand, the linear program (6) can only be solved if the size of thescenario tree is reasonably small, suggesting a rather limited number of scenarios.

Sinan Sabri Optimization Methods in Finance

Page 376: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Scenario Generation

How should one generate scenarios in order to formulate a deterministic equivalentformulation (6) that accurately represents the underlying stochastic program?

First, one needs to model the correlation over time among the random parameters.

For a pension fund, such a model might relate wage inflation (which influences theliability side) to interest rates and stock prices (which influence the asset side).Simpler autoregressive models can be used.

The second issue is the construction of a scenario tree from these models:A finite number of scenarios must reflect as accurately as possible the randomprocesses modeled in the previous step.Random Sampling and Tree Fitting are used.

On the other hand, the linear program (6) can only be solved if the size of thescenario tree is reasonably small, suggesting a rather limited number of scenarios.

Sinan Sabri Optimization Methods in Finance

Page 377: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

Scenario Generation

How should one generate scenarios in order to formulate a deterministic equivalentformulation (6) that accurately represents the underlying stochastic program?

First, one needs to model the correlation over time among the random parameters.

For a pension fund, such a model might relate wage inflation (which influences theliability side) to interest rates and stock prices (which influence the asset side).Simpler autoregressive models can be used.

The second issue is the construction of a scenario tree from these models:A finite number of scenarios must reflect as accurately as possible the randomprocesses modeled in the previous step.Random Sampling and Tree Fitting are used.

On the other hand, the linear program (6) can only be solved if the size of thescenario tree is reasonably small, suggesting a rather limited number of scenarios.

Sinan Sabri Optimization Methods in Finance

Page 378: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

References

Sinan Sabri Optimization Methods in Finance

Page 379: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

References

References

1 G. Cornuejols, R. Tutuncu, Optimization methods in Finance, CambridgeUniversity Press, 2007.

2 A Shapiro, D Dentcheva, and A Ruszczynski, Lectures on StochasticProgramming: Modeling and Theory, SIAM, 2009.

3 J E Beasley, OR-Notes: Stochastic Programming,http://people.brunel.ac.uk/ mastjjb/jeb/or/sp.html

4 Stochastic Programming, http://disopt.epfl.ch/cms/page-10544.html

Sinan Sabri Optimization Methods in Finance

Page 380: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

References

References

1 G. Cornuejols, R. Tutuncu, Optimization methods in Finance, CambridgeUniversity Press, 2007.

2 A Shapiro, D Dentcheva, and A Ruszczynski, Lectures on StochasticProgramming: Modeling and Theory, SIAM, 2009.

3 J E Beasley, OR-Notes: Stochastic Programming,http://people.brunel.ac.uk/ mastjjb/jeb/or/sp.html

4 Stochastic Programming, http://disopt.epfl.ch/cms/page-10544.html

Sinan Sabri Optimization Methods in Finance

Page 381: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

References

References

1 G. Cornuejols, R. Tutuncu, Optimization methods in Finance, CambridgeUniversity Press, 2007.

2 A Shapiro, D Dentcheva, and A Ruszczynski, Lectures on StochasticProgramming: Modeling and Theory, SIAM, 2009.

3 J E Beasley, OR-Notes: Stochastic Programming,http://people.brunel.ac.uk/ mastjjb/jeb/or/sp.html

4 Stochastic Programming, http://disopt.epfl.ch/cms/page-10544.html

Sinan Sabri Optimization Methods in Finance

Page 382: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

References

References

1 G. Cornuejols, R. Tutuncu, Optimization methods in Finance, CambridgeUniversity Press, 2007.

2 A Shapiro, D Dentcheva, and A Ruszczynski, Lectures on StochasticProgramming: Modeling and Theory, SIAM, 2009.

3 J E Beasley, OR-Notes: Stochastic Programming,http://people.brunel.ac.uk/ mastjjb/jeb/or/sp.html

4 Stochastic Programming, http://disopt.epfl.ch/cms/page-10544.html

Sinan Sabri Optimization Methods in Finance

Page 383: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

References

References

1 G. Cornuejols, R. Tutuncu, Optimization methods in Finance, CambridgeUniversity Press, 2007.

2 A Shapiro, D Dentcheva, and A Ruszczynski, Lectures on StochasticProgramming: Modeling and Theory, SIAM, 2009.

3 J E Beasley, OR-Notes: Stochastic Programming,http://people.brunel.ac.uk/ mastjjb/jeb/or/sp.html

4 Stochastic Programming, http://disopt.epfl.ch/cms/page-10544.html

Sinan Sabri Optimization Methods in Finance

Page 384: Stochastic Programming: Theory and Algorithmscommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lec... · 2017. 1. 26. · Stochastic programming assumes that the uncertain parameters

IntroductionProbabilistic Constraints

Recourse ProblemsDecomposition

Scenario GenerationReferences

References

References

1 G. Cornuejols, R. Tutuncu, Optimization methods in Finance, CambridgeUniversity Press, 2007.

2 A Shapiro, D Dentcheva, and A Ruszczynski, Lectures on StochasticProgramming: Modeling and Theory, SIAM, 2009.

3 J E Beasley, OR-Notes: Stochastic Programming,http://people.brunel.ac.uk/ mastjjb/jeb/or/sp.html

4 Stochastic Programming, http://disopt.epfl.ch/cms/page-10544.html

Sinan Sabri Optimization Methods in Finance