[sage-support] gfan, reduced bases, and weight vectors

2014-10-27 Thread john_perry_usm
Hello! Try this sequence of commands: sage: R = PolynomialRing(GF(32003), 'x', 4) > sage: I = sage.rings.ideal.Cyclic(R,4).homogenize() > sage: GF = I.groebner_fan() > sage: GBs = GF.reduced_groebner_bases() > sage: [g.lm() for g in GBs[0]] > [x2^2*x3^6, x2^3*x3^2, x1*x3^4, x2^2*x3^4, x1*x2*

Re: [sage-support] How to handle file in Sage

2014-10-27 Thread Santanu Sarkar
Thanks a lot. But I am getting these errors: A1=load("./Documents/program21.txt") Traceback (most recent call last): File "", line 1, in File "_sage_input_4.py", line 10, in exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(

[sage-support] Secure connection fails using Firefox 33

2014-10-27 Thread mjs
With the recent release of Firefox 33 (now shipped to Fedora, coming soon to an OS near you), I can no longer connect to my Sage 6.3 server. The error I get is: An error occurred during a connection to sage.math.clemson.edu:34567. The key does not support the requested operation. (Error code:

Re: [sage-support] Secure connection fails using Firefox 33

2014-10-27 Thread Daniel Krenn
Am 2014-10-27 um 19:08 schrieb mjs: > With the recent release of Firefox 33 (now shipped to Fedora, coming > soon to an OS near you), I can no longer connect to my Sage 6.3 server. > The error I get is: > > An error occurred during a connection to sage.math.clemson.edu:34567. > The key does not s

Re: [sage-support] How to handle file in Sage

2014-10-27 Thread slelievre
'load' is expecting filenames with extension among .py, .sage, .sobj and maybe a few others. If the file name does not have an extension in that short list, 'load' will add the extension .sobj. Le lundi 27 octobre 2014 15:12:17 UTC+1, Santanu a écrit : > > Thanks a lot. But I am getting

Re: [sage-support] How to handle file in Sage

2014-10-27 Thread William Stein
On Mon, Oct 27, 2014 at 1:24 PM, slelievre wrote: > 'load' is expecting filenames with extension among > > .py, .sage, .sobj > > and maybe a few others. > > If the file name does not have an extension in that short list, > 'load' will add the extension .sobj. > Yes, use Python's builtin open

[sage-support] Re: Arbitrary precision linear programming

2014-10-27 Thread Dima Pasechnik
On 2014-10-24, Mike wrote: > This was a "demonstration problem" - my actual application will involve > arbitrary-precision reals with lots of constraints. > > It appears that PPL not only supports rationals, but insists on them. It > seems to set the base_ring to QQ, as the output from the foll