- Research Article
481
- 10.1016/j.ejor.2010.08.007
Analysis of stochastic dual dynamic programming method
- Jan 13, 2011
- European Journal of Operational Research
- Alexander Shapiro
Analysis of stochastic dual dynamic programming method
This chapter reviews how stochastic dual dynamic programming (SDDP) has been applied to hydropower scheduling in the Nordic countries. The SDDP method, developed in Brazil, makes it possible to optimize multi-reservoir hydro systems with a detailed representation. Two applications are described: (1) A model intended for the system of a single power company, with the power price as an exogenous stochastic variable. In this case the standard SDDP algorithm has been extended; it is combined with ordinary stochastic dynamic programming. (2) A global model for a large system (possibly many countries) where the power price is an internal (endogenous) variable. The main focus is on (1). The modelling of the stochastic variables is discussed. Setting up proper stochastic models for inflow and price is quite a challenge, especially in the case of (2) above. This is an area where further work would be useful. Long computing time may in some cases be a consideration. In particular, the local model has been used by utilities with good results.
Analysis of stochastic dual dynamic programming method
Analysis of stochastic dual dynamic programming method
Nonconvex Medium-Term Hydropower Scheduling by Stochastic Dual Dynamic Integer Programming
Hydropower producers rely on stochastic optimization when scheduling their resources over long periods of time. Due to its computational complexity, the optimization problem is normally cast as a stochastic linear program. In a future power market with more volatile power prices, it becomes increasingly important to capture parts of the hydropower operational characteristics that are not easily linearized, e.g., unit commitment and nonconvex generation curves. Stochastic dual dynamic programming (SDDP) is a state-of-the-art algorithm for long- and medium-term hydropower scheduling with a linear problem formulation. A recently proposed extension of the SDDP method known as stochastic dual dynamic integer programming (SDDiP) has proven convergence also in the nonconvex case. We apply the SDDiP algorithm to the medium-term hydropower scheduling (MTHS) problem and elaborate on how to incorporate stagewise-dependent stochastic variables on the right-hand sides and the objective of the optimization problem. Finally, we demonstrate the capability of the SDDiP algorithm on a case study for a Norwegian hydropower producer. The case study demonstrates that it is possible but time-consuming to solve the MTHS problem to optimality. However, the case study shows that a new type of cut, known as strengthened Benders cut, significantly contributes to close the optimality gap compared to classical Benders cuts.
Read moreRisk neutral and risk averse Stochastic Dual Dynamic Programming method
Risk neutral and risk averse Stochastic Dual Dynamic Programming method
Stochastic Dual Dynamic Programming to schedule energy storage units providing multiple services
When energy storage units, such as batteries, are installed to support photovoltaics and defer power system upgrades they are inactive or only partially used most of time. Their unused capacities could be used to provide frequency control, allowing them to generate additional revenues. However, the challenge is to decide how much of their energy and power capacities to allocate to either service. Photovoltaic generation profiles are difficult to forecast accurately, and frequency deviation is a highly stochastic process. This paper develops a Stochastic Dual Dynamic Programming (SDDP) approach to generate decision rules for determining how much capacity to assign to each service at each time step, depending on the time of day and the storage energy level. Unlike Stochastic Dynamic Programming (SDP), our approach does not require us to discretize the state and decision spaces. We show that, when storage efficiency is high, SDDP outperforms SDP, but when short computation times are required, SDP may be preferred. We also discuss challenges associated with using SDDP when storage efficiency is lower than unity. Finally, we show that the number of tuning parameters is lower for SDDP than for SDP, and that the relation between tuning parameters and policy quality is more intuitive for SDDP than for SDP.
Read moreSingle cut and multicut stochastic dual dynamic programming with cut selection for multistage stochastic linear programs: convergence proof and numerical experiments
We introduce a variant of Multicut Decomposition Algorithms, called CuSMuDA (Cut Selection for Multicut Decomposition Algorithms), for solving multistage stochastic linear programs that incorporates a class of cut selection strategies to choose the most relevant cuts of the approximate recourse functions. This class contains Level 1 (Philpott et al. in J Comput Appl Math 290:196–208, 2015) and Limited Memory Level 1 (Guigues in Eur J Oper Res 258:47–57, 2017) cut selection strategies, initially introduced for respectively Stochastic Dual Dynamic Programming and Dual Dynamic Programming. We prove the almost sure convergence of the method in a finite number of iterations and obtain as a by-product the almost sure convergence in a finite number of iterations of Stochastic Dual Dynamic Programming combined with our class of cut selection strategies. We compare the performance of Multicut Decomposition Algorithms, Stochastic Dual Dynamic Programming, and their variants with cut selection (using Level 1 and Limited Memory Level 1) on several instances of a portfolio problem. On these experiments, in general, Stochastic Dual Dynamic Programming is quicker (i.e., satisfies the stopping criterion quicker) than Multicut Decomposition Algorithms and cut selection allows us to decrease the computational bulk with Limited Memory Level 1 being more efficient (sometimes much more) than Level 1.
Read moreStochastic dual dynamic integer programming
Multistage stochastic integer programming (MSIP) combines the difficulty of uncertainty, dynamics, and non-convexity, and constitutes a class of extremely challenging problems. A common formulation for these problems is a dynamic programming formulation involving nested cost-to-go functions. In the linear setting, the cost-to-go functions are convex polyhedral, and decomposition algorithms, such as nested Benders’ decomposition and its stochastic variant, stochastic dual dynamic programming (SDDP), which proceed by iteratively approximating these functions by cuts or linear inequalities, have been established as effective approaches. However, it is difficult to directly adapt these algorithms to MSIP due to the nonconvexity of integer programming value functions. In this paper we propose an extension to SDDP—called stochastic dual dynamic integer programming (SDDiP)—for solving MSIP problems with binary state variables. The crucial component of the algorithm is a new reformulation of the subproblems in each stage and a new class of cuts, termed Lagrangian cuts, derived from a Lagrangian relaxation of a specific reformulation of the subproblems in each stage, where local copies of state variables are introduced. We show that the Lagrangian cuts satisfy a tightness condition and provide a rigorous proof of the finite convergence of SDDiP with probability one. We show that, under fairly reasonable assumptions, an MSIP problem with general state variables can be approximated by one with binary state variables to desired precision with only a modest increase in problem size. Thus our proposed SDDiP approach is applicable to very general classes of MSIP problems. Extensive computational experiments on three classes of real-world problems, namely electric generation expansion, financial portfolio management, and network revenue management, show that the proposed methodology is very effective in solving large-scale multistage stochastic integer optimization problems.
Read moreDirect Model Predictive Control: A Theoretical and Numerical Analysis
This paper focuses on online control policies applied to power systems management. In this study, the power system problem is formulated as a stochastic decision process with large constrained action space, high stochasticity and dozens of state variables. Direct Model Predictive Control has previously been proposed to encompass a large class of stochastic decision making problems. It is a hybrid model which merges the properties of two different dynamic optimization methods, Model Predictive Control and Stochastic Dual Dynamic Programming. In this paper, we prove that Direct Model Predictive Control reaches an optimal policy for a wider class of decision processes than those solved by Model Predictive Control (suboptimal by nature), Stochastic Dynamic Programming (which needs a moderate size of state space) or Stochastic Dual Dynamic Programming (which requires convexity of Bellman values and a moderate complexity of the random value state). The algorithm is tested on a multiple-battery management problem and two hydroelectric problems. Direct Model Predictive Control clearly outperforms Model Predictive Control on the tested problems.
Read moreA stochastic dual dynamic programming method for two-stage distributionally robust optimization problems
This paper studies a class of two-stage distributionally robust optimization (TDRO) problems which comes from many practical application fields. In order to set up some implementable solution method, we first transfer the TDRO problem to its equivalent robust counterpart (RC) by the duality theorem of optimization. The RC reformulation of TDRO is a semi-infinite stochastic programming. Then we construct a conditional value-at-risk-based sample average approximation model for the RC problem. Furthermore, we analyse the error bound of the approximation model and obtain the convergent results with respect to optimal value and optimal solution set. Finally, a so-called stochastic dual dynamic programming approach is proposed to solve the approximate model. Numerical results validate the solution approach of this paper.
Read moreForeign exchange trading and management with the stochastic dual dynamic programming method
We present a novel tool for generating speculative and hedging foreign exchange (FX) trading policies. Our solution provides a schedule that determines trades in each rebalancing period based on future currency prices, net foreign account positions, and incoming (outgoing) flows from business operations. To obtain such policies, we construct a multistage stochastic programming (MSP) model and solve it using the stochastic dual dynamic programming (SDDP) numerical method, which specializes in solving high-dimensional MSP models. We construct our methodology within an open-source SDDP package, avoiding implementing the method from scratch. To measure the performance of our policies, we model FX prices as a mean-reverting stochastic process with random events that incorporate stochastic trends. We calibrate this price model on seven currency pairs, demonstrating that our trading policies not only outperform the benchmarks for each currency, but may also be close to ex-post optimal solutions. We also show how the tool can be used to generate more or less conservative strategies by adjusting the risk tolerance, and how it can be used in a variety of contexts and time scales, ranging from intraday speculative trading to monthly hedging for business operations. Finally, we examine the impact of increasing trade policy uncertainty (TPU) levels on our findings. Our findings show that the volatility of currencies from emerging economies rises in comparison to currencies from developed markets. We discover that an increase in the TPU level has no effect on the average profit obtained by our method. However, the risk exposure of the policies increases (decreases) for the group of currencies from emerging (developed) markets.
Read moreStochastic Dual Dynamic Programming for Multiechelon Lot Sizing with Component Substitution
This work investigates lot sizing with component substitution under demand uncertainty. The integration of component substitution with lot sizing in an uncertain demand context is important because the consolidation of the demand for components naturally allows risk-pooling and reduces operating costs. The considered problem is relevant not only in a production context, but also in the context of distribution planning. We propose a stochastic programming formulation for the static–dynamic type of uncertainty, in which the setup decisions are frozen but the production and consumption quantities are decided dynamically. To tackle the scalability issues commonly encountered in multistage stochastic optimization, this paper investigates the use of stochastic dual dynamic programming (SDDP). In addition, we consider various improvements of SDDP, including the use of strong cuts, the fast generation of cuts by solving the linear relaxation of the problem, and retaining the average demand scenarios. Finally, we propose two heuristics, namely, a hybrid of progressive hedging with SDDP and a heuristic version of SDDP. Computational experiments conducted on well-known instances from the literature show that the heuristic version of SDDP outperforms other methods. The proposed method can plan with up to 10 decision stages and 20 scenarios per stage, which results in 2010 scenario paths in total. Moreover, as the heuristic version of SDDP can replan to account for new information in less than a second, it is convenient in a dynamic context. Summary of Contribution: We believe our paper is suitable for the mission and scope of IJOC because we design efficient algorithms to solve an operations research problem. More precisely, we investigate the use of stochastic dual dynamic programming (SDDP) for lot sizing with component substitution under demand uncertainty. In this work, we consider the static–dynamic decision framework, and a good approximation of the expected costs in this context requires us to solve the problem with a large number of scenarios of future demand. As solving the considered problem is computationally intensive, we investigate the use of SDDP, which decomposes the problem per decision stage. We study several enhancements of SDDP, such as the use of strong cuts, the incorporation of a lower bound computed with the average demand scenario, the multicut version of SDDP, and scenario sampling with randomized quasi–Monte Carlo. Despite these improvements, the convergence of SDDP remains slow. Consequently, we propose a heuristic version of SDDP and a hybrid of progressive hedging and SDDP. We present the results of an extensive computational study performed on well-known instances from the literature. The results show that the heuristic SDDP outperforms the hybrid of progressive hedging with SDDP and state-of-the-art methods from the literature. Besides, our analysis shows that component substitution can pool the risk, and it allows maintaining the same service level with less inventory. The presented methodology can be used by practitioners to size their production lots, and subsequent researchers can build upon our results to consider uncertainty in other parameters, such as lead times, yields, and production capacities. History: Accepted by Andrea Lodi, Area Editor for Design & Analysis of Algorithms – Discrete. Funding: This work was supported by Mitacs and the Institut de Valorisation des Données (IVADO). Supplemental Material: The online supplement is available at https://doi.org/10.1287/ijoc.2022.1215 .
Read moreOn conditional cuts for stochastic dual dynamic programming
On conditional cuts for stochastic dual dynamic programming
Multi-Reservoir Operation Planning Using Hybrid Genetic Algorithm and Linear Programming (GA-LP): An Alternative Stochastic Approach
Many models have been suggested to deal with the multi-reservoir operation planning stochastic optimization problem involving decisions on water releases from various reservoirs in different time periods of the year. A new approach using genetic algorithm (GA) and linear programming (LP) is proposed here to determine operational decisions for reservoirs of a hydro system throughout a planning period, with the possibility of considering a variety of equally likely hydrologic sequences representing inflows. This approach permits the evaluation of a reduced number of parameters by GA and operational variables by LP. The proposed algorithm is a stochastic approximation to the hydro system operation problem, with advantages such as simple implementation and the possibility of extracting useful parameters for future operational decisions. Implementation of the method is demonstrated through a small hypothetical hydrothermal system used in literature as an example for stochastic dual dynamic programming (SDDP) method of Pereira and Pinto (Pereira, M. V. F. and Pinto, L. M. V. G.: 1985, Water Res. Res. 21(6), 779–792). The proposed GA-LP approach performed equally well as compared to the SDDP method.
Read moreStochastic dual dynamic programming applied to nonconvex hydrothermal models
Stochastic dual dynamic programming applied to nonconvex hydrothermal models
Combining Polyhedral Approaches and Stochastic Dual Dynamic Integer Programming for Solving the Uncapacitated Lot-Sizing Problem Under Uncertainty
We study the uncapacitated lot-sizing problem with uncertain demand and costs. The problem is modeled as a multistage stochastic mixed-integer linear program in which the evolution of the uncertain parameters is represented by a scenario tree. To solve this problem, we propose a new extension of the stochastic dual dynamic integer programming algorithm (SDDiP). This extension aims at being more computationally efficient in the management of the expected cost-to-go functions involved in the model, in particular by reducing their number and by exploiting the current knowledge on the polyhedral structure of the stochastic uncapacitated lot-sizing problem. The algorithm is based on a partial decomposition of the problem into a set of stochastic subproblems, each one involving a subset of nodes forming a subtree of the initial scenario tree. We then introduce a cutting plane–generation procedure that iteratively strengthens the linear relaxation of these subproblems and enables the generation of an additional strengthened Benders’ cut, which improves the convergence of the method. We carry out extensive computational experiments on randomly generated large-size instances. Our numerical results show that the proposed algorithm significantly outperforms the SDDiP algorithm at providing good-quality solutions within the computation time limit. Summary of Contribution: This paper investigates a combinatorial optimization problem called the uncapacitated lot-sizing problem. This problem has been widely studied in the operations research literature as it appears as a core subproblem in many industrial production planning problems. We consider a stochastic extension in which the input parameters are subject to uncertainty and model the resulting stochastic optimization problem as a multistage stochastic integer program. To solve this stochastic problem, we propose a novel extension of the recently published stochastic dual dynamic integer programming (SDDiP) algorithm. The proposed extension relies on two main ideas: the use of a partial decomposition of the scenario tree and the exploitation of existing knowledge on the polyhedral structure of the stochastic uncapacitated lot-sizing problem. We provide the results of extensive computational experiments carried out on large-size randomly generated instances. These results show that the proposed extended algorithm significantly outperforms the SDDiP at providing good-quality solutions for the stochastic uncapacitated lot-sizing problem. Although the paper focuses on a basic lot-sizing problem, the proposed algorithmic framework may be useful to solve more complex practical production planning problems.
Read moreOptimal Medium-Term Hydropower Scheduling Considering Energy and Reserve Capacity Markets
This paper describes a method for optimal scheduling of hydropower systems for a profit maximizing, price-taking, and risk neutral producer selling energy, and capacity to separate and sequentially cleared markets. The method is based on a combination of stochastic dynamic programming (SDP) and stochastic dual dynamic programming (SDDP), and treats inflow to reservoirs and prices for energy and capacity as stochastic variables. The proposed method is applied in a case study for a Norwegian watercourse, quantifying the expected changes in schedules, and water values when going from an energy-only market to a joint treatment of energy and reserve capacity markets.
Read more