You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixessagemath#38713.
We ensure that all algorithms return edges with label when
`algorithm="LP"`.
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation and checked the documentation
preview.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
URL: sagemath#38725
Reported by: David Coudert
Reviewer(s): Kwankyu Lee
Steps To Reproduce
Expected Behavior
.edge_cut(algorithm='LP')
should return edges with labels, consistently with other algorithms.Actual Behavior
Edges are reported as tuples of vertices without labels.
Additional Information
It breaks other methods that depend on
.edge_cut
such as.gomory_hu_tree(algorithm="LP")
, which fails with an error:as reported at https://ask.sagemath.org/question/79320/
Environment
Checklist
The text was updated successfully, but these errors were encountered: