Skip to content

Commit 5ada730

Browse files
committed
v0.1.5 update
1 parent f728cae commit 5ada730

File tree

6 files changed

+300
-215
lines changed

6 files changed

+300
-215
lines changed

Project.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@ name = "PowerModelsADA"
22
uuid = "bf5a6c5f-0285-47d6-bb57-79927775d05d"
33
authors = ["Mohannad Alkhraijah"]
44
repo = "https://github.com/mkhraijah/PowerModelsADA.jl"
5-
version = "0.1.4"
5+
version = "0.1.5"
66

77
[deps]
88
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
99
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
10+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
11+
HiGHS = "87dc4568-4c63-4d18-b0c0-bb2238e4078b"
1012
InfrastructureModels = "2030c09a-7f63-5d83-885d-db604e0e9cc0"
13+
Ipopt = "b6b21f68-93f8-5de0-b562-5493be1d77c9"
1114
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
1215
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
16+
MathOptInterface = "b8f27783-ece8-5eb3-8dc8-9495eed66fee"
1317
PowerModels = "c36e90e8-916a-50a6-bd94-075b64ef4655"
18+
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
1419
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
1520
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1621
Suppressor = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
@@ -21,7 +26,7 @@ HiGHS = "~0.3, ~1"
2126
InfrastructureModels = "~0.7"
2227
Ipopt = "~0.8, ~0.9, ~1"
2328
JuMP = "~0.22, ~0.23, ~1"
24-
PowerModels = "~0.18.4, ~0.19"
29+
PowerModels = "~0.18.4, ~0.19, ~0.20, ~0.21"
2530
Suppressor = "~0.2"
2631
julia = "1.6, 1.8, 1.9"
2732

src/PowerModelsADA.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module PowerModelsADA
22

33
import JuMP
4+
import MathOptInterface as MOI
45
import PowerModels
56
import InfrastructureModels
67
import Serialization
@@ -10,11 +11,10 @@ import SparseArrays
1011
import Suppressor: @capture_out
1112
import Distributed
1213

13-
import PowerModels: AbstractPowerModel, parse_file, ids, ref, var, con, sol, nw_ids, nws, optimize_model!, update_data!, ref_add_core!, pm_it_sym, pm_it_name, nw_id_default, ismultinetwork, ismulticonductor, silence
14+
import PowerModels: AbstractPowerModel, parse_file, ids, ref, var, con, sol, nw_ids, nws, optimize_model!, update_data!, ref_add_core!, pm_it_sym, pm_it_name, nw_id_default, ismultinetwork, silence
1415

1516
const _PM = PowerModels
1617
const _IM = InfrastructureModels
17-
# const _pmada_global_keys = Set(["time_series", "per_unit", "parameter", "option", "solution", "local_solution", "shared_variable", "received_variable", "received_delta", "dual_variable", "received_dual_variable", "shared_sensitivities", "shared_dual_variable", "dual_residual", "mismatch", "dual_residual", "counter"])
1818

1919
const _pmada_global_keys = Set(["time_series", "per_unit", "parameter", "option", "solution", "mismatch", "counter", "previous_solution", "shared_flag_convergence", "received_flag_convergence", "shared_convergence_iteration", "received_convergence_iteration"])
2020

@@ -35,6 +35,4 @@ include("algorithms/aladin_coordinated_methods.jl")
3535
include("algorithms/adaptive_admm_methods.jl")
3636
include("algorithms/adaptive_admm_coordinated_methods.jl")
3737

38-
39-
4038
end

0 commit comments

Comments
 (0)