Graph([('A','B'),(1,2)]).edges()
) failed:
TypeError: unsupported operand parent(s) for <: 'Integer Ring' and
''>
I think this is related to sorting the edges.
The following works:
sage: Graph([("A",1),("B",2)]).edges()
[(1, 'A', None), (2, 'B', None)]
--
You received this message because you a
We're looking for the ways to deal in Sage with
finitely generated subrings S= of the ring of
polynomials R[x_1,...,x_n] (R a field)
of multivariate polynomial rings and their Hilbert-Poincare series.
Once you have a presentation for S, i.e. S isomorphic to R[y_1,...,y_k]/I,
with I an ideal in app
Also, as far as I understand, Sage can compute the minimal free resolution
of
the module of syzygies of S, and from the resolution the presentation can
be
assembled.
Yes. It's
here: https://doc.sagemath.org/html/en/reference/resolutions/index.html
So it seems that the only missing bit is
On Tue, 4 Jul 2023, 12:26 Kwankyu Lee, wrote:
> Also, as far as I understand, Sage can compute the minimal free resolution
> of
> the module of syzygies of S, and from the resolution the presentation can
> be
> assembled.
>
>
> Yes. It's here:
> https://doc.sagemath.org/html/en/reference/resoluti
This is a bug in the __repr__ method of EdgesView. Thanks for your report.
On Tue, 4 Jul 2023 at 10:52, Georgi Guninski wrote:
>
> Graph([('A','B'),(1,2)]).edges()
> ) failed:
> TypeError: unsupported operand parent(s) for <: 'Integer Ring' and
> ''>
>
> I think this is related to sorting the edg
https://github.com/sagemath/sage/issues/35897
On Tue, 4 Jul 2023 at 16:25, Vincent Delecroix
<20100.delecr...@gmail.com> wrote:
>
> This is a bug in the __repr__ method of EdgesView. Thanks for your report.
>
> On Tue, 4 Jul 2023 at 10:52, Georgi Guninski wrote:
> >
> > Graph([('A','B'),(1,2)]).e
If I understand correctly, Macaulay2 does this in the SubalgebraBases
package: https://arxiv.org/abs/2302.12473 might provide inspiration?
On Tuesday, July 4, 2023 at 6:39:53 AM UTC-5 Dima Pasechnik wrote:
>
>
> On Tue, 4 Jul 2023, 12:26 Kwankyu Lee, wrote:
>
>> Also, as far as I understand, Sa
There is an active deprecation warning in method edges(). Parameter sort
will be set to False in the future. I'm surprised you don't see it.
sage: Graph([('A','B'),(1,2)]).edges()
:1: DeprecationWarning: parameter 'sort' will
be set to False by default in the future See https://github.com/sagema
To my mind, this is not the problem. The first command does generate a
warning (fine)
sage: E = Graph([('A','B'),(1,2)]).edges()
:1: DeprecationWarning: parameter 'sort'
will be set to False by default in the future
See https://github.com/sagemath/sage/issues/27408 for details.
But the EdgesView.