[sage-support] Edge coloring multigraphs raises exception

2013-12-17 Thread Georgi Guninski
Edge coloring multigraphs raises exception sage: P=graphs.PetersenGraph();ep=P.edges(labels=0);P2=Graph(ep+ep,multiedges=1) sage: graph_coloring.edge_coloring(P2,value_only=1) 7 # not sure this is correct sage: graph_coloring.edge_coloring(P2,value_only=0) RuntimeError: maximum recursion

[sage-support] Compile sage/python script to a LINUX (not windows!) executable - or port to magma/gap.

2013-12-17 Thread Daniel Sheffield
Does anyone know of a tool that can compile a python script (that relies on a few sage packages) into a standalone executable for Linux? I've heard of py2exe (for windows) but there are a couple of reasons why this is not likely to work for me: . I actually want a linux executable - not a

[sage-support] Re: Edge coloring multigraphs raises exception

2013-12-17 Thread Nathann Cohen
Yooo !! Edge coloring multigraphs raises exception Ahahaha. That's possible. sage: P=graphs.PetersenGraph();ep=P.edges(labels=0);P2=Graph(ep+ep,multiedges=1) sage: graph_coloring.edge_coloring(P2,value_only=1) 7 # not sure this is correct It most probably isn't.

[sage-support] Re: Compile sage/python script to a LINUX (not windows!) executable - or port to magma/gap.

2013-12-17 Thread Simon King
Hi Daniel, On 2013-12-16, Daniel Sheffield d.j.yo...@gmail.com wrote: My question is this: despite the latter point, does the fact that I need only a linux executable (rather than a windows exe) help in any way? The reason I need to do this is that need to run a sage/python script on the

Re: [sage-support] Re: Edge coloring multigraphs raises exception

2013-12-17 Thread Georgi Guninski
I don't care much about this. On Tue, Dec 17, 2013 at 11:22:12AM +0100, Nathann Cohen wrote: Yooo !! Edge coloring multigraphs raises exception Ahahaha. That's possible. sage: P=graphs.PetersenGraph();ep=P.edges(labels=0);P2=Graph(ep+ep,multiedges=1)

Re: [sage-support] Compile sage/python script to a LINUX (not windows!) executable - or port to magma/gap.

2013-12-17 Thread Jeroen Demeyer
On 2013-12-16 23:24, Daniel Sheffield wrote: Does anyone know of a tool that can compile a python script (that relies on a few sage packages) into a standalone executable for Linux? I've heard of py2exe (for windows) but there are a couple of reasons why this is not likely to work for me: . I

[sage-support] Re: Edge coloring multigraphs raises exception

2013-12-17 Thread Andrew
Hi Nathann, Why isn't are multigraphs (labelled graphs, graphs with loops etc) implemented as a separate class(es) which inherit from a stripped down version of graphs? This way graphs would not incur any speed penalty because of all of these extra checks that are needed for these more

Re: [sage-support] Re: Edge coloring multigraphs raises exception

2013-12-17 Thread Nathann Cohen
Yooo !! Why isn't are multigraphs (labelled graphs, graphs with loops etc) implemented as a separate class(es) which inherit from a stripped down version of graphs? This way graphs would not incur any speed penalty because of all of these extra checks that are needed for these more

Re: [sage-support] Re: Edge coloring multigraphs raises exception

