Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
SDDP.jl is licensed under the Mozilla Public License, Version 2.0.
Copyright (c) 2017-2023: Oscar Dowson and SDDP.jl contributors.

Copyright (c) 2017-2026: Oscar Dowson and SDDP.jl contributors.

Mozilla Public License Version 2.0
==================================
Expand Down
9 changes: 5 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors.
#
# This Source Code Form is subject to the terms of the Mozilla Public License,
# v2.0. If a copy of the MPL was not distributed with this file, You can obtain
# one at http://mozilla.org/MPL/2.0/.

import Documenter
import Literate
Expand Down
8 changes: 2 additions & 6 deletions docs/src/assets/spaghetti_plot.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!--
Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors.
Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors.

This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can
obtain one at http://mozilla.org/MPL/2.0/.
Expand Down Expand Up @@ -31,11 +32,6 @@

</script>
<script>
// Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors.
// This Source Code Form is subject to the terms of the Mozilla Public License,
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://mozilla.org/MPL/2.0/.

// Compute the y domain for `plot_data`. The minimum y value is set to either
// the minimum observed value, or plot_data["ymin"] if given. A similar
// calculation is done for the maximum value ("ymax").
Expand Down
3 changes: 2 additions & 1 deletion docs/src/assets/value_function.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!--
Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors.
Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors.

This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can
obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/FAST_hydro_thermal.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # FAST: the hydro-thermal problem

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/FAST_production_management.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # FAST: the production management problem

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/FAST_quickstart.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # FAST: the quickstart problem

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/Hydro_thermal.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Hydro-thermal scheduling

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/StochDynamicProgramming.jl_multistock.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # StochDynamicProgramming: the multistock problem

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/StochDynamicProgramming.jl_stock.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # StochDynamicProgramming: the stock problem

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/StructDualDynProg.jl_prob5.2_2stages.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # StructDualDynProg: Problem 5.2, 2 stages

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/StructDualDynProg.jl_prob5.2_3stages.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # StructDualDynProg: Problem 5.2, 3 stages

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/agriculture_mccardle_farm.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # The farm planning problem

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/air_conditioning.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Air conditioning

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/air_conditioning_forward.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Training with a different forward model

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/all_blacks.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Deterministic All Blacks

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/asset_management_simple.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Asset management

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/asset_management_stagewise.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Asset management with modifications

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/belief.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Partially observable inventory management

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/biobjective_hydro.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Biobjective hydro-thermal

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/booking_management.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Booking management

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/generation_expansion.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Generation expansion

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/hydro_valley.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Hydro valleys

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/infinite_horizon_hydro_thermal.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Infinite horizon hydro-thermal

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/infinite_horizon_trivial.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Infinite horizon trivial

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/inner_hydro_1d.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Hydro-thermal with inner approximation

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/no_strong_duality.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # No strong duality

Expand Down
9 changes: 5 additions & 4 deletions docs/src/examples/objective_state_newsvendor.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2017-25, Oscar Dowson and SDDP.jl contributors. #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v. 2.0. If a copy of the MPL was not distributed with this #src
# file, You can obtain one at http://mozilla.org/MPL/2.0/. #src
# Copyright (c) 2017-26: Oscar Dowson and SDDP.jl contributors. #src
# #src
# This Source Code Form is subject to the terms of the Mozilla Public #src
# License, v2.0. If a copy of the MPL was not distributed with this file #src
# You can obtain one at http://mozilla.org/MPL/2.0/. #src

# # Newsvendor

Expand Down
Loading
Loading