ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 11 Jun 2013 14:41:06 +0200Error when using elementary_divisors()https://ask.sagemath.org/question/10221/error-when-using-elementary_divisors/Can someone please tell me what this error means?
***-macbook:sage faculty1$ ./sage ../H-nqk.sage> ../test5.out
Traceback (most recent call last):
File "../H-nqk.py", line 38, in <module>
print A.elementary_divisors()
File "matrix_integer_dense.pyx", line 2065, in sage.matrix.matrix_integer_dense.Matrix_integer_dense.elementary_divisors (sage/matrix/matrix_integer_dense.c:17905)
File "gen.pyx", line 8525, in sage.libs.pari.gen.gen.matsnf (sage/libs/pari/gen.c:43676)
RuntimeError: Illegal instruction
When I execute the program using the online notebook everything runs fine, so it must be a computer issue. This error occurred when trying to compute the elementary divisors of a 125X125 matrix. Strange thing is, when running the program using a smaller matrix there was no error.
Would really appreciate any help.invariantfactorTue, 11 Jun 2013 14:41:06 +0200https://ask.sagemath.org/question/10221/Un bounded Answer MILPhttps://ask.sagemath.org/question/10217/un-bounded-answer-milp/Hello
I have an MILP problem ....
I set the max of the all variables but some times the sage give me un bounded answer .....
Do you have any suggestion ...
I even considered a constraint which is ( the objective function < T ) and defined T as a Integer variable and minimized the T ....
but still it happened some times ......
Best
Aissan Aissan_DalvandiTue, 11 Jun 2013 10:08:39 +0200https://ask.sagemath.org/question/10217/