[sage-support] Re: How to check Mixed Integer Linear Program has no solution

2014-12-15 Thread john_perry_usm
Hello Is there anyway to check is a linear program which has been implemented by > MixedIntegerLinearprogram > has a solution or not. > Try creating & solving your program. If it has no solution, Sage will throw an exception. The exception will contain a message with some information, though

[sage-support] Re: Reducing a vector mod a lattice

2014-12-15 Thread John Cremona
On Sunday, December 14, 2014 6:38:47 PM UTC, Moritz Schmitt wrote: > > Dear Sage people, > > I am given a basis of a lattice of rank 3 and a vector in QQ^3, and I > would like to reduce this vector mod the lattice. Is there a function for > doing this? > > Thanks in advance. > > Moritz > Loo

Re: [sage-support] Problem in installing Sage 6.4.1

2014-12-15 Thread Vincent Delecroix
If you read the log, you would see > sys:1: RuntimeWarning: not adding directory '' to sys.path > since it's writable by an untrusted group. > Untrusted users could put files in this directory which might > then be imported by your Python code. As a general precaution > from similar exploits, you

[sage-support] How to check Mixed Integer Linear Program has no solution

2014-12-15 Thread pegah Ali
Hello Everybody, Is there anyway to check is a linear program which has been implemented by MixedIntegerLinearprogram has a solution or not. and also can I verify why it doesn't have any solution, it might be because of any reasons : "the model is infeasible", "the model is unbounded" and so on

Re: [sage-support] Problem in installing Sage 6.4.1

2014-12-15 Thread Soomin Jeon
Uhm, actually I faced another problems. (I posted a note about the same problem on the sage-devel corner because they say they want to know all problems) Error installing package pynac-0.3.2 *

[sage-support] Re: Sage 5.3 and is_subgroup()

2014-12-15 Thread kcrisman
> > G=TransitiveGroups(6); > Unfortunately this requires the `database_gap` which is probably far too new now for an older Sage like that. I had to try http://sagemath.org/packages/archive/database_gap-4.4.12.p1.spkg (are we still archiving older versions of pkgs for this purpose?). 5.2: s

Re: [sage-support] load or attach problem

2014-12-15 Thread kcrisman
> > In answer to your questions, "?attach" will explain what the problem is. > Cryptic! But I think in the past that syntax did indeed work. It would be helpful for someone who really understands (which I don't) to explain the difference between %load filename load filename load(filename)

Re: [sage-support] Problem in installing Sage 6.4.1

2014-12-15 Thread Jori Mantysalo
On Mon, 15 Dec 2014, Jori Mantysalo wrote: file locks                      (-x) unlimited What does it mean? It means that this is a problem. I just wanted to make this sure. AARGHS! Correcting this for those who might find this from google later. I meant "It means that this is NOT a prob

Re: [sage-support] Problem in installing Sage 6.4.1

2014-12-15 Thread Soomin Jeon
I moved the sage-6.4.1 directory to the local drive and typed 'make'. And. it seems working fine! I didn't catch what was wrong, however, I make it because of you! Thank you so much. 2014년 12월 15일 월요일 오후 11시 2분 1초 UTC+9, jori.ma...@uta.fi 님의 말: > > On Mon, 15 Dec 2014, Soomin Jeon wrote:

Re: [sage-support] Problem in installing Sage 6.4.1

2014-12-15 Thread Jori Mantysalo
On Mon, 15 Dec 2014, Soomin Jeon wrote: ulimit -a says file locks                      (-x) unlimited What does it mean? It means that this is a problem. I just wanted to make this sure. Are you compiling Sage on NFS-mounted (or Samba etc.) directory? If so, please test with local drive.

Re: [sage-support] Problem in installing Sage 6.4.1

2014-12-15 Thread Soomin Jeon
ulimit -a says file locks (-x) unlimited What does it mean? Do I need to do something on this? 2014년 12월 15일 월요일 오후 10시 31분 42초 UTC+9, jori.ma...@uta.fi 님의 말: > > On Mon, 15 Dec 2014, Soomin Jeon wrote: > > > Hello, I have some problems in installing Sage 6.4.1. > > > err

Re: [sage-support] Problem in installing Sage 6.4.1

2014-12-15 Thread Jori Mantysalo
On Mon, 15 Dec 2014, Soomin Jeon wrote: Hello, I have some problems in installing Sage 6.4.1. error: [Errno 37] No locks available ?? What ulimit -a says? I have file locks (-x) unlimited on both Fedora 21 and Ubuntu 14.04. -- Jori Mäntysalo

[sage-support] Problem in installing Sage 6.4.1

2014-12-15 Thread Soomin Jeon
Hello, I have some problems in installing Sage 6.4.1. I downloaded sage-6.4.1.tar.gz from and I just extrated the tarball by 'tar xvzf sage-6.4.1.tar.gz'. And as 'README.txt' said, cd into the Sage diretory and type 'make'. However, it doesn't work s

[sage-support] Sage 5.3 and is_subgroup()

2014-12-15 Thread Jori Mantysalo
Unusual question... Some time ago, when I had not used Sage that much, I run the command G=TransitiveGroups(6); print join([str(i)+": "+join([str(j) for j in range(i-1,0,-1) if G[j].is_subgroup(G[i])]) for i in range(len(G),0,-1)], "\n") Is this correct way to get subgroup structure of transiti