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.
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
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
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
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
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
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
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
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