Skip to content
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

restore ff code #13

Merged
merged 5 commits into from
Oct 25, 2023
Merged

restore ff code #13

merged 5 commits into from
Oct 25, 2023

Conversation

jd-lara
Copy link
Member

@jd-lara jd-lara commented Oct 9, 2023

This moves the code into SSS.

@jd-lara jd-lara requested a review from rodrigomha October 9, 2023 19:38
@rodrigomha
Copy link
Collaborator

@sourabhdalvi We work on this PR to get the QAQC done for restoring this EnergyLimitFF

source::Type{T},
affected_values::Vector{DataType},
number_of_periods::Int,
meta = CONTAINER_KEY_EMPTY_META,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
meta = CONTAINER_KEY_EMPTY_META,
meta=CONTAINER_KEY_EMPTY_META,

for (ix, v) in enumerate(affected_values)
if v <: VariableType
values_vector[ix] =
PSI.get_optimization_container_key(v(), component_type, meta)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
PSI.get_optimization_container_key(v(), component_type, meta)
PSI.get_optimization_container_key(v(), component_type, meta)

T,
set_name,
1:no_trenches;
meta = "$(var_type)integral",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
meta = "$(var_type)integral",
meta="$(var_type)integral",

@rodrigomha rodrigomha marked this pull request as ready for review October 12, 2023 22:17
@jd-lara
Copy link
Member Author

jd-lara commented Oct 25, 2023

Expected to fail until release of PSI 0.24

@jd-lara jd-lara merged commit 70e04eb into main Oct 25, 2023
1 of 5 checks passed
@jd-lara jd-lara deleted the restore_energy_limit_ff branch January 11, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants