@@ -24,7 +24,7 @@ fulfilled.
2424* `verbose::Int64`:
2525 Default is `0`
2626 If non null, display progression in terminal every
27- `n` iterations, where `n` is number specified by display.
27+ `n` iterations, where `n` is the number specified by display.
2828
2929# Returns
3030* `V::Array{PolyhedralFunction}`:
@@ -82,7 +82,7 @@ function run_SDDP!(model::SPModel,
8282 # Time execution of current pass:
8383 tic ()
8484
85- # Build a set of scenarios according to the probability
85+ # Draw a set of scenarios according to the probability
8686 # law specified in model.noises:
8787 noise_scenarios = simulate_scenarios (model. noises, param. forwardPassNumber)
8888
@@ -102,7 +102,7 @@ function run_SDDP!(model::SPModel,
102102 stockTrajectories,
103103 model. noises)
104104
105- # Update the number of call
105+ # Update the number of solver call
106106 stats. ncallsolver += callsolver_forward + callsolver_backward
107107 iteration_count += 1
108108 stats. niterations += 1
@@ -143,8 +143,9 @@ function run_SDDP!(model::SPModel,
143143 end
144144
145145 end
146-
147- # Estimate upper bound with a great number of simulations:
146+
147+ # #########
148+ # Estimate final upper bound with a great number of simulations:
148149 if (verbose> 0 ) && (param. compute_upper_bound != 0 )
149150 V0 = get_bellman_value (model, param, 1 , V[1 ], model. initialState)
150151
0 commit comments