-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jd/subsystems implementation #1
Conversation
src/problems/multi_region_problem.jl
Outdated
function PSI.serialize_problem(model::PSI.DecisionModel{MultiRegionProblem}; | ||
optimizer::Nothing) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
function PSI.serialize_problem(model::PSI.DecisionModel{MultiRegionProblem}; | |
optimizer::Nothing) | |
end | |
function PSI.serialize_problem( | |
model::PSI.DecisionModel{MultiRegionProblem}; | |
optimizer::Nothing, | |
) end |
src/multi_optimization_container.jl
Outdated
@@ -88,7 +88,7 @@ PSI.get_initial_conditions_data(container::MultiOptimizationContainer) = | |||
container.initial_conditions_data | |||
PSI.get_initial_time(container::MultiOptimizationContainer) = | |||
PSI.get_initial_time(container.settings) | |||
PSI.get_jump_model(container::MultiOptimizationContainer) = container.main_JuMPmodel | |||
PSI.get_jump_model(container::MultiOptimizationContainer) = PSI.get_jump_model(container.main_problem) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
PSI.get_jump_model(container::MultiOptimizationContainer) = PSI.get_jump_model(container.main_problem) | |
PSI.get_jump_model(container::MultiOptimizationContainer) = | |
PSI.get_jump_model(container.main_problem) |
src/problems/multi_region_problem.jl
Outdated
function PSI._check_numerical_bounds(model::PSI.DecisionModel{MultiRegionProblem}) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
function PSI._check_numerical_bounds(model::PSI.DecisionModel{MultiRegionProblem}) | |
end | |
function PSI._check_numerical_bounds(model::PSI.DecisionModel{MultiRegionProblem}) end |
src/problems/multi_region_problem.jl
Outdated
return (first(dim1),) | ||
end | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
src/problems/multi_region_problem.jl
Outdated
common_axes = | ||
Dict{Symbol, Dict{PSI.OptimizationContainerKey, SortedDict{Int, Set}}}(key => Dict{PSI.OptimizationContainerKey, SortedDict{Int, Set}}() for key in CONTAINER_FIELDS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
common_axes = | |
Dict{Symbol, Dict{PSI.OptimizationContainerKey, SortedDict{Int, Set}}}(key => Dict{PSI.OptimizationContainerKey, SortedDict{Int, Set}}() for key in CONTAINER_FIELDS) | |
common_axes = Dict{Symbol, Dict{PSI.OptimizationContainerKey, SortedDict{Int, Set}}}( | |
key => Dict{PSI.OptimizationContainerKey, SortedDict{Int, Set}}() for | |
key in CONTAINER_FIELDS | |
) |
@@ -23,7 +21,24 @@ function build_main_problem!( | |||
sys::PSY.System, | |||
) end | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
Write results from subproblem containers into main container
No description provided.