Rockafellar, R.T. & Wets, R. (1983). Deterministic and stochastic optimization problems of bolza type in discrete time. Stochastics 10 (3-4), 273-312. 10.1080/17442508308833276.