Skip to content

Commit d3c067b

Browse files
User callback and renaming sc_opf (#24)
1 parent 563c722 commit d3c067b

File tree

11 files changed

+62269
-29
lines changed

11 files changed

+62269
-29
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
labels: cuda
1818
strategy:
1919
matrix:
20-
julia-version: ['1']
20+
julia-version: ['1.11']
2121
steps:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
labels: cuda
1414
strategy:
1515
matrix:
16-
julia-version: ['1']
16+
julia-version: ['1.11']
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: julia-actions/install-juliaup@v2

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@ result = madnlp(model; tol=1e-6)
3030
#the other input data to generate a structure of named tuples which can then interface with
3131
#ExaModels to generate the full model. We do not make any relaxations or decompositions for this problem
3232

33-
model, sc_data, vars, lengths = scopf_model(
33+
model, sc_data, vars, lengths = goc3_model(
3434
"data/C3E4N00073D1_scenario_303.json", "data/C3E4N00073D1_scenario_303_solution.json";
3535
backend = CUDABackend()
3636
)
3737
result = madnlp(model; tol=1e-4)
3838

3939
#Solution from GPU can be used to warm start a CPU solution or vice versa
40-
model_cpu, sc_data, vars, lengths = scopf_model(
40+
model_cpu, sc_data, vars, lengths = goc3_model(
4141
"data/C3E4N00073D1_scenario_303.json", "data/C3E4N00073D1_scenario_303_solution.json";
4242
result_set = [result, vars]
4343
)
4444
result_cpu = ipopt(model_cpu; tol=1e-8)
4545

4646
#Additionally, the SC problem can be evaluated without contingencies
47-
model, sc_data, vars, lengths = scopf_model(
47+
model, sc_data, vars, lengths = goc3_model(
4848
"data/C3E4N00073D1_scenario_303.json", "data/C3E4N00073D1_scenario_303_solution.json";
4949
backend = CUDABackend(), include_ctg = false
5050
)

data/C3E4N00073D1_scenario_303.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)