Unit V - Managing of the sovreign risk and stochastic optimization