SlideShare a Scribd company logo
1 of 27
Download to read offline
Lecture 4

Nonlinear Stochastic Programming
by the Monte-Carlo method

  Leonidas Sakalauskas
  Institute of Mathematics and Informatics
  Vilnius, Lithuania <sakal@ktl.mii.lt>

  EURO Working Group on Continuous Optimization
Content
   Stochastic unconstrained optimization
   Monte Carlo estimators
   Statistical testing of optimality
   Gradient-based stochastic algorithm
   Rule for Monte-Carlo sample size regulation
   Counterexamples
   Nonlinear stochastic constrained optimization
   Convergence Analysis
   Counterexample
Stochastic unconstrained
      optimization
     Let us consider the stochastic unconstrained
     optimization problem

                F ( x)    Ef x,        min
                                         n
                                       x R


     -elementary event in the probability space        , , Px ,

            n
     f :R                R,       - random function:

Px   - the measure, defined by probability density
     function:
                    p : Rn         R
Monte-Carlo samples
We assume here that the Monte-Carlo samples of a
certain size N are provided for any x R n

             Y   ( y1, y 2 ,..., y N ),
the sampling estimator of the objective function
                              N
                       1
             F ( x)                 f ( x, y j )
                       N      j 1
and sampling variance can be computed
                        N
         2        1                    j
                                                   2
       D ( x)                 f ( x, y ) F ( x)
                 N 1    j 1
Gradient


Assume the stochastic gradient is evaluated using
the same random sample:
                    N
                1                 j
       g ( x)             g ( x, y ),
                N   j 1
Covariance matrix
  and the sampling covariance matrix is computed as
  well

              N
         1                   j                  j
                                                            T
A( x)               g x, y       g x   g x, y         g x
        N n   j 1
Gradient search procedure

                        0      n
Let some initial point x            be given and the
random sample of a certain initial size N0 be generated at
this point, as well as, the Monte-Carlo estimates be
computed.
The iterative stochastic procedure of gradient search can
be used further:


             x   t 1
                       x   t       ~( x t )
                                   g
Monte-Carlo sample size problem

There is no a great necessity to compute
  estimators with a high accuracy on starting the
  optimisation, because then it suffices only to
  approximately evaluate the direction leading to
  the optimum.
Therefore, one can obtain not so large samples at
  the beginning of the optimum search and, later
  on, increase the size of samples so as to get the
  estimate of the objective function with a desired
  accuracy just at the time of decision making on
  finding the solution to the optimisation problem.
Monte-Carlo sample size problem

     The following version for regulating the
     sample size is proposed:


                    n Fish( , n, N t n)
