|
40 | 40 | @testset "dc warm starts" begin
|
41 | 41 | @testset "5 bus case" begin
|
42 | 42 | data = PowerModels.parse_file("../test/data/matpower/case5.m")
|
43 |
| - result = run_dc_opf(data, nlp_solver; setting = Dict("output" => Dict("branch_flows" => true))); |
| 43 | + result = run_dc_opf(data, nlp_solver) |
44 | 44 |
|
45 | 45 | PowerModels.update_data!(data, result["solution"])
|
46 | 46 |
|
|
55 | 55 |
|
56 | 56 | @testset "5 bus pwl case" begin
|
57 | 57 | data = PowerModels.parse_file("../test/data/matpower/case5_pwlc.m")
|
58 |
| - result = run_dc_opf(data, nlp_solver; setting = Dict("output" => Dict("branch_flows" => true))); |
| 58 | + result = run_dc_opf(data, nlp_solver) |
59 | 59 |
|
60 | 60 | PowerModels.update_data!(data, result["solution"])
|
61 | 61 |
|
|
73 | 73 | @testset "ac warm starts" begin
|
74 | 74 | @testset "5 bus case" begin
|
75 | 75 | data = PowerModels.parse_file("../test/data/matpower/case5.m")
|
76 |
| - result = run_ac_opf(data, nlp_solver; setting = Dict("output" => Dict("branch_flows" => true))); |
| 76 | + result = run_ac_opf(data, nlp_solver) |
77 | 77 |
|
78 | 78 | PowerModels.update_data!(data, result["solution"])
|
79 | 79 |
|
|
88 | 88 |
|
89 | 89 | @testset "5 bus pwl case" begin
|
90 | 90 | data = PowerModels.parse_file("../test/data/matpower/case5_pwlc.m")
|
91 |
| - result = run_ac_opf(data, nlp_solver; setting = Dict("output" => Dict("branch_flows" => true))); |
| 91 | + result = run_ac_opf(data, nlp_solver) |
92 | 92 |
|
93 | 93 | PowerModels.update_data!(data, result["solution"])
|
94 | 94 |
|
|
0 commit comments