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 fallback logs #757

Merged
merged 2 commits into from
May 3, 2023
Merged

Fix fallback logs #757

merged 2 commits into from
May 3, 2023

Conversation

MartinBelthle
Copy link
Collaborator

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • 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, feature, docs update, ...)

bug fix

What is the current behavior? (You can also link to an open issue here)

When Rao fallbacks on inital solution, even though the final result in the RaoResult is good, it logs the wrong after Rao cost :

Cost before RAO = 371.88 (functional: 371.88, virtual: 0.00), cost after RAO = 536.82 (functional: 536.82, virtual: 0.00)

What is the new behavior (if this is a feature change)?

Now, after a fallback, the final log is the following :

Cost before RAO = 371.88 (functional: 371.88, virtual: 0.00), cost after RAO = 371.88 (functional: 371.88, virtual: 0.00)

Does this PR introduce a breaking change?

No

@MartinBelthle MartinBelthle requested a review from pet-mit May 3, 2023 09:47
@pet-mit pet-mit merged commit c0a3425 into master May 3, 2023
@pet-mit pet-mit deleted the fix-fallback-logs branch May 3, 2023 11: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