On Thursday 05 February 2009, Adela wrote: > Thanks to everyone for your support! > > I already tried to do the big computation leaving the computer all > night long to work but I still don't know if it finished.. I still > don't understand Sage very well because I don't see any feedback from > it.. I fed him the ideal, I pushed evaluate button and it seems to > have been working all night long and never ending. In this estate, in > the morning I tried to compute the Groebner base but I obtained the > following error: > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/home/sage/sagenb/sage_notebook/worksheets/MyUser/12/code/ > 1.py", line 6, in <module> > G=I.groebner_basis() > File "/home/sage/sage/local/lib/python2.5/site-packages/ > SQLAlchemy-0.4.6-py2.5.egg/", line 1, in <module> > > AttributeError: 'I_class' object has no attribute 'groebner_basis'
That means I is not defined (i.e. you didn't run I = B.ideal(...)). I is a variable that is predefined by Sage which doesn't know anything about Gröbner bases of course. You should learn about Python, e.g. here: http://diveintopython.org/ to learn what an AttributeError is. > As you said, the computations should not take so long because I work > in the ring Z / 2 so I have as solutions only 1 and 0 (they represent > bits). Well since you have 61 variables not so long means O(2^61) in the worst case. You can't really know a priori. Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://www.informatik.uni-bremen.de/~malb _jab: martinralbre...@jabber.ccc.de --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---