Hi, I’m puzzled about the following behavior.

Two integer matrices only differ by a linear transformation, but their
BKZ output is different.

transfer=matrix(2,2,[[1,0],[27/20,-1/20]])
print transfer
[    1     0]
[27/20 -1/20]

AA=matrix(ZZ,2,5,[[3,1,-1,-3,0],[81,-73,-127,99,20]])
print AA
[   3    1   -1   -3    0]
[  81  -73 -127   99   20]


BB=matrix(ZZ,2,5,[[3,1,-1,-3,0],[0,5,5,-9,-1]])
print BB
[ 3  1 -1 -3  0]
[ 0  5  5 -9 -1]

print transfer*AA
[ 3  1 -1 -3  0]
[ 0  5  5 -9 -1]

Why are AA.BKZ() and BB.BKZ() different?

print AA.BKZ()
[   3    1   -1   -3    0]
[  81  -73 -127   99   20]

print BB.BKZ()
[ 3  1 -1 -3  0]
[-3  4  6 -6 -1]

Is there a method which converts AA into BB.BKZ()?

Thanks for your reply!

Roland

-- 
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
URL: http://www.sagemath.org

Reply via email to