Skip to content

Commit 9e3a66b

Browse files
committed
Merge branch 'doc-refactoring' of https://github.com/leclere/StochDynamicProgramming.jl into doc-refactoring
Conflicts: src/SDDPoptimize.jl
2 parents 075c865 + 08252a8 commit 9e3a66b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SDDPoptimize.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ function run_SDDP!(model::SPModel,
145145
end
146146

147147
##########
148-
# Estimate final upper bound with a great number of simulations:
149-
if (verbose>0) && (param.compute_upper_bound != -1)
148+
# Estimate final upper bound with param.monteCarloSize simulations:
149+
if (verbose>0) && (param.compute_upper_bound != 0)
150150
V0 = get_bellman_value(model, param, 1, V[1], model.initialState)
151151

152152
if param.compute_upper_bound == 0

0 commit comments

Comments
 (0)