Skip to content

Commit

Permalink
Rewrite intro tutorial to add uncertainty (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Jul 4, 2021
1 parent 77fdde6 commit 1b9244a
Show file tree
Hide file tree
Showing 8 changed files with 337 additions and 487 deletions.
Binary file added docs/src/assets/enso_markovian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/hazard_decision.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
420 changes: 327 additions & 93 deletions docs/src/tutorial/basic/01_first_steps.jl

Large diffs are not rendered by default.

141 changes: 0 additions & 141 deletions docs/src/tutorial/basic/02_adding_uncertainty.jl

This file was deleted.

2 changes: 1 addition & 1 deletion docs/src/tutorial/basic/03_objective_uncertainty.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# # Uncertainty in the objective function

# In the previous tutorial, [Basic II: adding uncertainty](@ref), we created a
# In the previous tutorial, [An introduction to SDDP.jl](@ref), we created a
# stochastic hydro-thermal scheduling model. In this tutorial, we extend the
# problem by adding uncertainty to the fuel costs.

Expand Down
8 changes: 4 additions & 4 deletions docs/src/tutorial/basic/04_markov_uncertainty.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# # Markovian policy graphs

# In our three tutorials ([An introduction to SDDP.jl](@ref), [Basic II: adding
# uncertainty](@ref), and [Uncertainty in the objective function](@ref)), we
# formulated a simple hydrothermal scheduling problem with stagewise-independent
# noise in the right-hand side of the constraints and in the objective function.
# In our previous tutorials ([An introduction to SDDP.jl](@ref) and
# [Uncertainty in the objective function](@ref)), we formulated a simple
# hydrothermal scheduling problem with stagewise-independent random variables in
# the right-hand side of the constraints and in the objective function.
# Now, in this tutorial, we introduce some *stagewise-dependent* uncertainty
# using a Markov chain.

Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorial/basic/06_warnings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ SDDP.train(model, iteration_limit = 5, run_numerical_stability_report = false)
# - The bound converges to a value above (if minimizing) the simulated cost of
# the policy. In this case, the problem is deterministic, so it is easy to
# tell. But you can also check by performing a Monte Carlo simulation like we
# did in [Basic II: adding uncertainty](@ref).
# did in [An introduction to SDDP.jl](@ref).
#
# - The bound converges to different values when we change the bound. This is
# another clear give-away. The bound provided by the user is only used in the
Expand Down
Loading

0 comments on commit 1b9244a

Please sign in to comment.