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

fix bug on 2P Global Optimization with PST modeled as APPROXIMATED_INTEGERS #1068

Merged
merged 5 commits into from
Jun 28, 2024

Conversation

MartinBelthle
Copy link
Collaborator

@MartinBelthle MartinBelthle commented Jun 26, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?
No

What kind of change does this PR introduce?
Bug fix

What is the current behavior?

The problem only occurs with the following conditions:

  • 2nd preventive with global optimization
  • PSTs are modeled as approximated integers
  • The PST is both preventive and curative.
  • It has a relative range.

For our scenario, we are going to consider that the PST has a relative limit of [-10, 0] and is at tap 5 initially.
It so, its curative limits are wrongly bounded to [-5, 5] because it considers that the tap 5 is fixed and it can only move compare to this value.

What is the new behavior ?

In the same scenario, the previous constraint does not exist anymore so the PST curative limits only depend on the preventive tap which evolves through the MIP.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

@MartinBelthle MartinBelthle added bug Something isn't working MIP This changes the MIP that optimizes linear ramedial actions labels Jun 26, 2024
@MartinBelthle MartinBelthle changed the title [WIP]: fixes bug on 2P Global Optimization with PST modeled as approximated_integers [WIP]: fixes bug on 2P Global Optimization with PST modeled as APPROXIMATED_INTEGERS Jun 26, 2024
@MartinBelthle MartinBelthle force-pushed the improve-relative-ranges-handling branch from d378fa5 to 34755b4 Compare June 26, 2024 15:05
@MartinBelthle MartinBelthle changed the title [WIP]: fixes bug on 2P Global Optimization with PST modeled as APPROXIMATED_INTEGERS fix bug on 2P Global Optimization with PST modeled as APPROXIMATED_INTEGERS Jun 26, 2024
@MartinBelthle MartinBelthle self-assigned this Jun 26, 2024
phiedw
phiedw previously approved these changes Jun 27, 2024
@MartinBelthle MartinBelthle force-pushed the improve-relative-ranges-handling branch 2 times, most recently from 4328de8 to 2c30021 Compare June 27, 2024 13:48
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
Signed-off-by: belthlemar <[email protected]>
@MartinBelthle MartinBelthle force-pushed the improve-relative-ranges-handling branch from 2c30021 to a321ab1 Compare June 28, 2024 08:41
@MartinBelthle MartinBelthle requested a review from phiedw June 28, 2024 08:44
@phiedw phiedw merged commit cc4df17 into main Jun 28, 2024
10 checks passed
@phiedw phiedw deleted the improve-relative-ranges-handling branch June 28, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MIP This changes the MIP that optimizes linear ramedial actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants