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
Wrong results in Graph.treewidth() #19358
Labels
Milestone
Comments
Branch: u/ncohen/19358 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
comment:3
Simple patch that does the job. For me the patch is good to go. Let's hope we will have other methods to compute treewidth soon ;) |
Reviewer: David Coudert |
comment:4
Thaaaaaaaaaaanks ! |
Changed branch from u/ncohen/19358 to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As reported in [#19249 comment:6] the function
Graph.treewidth
makes an incorrect assumption by extending the current 'cut' with vertices adjacent to it only.It is fixed by this branch.
CC: @sagetrac-llarisch @dcoudert
Component: graph theory
Author: Nathann Cohen
Branch/Commit:
7667bf2
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/19358
The text was updated successfully, but these errors were encountered: