Skip to content

Commit

Permalink
Misc maintenance fixes and updates (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Jul 23, 2024
1 parent 2d7a193 commit 430b56a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
arch: x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout gh-pages branch
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Delete preview and history + push changes
Expand All @@ -23,4 +23,4 @@ jobs:
git push --force origin gh-pages-new:gh-pages
fi
env:
PRNUM: ${{ github.event.number }}
PRNUM: ${{ github.event.number }}
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
env:
GKSwstype: nul
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- uses: actions/checkout@v1
- name: Format check
shell: julia --color=yes {0}
run: |
Expand Down
16 changes: 8 additions & 8 deletions docs/src/guides/debug_a_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ julia> SDDP.write_subproblem_to_file(model[1], "subproblem.lp")
julia> read("subproblem.lp") |> String |> print
minimize
obj: 1.1 x_out + 1 x2
obj: 1.1 x_out + 1 x4
subject to
balance: -1 y + 1 x_in - 1 x_out = 0
balance: 1 x_in - 1 x_out - 1 y = 0
Bounds
y = 1.1
x2 >= 0
x_in free
x_out free
y = 1.1
x4 >= 0
End
```

Expand All @@ -80,14 +80,14 @@ julia> SDDP.write_subproblem_to_file(model[1], "subproblem.lp")
julia> read("subproblem.lp") |> String |> print
minimize
obj: 3.3 x_out + 1 x2
obj: 3.3 x_out + 1 x4
subject to
balance: -1 y + 1 x_in - 1 x_out = 0
balance: 1 x_in - 1 x_out - 1 y = 0
Bounds
y = 3.3
x2 >= 0
x_in free
x_out free
y = 3.3
x4 >= 0
End
julia> rm("subproblem.lp") # Clean up.
Expand Down

0 comments on commit 430b56a

Please sign in to comment.