some core features are broken for bipartite graphs

47 views
Skip to first unread message

Max Alekseyev

unread,
Jan 30, 2022, 10:34:37 AM1/30/22
to sage-devel
Hello,

I'd like to bring your attention to two bugs related to handling bipartite graphs:
The first one is especially severe as it produces an inconsistent object and can easily propagate errors. I have already identified a few errors in my earlier computational results caused by this bug.

And while we are on this page, I was not able to find a complement function for a given bipartite graph G in K_{p,q}, where p and q are sizes of the partite sets of G. The existing .complement() method seems to treat G as a generic graph and thus complements it in K_{p+q} and results in a non-bipartite graph. Do I miss something here?

Regards,
Max

Max Alekseyev

unread,
Jan 31, 2022, 12:22:40 AM1/31/22
to sage-devel
... and here is one more bug, which is truly weird: https://trac.sagemath.org/ticket/33255 (distinct graphs have equals hashes)
Bipartite graphs routines are totally unreliable ;-(

Regards,
Max
Reply all
Reply to author
Forward
0 new messages