2013-12-17 Thread Georgi Guninski
if i understand correctly, Nathann is implying that if one works will multigraphs they shouldn't use sage for this task. agree with this and do so. On Tue, Dec 17, 2013 at 12:59:31PM +0100, Nathann Cohen wrote: Yooo !! Why isn't are multigraphs (labelled graphs, graphs with loops

Re: [sage-support] Re: Edge coloring multigraphs raises exception

2013-12-17 Thread Nathann Cohen
if i understand correctly, Nathann is implying that if one works will multigraphs they shouldn't use sage for this task. Indeed. Or that they should attempt to code what they need, because right now I wouldn't feel confortable myself computing stuff on multigraphs. agree with this and do so.

[sage-support] What is the correct way of Plotting Matlab's .mat -data in Sage?

2013-12-17 Thread Sami
What is the right way of importing Matlab's .mat data into SageMath? Or to which format should I transform this data for Sage notebook? Possibly, there is some restrictions in the Notebook, which can be a reason why the data is not plotting. I am considering the problem also here:

[sage-support] Re: What is the correct way of Plotting Matlab's .mat -data in Sage?

2013-12-17 Thread kcrisman
On Tuesday, December 17, 2013 11:30:31 AM UTC-5, Sami wrote: What is the right way of importing Matlab's .mat data into SageMath? Or to which format should I transform this data for Sage notebook? Possibly, there is some restrictions in the Notebook, which can be a reason why the data is

[sage-support] Sage 5.13 : R loses its graphics...

2013-12-17 Thread Emmanuel Charpentier
I compiled sage from sources on a debian amd64 system, on which sage 5.12 had no problems. Sage itself seems fine. But I had problems installng packages requiring tcl/tk. After examonation, it seems that Sage's R has lost its graphics : charpent@asus16-ec:~$ sage -R R version 3.0.2

[sage-support] Re: Sage 5.13 : R loses its graphics...

2013-12-17 Thread Volker Braun
Looks like the usual LD_LIBRARY_PATH nightmare. Whenever you use system shared libraries it is a bit of a gamble... The only correct solution is to not set LD_LIBRARY_PATH. On Tuesday, December 17, 2013 8:41:52 PM UTC, Emmanuel Charpentier wrote: I compiled sage from sources on a debian

[sage-support] [new to SAGE] need starting advice

2013-12-17 Thread erwin16
I'm new to SAGE, just built and installed it today (5.13) on OSX 10.9 I have a capture.csv data file and a python script phone.py phone.py -- import csv import math import random import sage.plot.line import sage.plot.plot3d.shapes2 import sage.rings.polynomial.convolution import

[sage-support] Re: Sage 5.13 : R loses its graphics...

2013-12-17 Thread Emmanuel Charpentier
Three data points, some random musings and a couple questions : 1) charpent@asus16-ec:/usr/local/sage-5.13$ echo $LD_LIBRARY_PATH charpent@asus16-ec:/usr/local/sage-5.13$ ./sage -R R version 3.0.2 (2013-09-25) -- Frisbee Sailing Copyright (C) 2013 The R Foundation for Statistical Computing

[sage-support] Re: Sage 5.13 : R loses its graphics...

2013-12-17 Thread Volker Braun
On Tuesday, December 17, 2013 10:14:19 PM UTC, Emmanuel Charpentier wrote: Again : how do you do that ? Start with http://trac.sagemath.org/ticket/10572 and then use that to systematically set rpaths on libraries. There is no easy way... -- You received this message because you are

[sage-support] plot returns an error when given a callable class

2013-12-17 Thread Alden
I wrote a class with a __call__ method, and I want to plot an instance of it using plot() in the sage notebook. I run the commands: import circle_homeo import cyclic_order h = circle_homeo.PSL2R_action(cyclic_order.CyclicOrder('abAB'))[0] (this doesn't matter; all that should matter is that h

[sage-support] Re: plot returns an error when given a callable class

2013-12-17 Thread P Purkayastha
Does the patch here help: http://trac.sagemath.org/ticket/15030 ? On 12/18/2013 06:48 AM, Alden wrote: I wrote a class with a __call__ method, and I want to plot an instance of it using plot() in the sage notebook. I run the commands: import circle_homeo import cyclic_order h =

Re: [sage-support] [new to SAGE] need starting advice

2013-12-17 Thread Jim Clark
Use the load function, e.g., load(phone.py) In a notebook cell, type load? then press the TAB key for documentation. Jim Clark On Dec 17, 2013, at 2:05 PM, erwin16 kadou...@gmail.com wrote: I'm new to SAGE, just built and installed it today (5.13) on OSX 10.9 I have a capture.csv data

Re: [sage-support] [new to SAGE] need starting advice

2013-12-17 Thread erwin16
I guess that I need previously to upload the phone.py and capture.csv into the notebook thanks a lot Le mercredi 18 décembre 2013 00:51:55 UTC+1, Jim a écrit : Use the load function, e.g., load(phone.py) In a notebook cell, type load? then press the TAB key for documentation. Jim