Nt   1
         min max    ~ t T         t  1 ~ t       n, N min , N max
                   (G ( x ) ( A( x )) (G ( x )
Statistical testing of the optimality
               hypothesis

       The optimality hypothesis could be accepted for some
       point x t with significance

                             1

       if the following condition is satisfied


        (N t   n) (G ( x t ))T ( A( x t ))   1
                                                 (G ( x t ))
Tt 2                                                           Fish( , n, N t   n)
                              n
Statistical testing of the optimality
         hypothesis

Next, we can use the asymptotic normality again and
decide that the objective function is estimated with a
permissible accuracy    , if its confidence bound does
not exceed this value:

                 ~ t
                 D( x ) / N t
Importance sampling

  Let consider an application of SP to
  estimation of probabilities of rare events:
                          t2                    ( t a )2       (t a )2        t2
            1             2
                                    1               2             2           2
P( x )                e        dt           e              e              e        dt
            2     x                 2   x
                   a2 t 2                                       t2
    1           at
                   2 2
                                    1                           2
            e                  dt           g (a , t ) e             dt
    2     x a                       2   x a



                                           a2
                                        at
 where:               g (a , t )    e      2
Importance sampling

      Assume a be the parameter that should
      be chosen.
      The second moment is :
                                               t2                                    t2
  2                 1              2           2
                                                              1         2 at a   2
                                                                                     2
D ( x, a)                      g (a , t ) e         dt              e                     dt
                    2     x a                                 2   x a
                     a2 t 2             a2          t2
      1           at
                     2 2
                                       e            2
              e               dt               e         dt
      2   x                             2    x a
Importance sampling

      Assume a be the parameter that should
      be chosen.
      The second moment is :
                                               t2                                    t2
  2                 1              2           2
                                                              1         2 at a   2
                                                                                     2
D ( x, a)                      g (a , t ) e         dt              e                     dt
                    2     x a                                 2   x a
                     a2 t 2             a2          t2
      1           at
                     2 2
                                       e            2
              e               dt               e         dt
      2   x                             2    x a
Importance sampling

Select the parameter a in order to minimize
the variance:
                           1,20

                           1,00

                           0,80
        2          2
   2   D ( x, a) P ( x)    0,60


        P( x ) P 2 ( x )   0,40

                           0,20

                           0,00
                               0,00   2,00   4,00   6,00   8,00
                                              a
Importance sampling


                                            ~
                                            Pt
t    at     Sample size
                          (%)      P( x )        2.86650x10 -7

1   5.000      1000       16.377       2.48182x10-7

2   5.092     51219       2.059        2.87169x10-7

3   5.097     217154      1.000        2.87010x10-7
Manpower-planning problem

The employer must decide upon a base
level of regular staff at various skill levels.
The recourse actions available are regular
staff overtime or outside temporary help in
order to meet unknown demand of service
at minimum cost (Ermolyev and Wets
(1988)).
Manpower-planning problem

x j : base level of regular staff at skill level j = 1, 2, 3
y j ,t : amount of overtime help

 z j ,t :    amount of temporary help,
cj :        cost of regular staff at skill level j = 1, 2, 3

qj :          cost of overtime,

 rj :        cost of temporary help

 wt :       demand of services at period t,

  t   : absentees rate for regular staff at time t,
            ratio of amount of skill level j per amount of
 j 1    :   j-1 required,
Manpower-planning problem
       The problem is to choose the number of staff
       on three levels x ( x1 , x2 , x3 ) in order to
       minimize the expected costs:
                                         3                                12                       3
                F ( x, z )                      cj xj                           E min (                 (q j y j , t    rj z j ,t ))
                                         j 1                              t 1                     j 1


s.t.   xj        0,           y j ,t     0,               z j ,t     0,
        3                                                     3
             (y j ,t     z j ,t )       wt            t            xj ,            t 1, 2,         , 12,
       j 1                                                   j 1

       y j ,t      0.2        t   xj,         j 1, 2, 3,                        t 1, 2,            , 12,
         j 1    (x j     yj    1, t     zj    1, t   ) (x j           yj    1, t     zj   1, t   ) 0,      j 1, 2, 3,        t 1, 2,   , 12.

the demands are normal:                                                            N( t,                    2
                                                                                                                )   ,   t    l     t
                                                                                                           t
X 12
   3




       Manpower-planning problem

       Manpower amount and costs in USD
       with confidence interval 100 USD

          l    x1    x2     x3       F
          0   9222   5533   1106   94.899

          1   9222   5533   1106   94.899

         10   9376   5616   1106   96.832

         30   9452   5672   1036   96.614
Nonlinear Stochastic Programming
   Constrained continuous (nonlinear )stochastic
    programming problem is in general


     F0 ( x)   Ef 0 x,            f 0 ( x, z ) p ( z )dz     min
                             Rn

     F1 ( x)   Ef1 x,             f1 ( x, z ) p ( z )dz 0,
                             Rn
                                    n
                         x              .
Nonlinear Stochastic Programming
Let us define the Lagrange function

         L( x, ) F0 ( x)        F1 ( x)

          L( x, ) El ( x, , )


l ( x,     , )     f 0 ( x, )             f1 ( x, )
Nonlinear Stochastic Programming
       Procedure for stochastic optimization:

                      t 1           t    ~
                  x             x            x L( x t ,   t
                                                              )
 t 1                        t             ~ t                     ~
        max[0,                          ( F1 ( x )                DF1 ( x t ))]

 0        0                 0
N ,           ,         x               - initial values
                                        - parameters of
        0,                      0         optimization
Conditions and testing of optimality


     F0 ( x )                 F1 ( x )            0,           F1 ( x )   0



              ~               1       ~
(N     n) (       x   L)' A       (       x   L) / n       Fish( , n, N   n)

~ t                    ~      t
F1 ( x )               DF1 ( x )              0        2   i
                                                               DFi / N        i
Analysis of Convergence

In general the sample size is increased
as geometric progression:

                       t
                 N
                   t       1
                 N

             t     i               t       Q
               N
             i 0
                               N
                                       1
Wrap-Up and conclusions


   The approach presented in this lecture is
    grounded by the termination procedure and
    the rule for adaptive regulation of size of
    Monte-Carlo samples, taking into account the
    statistical modeling accuracy.
Wrap-Up and Conclusions
   The computer study shows that the approach
    developed provides us the estimator for a
    reliable testing of the optimality hypothesis in a
    wide range of dimensionality of stochastic
    optimization problem (2<n<100)

   Termination procedure proposed allows us to
    test the optimality hypothesis and to evaluate
    reliably the confidence intervals of the
    objective and constraint functions

More Related Content

What's hot

Random Matrix Theory and Machine Learning - Part 4
Random Matrix Theory and Machine Learning - Part 4Random Matrix Theory and Machine Learning - Part 4
Random Matrix Theory and Machine Learning - Part 4Fabian Pedregosa
 
Exchange confirm
Exchange confirmExchange confirm
Exchange confirmNBER
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Fabian Pedregosa
 
Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Fabian Pedregosa
 
Lesson 15: Exponential Growth and Decay (handout)
Lesson 15: Exponential Growth and Decay (handout)Lesson 15: Exponential Growth and Decay (handout)
Lesson 15: Exponential Growth and Decay (handout)Matthew Leingang
 
Random Matrix Theory and Machine Learning - Part 1
Random Matrix Theory and Machine Learning - Part 1Random Matrix Theory and Machine Learning - Part 1
Random Matrix Theory and Machine Learning - Part 1Fabian Pedregosa
 
Logics of the laplace transform
Logics of the laplace transformLogics of the laplace transform
Logics of the laplace transformTarun Gehlot
 
Systems Of Differential Equations
Systems Of Differential EquationsSystems Of Differential Equations
Systems Of Differential EquationsJDagenais
 
Sienna 2 analysis
Sienna 2 analysisSienna 2 analysis
Sienna 2 analysischidabdu
 
Final Present Pap1on relibility
Final Present Pap1on relibilityFinal Present Pap1on relibility
Final Present Pap1on relibilityketan gajjar
 
SMC^2: an algorithm for sequential analysis of state-space models
SMC^2: an algorithm for sequential analysis of state-space modelsSMC^2: an algorithm for sequential analysis of state-space models
SMC^2: an algorithm for sequential analysis of state-space modelsPierre Jacob
 
Senior Seminar: Systems of Differential Equations
Senior Seminar:  Systems of Differential EquationsSenior Seminar:  Systems of Differential Equations
Senior Seminar: Systems of Differential EquationsJDagenais
 
MCMC and likelihood-free methods
MCMC and likelihood-free methodsMCMC and likelihood-free methods
MCMC and likelihood-free methodsChristian Robert
 
Lesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and DecayLesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and DecayMatthew Leingang
 
Chapter 3 projection
Chapter 3 projectionChapter 3 projection
Chapter 3 projectionNBER
 

What's hot (20)

Random Matrix Theory and Machine Learning - Part 4
Random Matrix Theory and Machine Learning - Part 4Random Matrix Theory and Machine Learning - Part 4
Random Matrix Theory and Machine Learning - Part 4
 
Exchange confirm
Exchange confirmExchange confirm
Exchange confirm
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
 
Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2Random Matrix Theory and Machine Learning - Part 2
Random Matrix Theory and Machine Learning - Part 2
 
Lesson 15: Exponential Growth and Decay (handout)
Lesson 15: Exponential Growth and Decay (handout)Lesson 15: Exponential Growth and Decay (handout)
Lesson 15: Exponential Growth and Decay (handout)
 
Random Matrix Theory and Machine Learning - Part 1
Random Matrix Theory and Machine Learning - Part 1Random Matrix Theory and Machine Learning - Part 1
Random Matrix Theory and Machine Learning - Part 1
 
Logics of the laplace transform
Logics of the laplace transformLogics of the laplace transform
Logics of the laplace transform
 
Mixture Models for Image Analysis
Mixture Models for Image AnalysisMixture Models for Image Analysis
Mixture Models for Image Analysis
 
Systems Of Differential Equations
Systems Of Differential EquationsSystems Of Differential Equations
Systems Of Differential Equations
 
Basic concepts and how to measure price volatility
Basic concepts and how to measure price volatility Basic concepts and how to measure price volatility
Basic concepts and how to measure price volatility
 
Sienna 2 analysis
Sienna 2 analysisSienna 2 analysis
Sienna 2 analysis
 
Mcqmc talk
Mcqmc talkMcqmc talk
Mcqmc talk
 
Rpra1
Rpra1Rpra1
Rpra1
 
Final Present Pap1on relibility
Final Present Pap1on relibilityFinal Present Pap1on relibility
Final Present Pap1on relibility
 
SMC^2: an algorithm for sequential analysis of state-space models
SMC^2: an algorithm for sequential analysis of state-space modelsSMC^2: an algorithm for sequential analysis of state-space models
SMC^2: an algorithm for sequential analysis of state-space models
 
Senior Seminar: Systems of Differential Equations
Senior Seminar:  Systems of Differential EquationsSenior Seminar:  Systems of Differential Equations
Senior Seminar: Systems of Differential Equations
 
MCMC and likelihood-free methods
MCMC and likelihood-free methodsMCMC and likelihood-free methods
MCMC and likelihood-free methods
 
Lesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and DecayLesson 15: Exponential Growth and Decay
Lesson 15: Exponential Growth and Decay
 
Session 13
Session 13Session 13
Session 13
 
Chapter 3 projection
Chapter 3 projectionChapter 3 projection
Chapter 3 projection
 

Similar to Nonlinear Stochastic Programming by the Monte-Carlo method

Answer to selected_miscellaneous_exercises
Answer to selected_miscellaneous_exercisesAnswer to selected_miscellaneous_exercises
Answer to selected_miscellaneous_exercisespaufong
 
Quantization
QuantizationQuantization
Quantizationwtyru1989
 
Univariate Financial Time Series Analysis
Univariate Financial Time Series AnalysisUnivariate Financial Time Series Analysis
Univariate Financial Time Series AnalysisAnissa ATMANI
 
Lecture on solving1
Lecture on solving1Lecture on solving1
Lecture on solving1NBER
 
The convenience yield implied by quadratic volatility smiles presentation [...
The convenience yield implied by quadratic volatility smiles   presentation [...The convenience yield implied by quadratic volatility smiles   presentation [...
The convenience yield implied by quadratic volatility smiles presentation [...yigalbt
 
Stochastic Differentiation
Stochastic DifferentiationStochastic Differentiation
Stochastic DifferentiationSSA KPI
 
Presentation cm2011
Presentation cm2011Presentation cm2011
Presentation cm2011antigonon
 
Presentation cm2011
Presentation cm2011Presentation cm2011
Presentation cm2011antigonon
 
Case Study (All)
Case Study (All)Case Study (All)
Case Study (All)gudeyi
 
On the Stick and Rope Problem - Draft 1
On the Stick and Rope Problem - Draft 1On the Stick and Rope Problem - Draft 1
On the Stick and Rope Problem - Draft 1Iwan Pranoto
 
2012 mdsp pr05 particle filter
2012 mdsp pr05 particle filter2012 mdsp pr05 particle filter
2012 mdsp pr05 particle filternozomuhamada
 
Fall 2008 midterm solutions
Fall 2008 midterm solutionsFall 2008 midterm solutions
Fall 2008 midterm solutionsChang Broot
 

Similar to Nonlinear Stochastic Programming by the Monte-Carlo method (20)

1 d wave equation
1 d wave equation1 d wave equation
1 d wave equation
 
YSC 2013
YSC 2013YSC 2013
YSC 2013
 
Answer to selected_miscellaneous_exercises
Answer to selected_miscellaneous_exercisesAnswer to selected_miscellaneous_exercises
Answer to selected_miscellaneous_exercises
 
Quantization
QuantizationQuantization
Quantization
 
Assignment6
Assignment6Assignment6
Assignment6
 
Univariate Financial Time Series Analysis
Univariate Financial Time Series AnalysisUnivariate Financial Time Series Analysis
Univariate Financial Time Series Analysis
 
Cash Settled Interest Rate Swap Futures
Cash Settled Interest Rate Swap FuturesCash Settled Interest Rate Swap Futures
Cash Settled Interest Rate Swap Futures
 
Lecture on solving1
Lecture on solving1Lecture on solving1
Lecture on solving1
 
The convenience yield implied by quadratic volatility smiles presentation [...
The convenience yield implied by quadratic volatility smiles   presentation [...The convenience yield implied by quadratic volatility smiles   presentation [...
The convenience yield implied by quadratic volatility smiles presentation [...
 
legendre.pptx
legendre.pptxlegendre.pptx
legendre.pptx
 
Stochastic Differentiation
Stochastic DifferentiationStochastic Differentiation
Stochastic Differentiation
 
Presentation cm2011
Presentation cm2011Presentation cm2011
Presentation cm2011
 
Presentation cm2011
Presentation cm2011Presentation cm2011
Presentation cm2011
 
Case Study (All)
Case Study (All)Case Study (All)
Case Study (All)
 
On the Stick and Rope Problem - Draft 1
On the Stick and Rope Problem - Draft 1On the Stick and Rope Problem - Draft 1
On the Stick and Rope Problem - Draft 1
 
2012 mdsp pr05 particle filter
2012 mdsp pr05 particle filter2012 mdsp pr05 particle filter
2012 mdsp pr05 particle filter
 
Fall 2008 midterm solutions
Fall 2008 midterm solutionsFall 2008 midterm solutions
Fall 2008 midterm solutions
 
Gz3113501354
Gz3113501354Gz3113501354
Gz3113501354
 
Gz3113501354
Gz3113501354Gz3113501354
Gz3113501354
 
Gz3113501354
Gz3113501354Gz3113501354
Gz3113501354
 

More from SSA KPI

Germany presentation
Germany presentationGermany presentation
Germany presentationSSA KPI
 
Grand challenges in energy
Grand challenges in energyGrand challenges in energy
Grand challenges in energySSA KPI
 
Engineering role in sustainability
Engineering role in sustainabilityEngineering role in sustainability
Engineering role in sustainabilitySSA KPI
 
Consensus and interaction on a long term strategy for sustainable development
Consensus and interaction on a long term strategy for sustainable developmentConsensus and interaction on a long term strategy for sustainable development
Consensus and interaction on a long term strategy for sustainable developmentSSA KPI
 
Competences in sustainability in engineering education
Competences in sustainability in engineering educationCompetences in sustainability in engineering education
Competences in sustainability in engineering educationSSA KPI
 
Introducatio SD for enginers
Introducatio SD for enginersIntroducatio SD for enginers
Introducatio SD for enginersSSA KPI
 
DAAD-10.11.2011
DAAD-10.11.2011DAAD-10.11.2011
DAAD-10.11.2011SSA KPI
 
Talking with money
Talking with moneyTalking with money
Talking with moneySSA KPI
 
'Green' startup investment
'Green' startup investment'Green' startup investment
'Green' startup investmentSSA KPI
 
From Huygens odd sympathy to the energy Huygens' extraction from the sea waves
From Huygens odd sympathy to the energy Huygens' extraction from the sea wavesFrom Huygens odd sympathy to the energy Huygens' extraction from the sea waves
From Huygens odd sympathy to the energy Huygens' extraction from the sea wavesSSA KPI
 
Dynamics of dice games
Dynamics of dice gamesDynamics of dice games
Dynamics of dice gamesSSA KPI
 
Energy Security Costs
Energy Security CostsEnergy Security Costs
Energy Security CostsSSA KPI
 
Naturally Occurring Radioactivity (NOR) in natural and anthropic environments
Naturally Occurring Radioactivity (NOR) in natural and anthropic environmentsNaturally Occurring Radioactivity (NOR) in natural and anthropic environments
Naturally Occurring Radioactivity (NOR) in natural and anthropic environmentsSSA KPI
 
Advanced energy technology for sustainable development. Part 5
Advanced energy technology for sustainable development. Part 5Advanced energy technology for sustainable development. Part 5
Advanced energy technology for sustainable development. Part 5SSA KPI
 
Advanced energy technology for sustainable development. Part 4
Advanced energy technology for sustainable development. Part 4Advanced energy technology for sustainable development. Part 4
Advanced energy technology for sustainable development. Part 4SSA KPI
 
Advanced energy technology for sustainable development. Part 3
Advanced energy technology for sustainable development. Part 3Advanced energy technology for sustainable development. Part 3
Advanced energy technology for sustainable development. Part 3SSA KPI
 
Advanced energy technology for sustainable development. Part 2
Advanced energy technology for sustainable development. Part 2Advanced energy technology for sustainable development. Part 2
Advanced energy technology for sustainable development. Part 2SSA KPI
 
Advanced energy technology for sustainable development. Part 1
Advanced energy technology for sustainable development. Part 1Advanced energy technology for sustainable development. Part 1
Advanced energy technology for sustainable development. Part 1SSA KPI
 
Fluorescent proteins in current biology
Fluorescent proteins in current biologyFluorescent proteins in current biology
Fluorescent proteins in current biologySSA KPI
 
Neurotransmitter systems of the brain and their functions
Neurotransmitter systems of the brain and their functionsNeurotransmitter systems of the brain and their functions
Neurotransmitter systems of the brain and their functionsSSA KPI
 

More from SSA KPI (20)

Germany presentation
Germany presentationGermany presentation
Germany presentation
 
Grand challenges in energy
Grand challenges in energyGrand challenges in energy
Grand challenges in energy
 
Engineering role in sustainability
Engineering role in sustainabilityEngineering role in sustainability
Engineering role in sustainability
 
Consensus and interaction on a long term strategy for sustainable development
Consensus and interaction on a long term strategy for sustainable developmentConsensus and interaction on a long term strategy for sustainable development
Consensus and interaction on a long term strategy for sustainable development
 
Competences in sustainability in engineering education
Competences in sustainability in engineering educationCompetences in sustainability in engineering education
Competences in sustainability in engineering education
 
Introducatio SD for enginers
Introducatio SD for enginersIntroducatio SD for enginers
Introducatio SD for enginers
 
DAAD-10.11.2011
DAAD-10.11.2011DAAD-10.11.2011
DAAD-10.11.2011
 
Talking with money
Talking with moneyTalking with money
Talking with money
 
'Green' startup investment
'Green' startup investment'Green' startup investment
'Green' startup investment
 
From Huygens odd sympathy to the energy Huygens' extraction from the sea waves
From Huygens odd sympathy to the energy Huygens' extraction from the sea wavesFrom Huygens odd sympathy to the energy Huygens' extraction from the sea waves
From Huygens odd sympathy to the energy Huygens' extraction from the sea waves
 
Dynamics of dice games
Dynamics of dice gamesDynamics of dice games
Dynamics of dice games
 
Energy Security Costs
Energy Security CostsEnergy Security Costs
Energy Security Costs
 
Naturally Occurring Radioactivity (NOR) in natural and anthropic environments
Naturally Occurring Radioactivity (NOR) in natural and anthropic environmentsNaturally Occurring Radioactivity (NOR) in natural and anthropic environments
Naturally Occurring Radioactivity (NOR) in natural and anthropic environments
 
Advanced energy technology for sustainable development. Part 5
Advanced energy technology for sustainable development. Part 5Advanced energy technology for sustainable development. Part 5
Advanced energy technology for sustainable development. Part 5
 
Advanced energy technology for sustainable development. Part 4
Advanced energy technology for sustainable development. Part 4Advanced energy technology for sustainable development. Part 4
Advanced energy technology for sustainable development. Part 4
 
Advanced energy technology for sustainable development. Part 3
Advanced energy technology for sustainable development. Part 3Advanced energy technology for sustainable development. Part 3
Advanced energy technology for sustainable development. Part 3
 
Advanced energy technology for sustainable development. Part 2
Advanced energy technology for sustainable development. Part 2Advanced energy technology for sustainable development. Part 2
Advanced energy technology for sustainable development. Part 2
 
Advanced energy technology for sustainable development. Part 1
Advanced energy technology for sustainable development. Part 1Advanced energy technology for sustainable development. Part 1
Advanced energy technology for sustainable development. Part 1
 
Fluorescent proteins in current biology
Fluorescent proteins in current biologyFluorescent proteins in current biology
Fluorescent proteins in current biology
 
Neurotransmitter systems of the brain and their functions
Neurotransmitter systems of the brain and their functionsNeurotransmitter systems of the brain and their functions
Neurotransmitter systems of the brain and their functions
 

Recently uploaded

Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

Nonlinear Stochastic Programming by the Monte-Carlo method

  • 1. Lecture 4 Nonlinear Stochastic Programming by the Monte-Carlo method Leonidas Sakalauskas Institute of Mathematics and Informatics Vilnius, Lithuania <sakal@ktl.mii.lt> EURO Working Group on Continuous Optimization
  • 2. Content  Stochastic unconstrained optimization  Monte Carlo estimators  Statistical testing of optimality  Gradient-based stochastic algorithm  Rule for Monte-Carlo sample size regulation  Counterexamples  Nonlinear stochastic constrained optimization  Convergence Analysis  Counterexample
  • 3. Stochastic unconstrained optimization Let us consider the stochastic unconstrained optimization problem F ( x) Ef x, min n x R -elementary event in the probability space , , Px , n f :R R, - random function: Px - the measure, defined by probability density function: p : Rn R
  • 4. Monte-Carlo samples We assume here that the Monte-Carlo samples of a certain size N are provided for any x R n Y ( y1, y 2 ,..., y N ), the sampling estimator of the objective function N 1 F ( x) f ( x, y j ) N j 1 and sampling variance can be computed N 2 1 j 2 D ( x) f ( x, y ) F ( x) N 1 j 1
  • 5. Gradient Assume the stochastic gradient is evaluated using the same random sample: N 1 j g ( x) g ( x, y ), N j 1
  • 6. Covariance matrix and the sampling covariance matrix is computed as well N 1 j j T A( x) g x, y g x g x, y g x N n j 1
  • 7. Gradient search procedure 0 n Let some initial point x be given and the random sample of a certain initial size N0 be generated at this point, as well as, the Monte-Carlo estimates be computed. The iterative stochastic procedure of gradient search can be used further: x t 1 x t ~( x t ) g
  • 8. Monte-Carlo sample size problem There is no a great necessity to compute estimators with a high accuracy on starting the optimisation, because then it suffices only to approximately evaluate the direction leading to the optimum. Therefore, one can obtain not so large samples at the beginning of the optimum search and, later on, increase the size of samples so as to get the estimate of the objective function with a desired accuracy just at the time of decision making on finding the solution to the optimisation problem.
  • 9. Monte-Carlo sample size problem The following version for regulating the sample size is proposed: n Fish( , n, N t n) Nt 1 min max ~ t T t 1 ~ t n, N min , N max (G ( x ) ( A( x )) (G ( x )
  • 10. Statistical testing of the optimality hypothesis The optimality hypothesis could be accepted for some point x t with significance 1 if the following condition is satisfied (N t n) (G ( x t ))T ( A( x t )) 1 (G ( x t )) Tt 2 Fish( , n, N t n) n
  • 11. Statistical testing of the optimality hypothesis Next, we can use the asymptotic normality again and decide that the objective function is estimated with a permissible accuracy , if its confidence bound does not exceed this value: ~ t D( x ) / N t
  • 12. Importance sampling Let consider an application of SP to estimation of probabilities of rare events: t2 ( t a )2 (t a )2 t2 1 2 1 2 2 2 P( x ) e dt e e e dt 2 x 2 x a2 t 2 t2 1 at 2 2 1 2 e dt g (a , t ) e dt 2 x a 2 x a a2 at where: g (a , t ) e 2
  • 13. Importance sampling Assume a be the parameter that should be chosen. The second moment is : t2 t2 2 1 2 2 1 2 at a 2 2 D ( x, a) g (a , t ) e dt e dt 2 x a 2 x a a2 t 2 a2 t2 1 at 2 2 e 2 e dt e dt 2 x 2 x a
  • 14. Importance sampling Assume a be the parameter that should be chosen. The second moment is : t2 t2 2 1 2 2 1 2 at a 2 2 D ( x, a) g (a , t ) e dt e dt 2 x a 2 x a a2 t 2 a2 t2 1 at 2 2 e 2 e dt e dt 2 x 2 x a
  • 15. Importance sampling Select the parameter a in order to minimize the variance: 1,20 1,00 0,80 2 2 2 D ( x, a) P ( x) 0,60 P( x ) P 2 ( x ) 0,40 0,20 0,00 0,00 2,00 4,00 6,00 8,00 a
  • 16. Importance sampling ~ Pt t at Sample size (%) P( x ) 2.86650x10 -7 1 5.000 1000 16.377 2.48182x10-7 2 5.092 51219 2.059 2.87169x10-7 3 5.097 217154 1.000 2.87010x10-7
  • 17. Manpower-planning problem The employer must decide upon a base level of regular staff at various skill levels. The recourse actions available are regular staff overtime or outside temporary help in order to meet unknown demand of service at minimum cost (Ermolyev and Wets (1988)).
  • 18. Manpower-planning problem x j : base level of regular staff at skill level j = 1, 2, 3 y j ,t : amount of overtime help z j ,t : amount of temporary help, cj : cost of regular staff at skill level j = 1, 2, 3 qj : cost of overtime, rj : cost of temporary help wt : demand of services at period t, t : absentees rate for regular staff at time t, ratio of amount of skill level j per amount of j 1 : j-1 required,
  • 19. Manpower-planning problem The problem is to choose the number of staff on three levels x ( x1 , x2 , x3 ) in order to minimize the expected costs: 3 12 3 F ( x, z ) cj xj E min ( (q j y j , t rj z j ,t )) j 1 t 1 j 1 s.t. xj 0, y j ,t 0, z j ,t 0, 3 3 (y j ,t z j ,t ) wt t xj , t 1, 2, , 12, j 1 j 1 y j ,t 0.2 t xj, j 1, 2, 3, t 1, 2, , 12, j 1 (x j yj 1, t zj 1, t ) (x j yj 1, t zj 1, t ) 0, j 1, 2, 3, t 1, 2, , 12. the demands are normal: N( t, 2 ) , t l t t
  • 20. X 12 3 Manpower-planning problem Manpower amount and costs in USD with confidence interval 100 USD l x1 x2 x3 F 0 9222 5533 1106 94.899 1 9222 5533 1106 94.899 10 9376 5616 1106 96.832 30 9452 5672 1036 96.614
  • 21. Nonlinear Stochastic Programming  Constrained continuous (nonlinear )stochastic programming problem is in general F0 ( x) Ef 0 x, f 0 ( x, z ) p ( z )dz min Rn F1 ( x) Ef1 x, f1 ( x, z ) p ( z )dz 0, Rn n x .
  • 22. Nonlinear Stochastic Programming Let us define the Lagrange function L( x, ) F0 ( x) F1 ( x) L( x, ) El ( x, , ) l ( x, , ) f 0 ( x, ) f1 ( x, )
  • 23. Nonlinear Stochastic Programming Procedure for stochastic optimization: t 1 t ~ x x x L( x t , t ) t 1 t ~ t ~ max[0, ( F1 ( x ) DF1 ( x t ))] 0 0 0 N , , x - initial values - parameters of 0, 0 optimization
  • 24. Conditions and testing of optimality F0 ( x ) F1 ( x ) 0, F1 ( x ) 0 ~ 1 ~ (N n) ( x L)' A ( x L) / n Fish( , n, N n) ~ t ~ t F1 ( x ) DF1 ( x ) 0 2 i DFi / N i
  • 25. Analysis of Convergence In general the sample size is increased as geometric progression: t N t 1 N t i t Q N i 0 N 1
  • 26. Wrap-Up and conclusions  The approach presented in this lecture is grounded by the termination procedure and the rule for adaptive regulation of size of Monte-Carlo samples, taking into account the statistical modeling accuracy.
  • 27. Wrap-Up and Conclusions  The computer study shows that the approach developed provides us the estimator for a reliable testing of the optimality hypothesis in a wide range of dimensionality of stochastic optimization problem (2<n<100)  Termination procedure proposed allows us to test the optimality hypothesis and to evaluate reliably the confidence intervals of the objective and constraint functions