Skip to content

Commit

Permalink
Merge fix #628
Browse files Browse the repository at this point in the history
  • Loading branch information
lbonaldo authored Feb 14, 2024
2 parents 32db8be + bf67d8b commit fb865cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/multi_stage/dual_dynamic_programming.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ function run_ddp(models_d::Dict, setup::Dict, inputs_d::Dict)

# Step a.i) Initialize cost-to-go function for t = 1:num_stages
for t in 1:num_stages
settings_d["CurStage"] = t;
models_d[t] = initialize_cost_to_go(settings_d, models_d[t], inputs_d[t])
end

Expand Down

0 comments on commit fb865cb

Please sign in to comment.