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: radiality constraint for multiple switches between blocks #14

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

pseudocubic
Copy link
Collaborator

This fixes the edge case where there are more than one switch between the same two neighboring blocks.

Adds unit tests to ensure that when radiality constraints are enabled that switches can be either all open, or only one can be closed.

EzXML dependency change broke a unit test.

Resolves #13

This fixes the edge case where there are more than one switch between the same two neighboring blocks.

Adds unit tests to ensure that when radiality constraints are enabled that switches can be either all open, or only one can be closed.

EzXML dependency change broke a unit test.

Resolves #13
@pseudocubic pseudocubic added the bug Something isn't working label Nov 17, 2023
@pseudocubic pseudocubic self-assigned this Nov 17, 2023
Changes graphml tests to use EzXML rather than relying on line count, which could change based on factors outside of the data sets.
Copy link

codecov bot commented Nov 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a0bde6f) 80.79% compared to head (2238891) 81.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   80.79%   81.64%   +0.84%     
==========================================
  Files          45       45              
  Lines        5327     5328       +1     
==========================================
+ Hits         4304     4350      +46     
+ Misses       1023      978      -45     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pseudocubic pseudocubic merged commit 9c8387b into main Nov 17, 2023
5 checks passed
@pseudocubic pseudocubic deleted the fix-radiality-constraint branch November 17, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in constraint_radial_topology
1 participant