Hello everybody !!!! For Linear Programming, I need to create plenty of symbolic variables which I use to represent linear functions.... To do it, I use the class InfinitePolynomialRing which lets me create them easily ( and it is really needed, as my colleagues often have to create Linear Programs using 1000~2000 variables. This is not a problem for the solvers, but Sage does not like it : To understand my problem, just try this code :
X.<x> = InfinitePolynomialRing(RR) sum([x[i] for i in range(200)]) Don't you think it is a bit long just to generate a sum ? I have to admit I do not know how this class is coded, and the slowness may be required for applications different from mine.. But wouldn't there be a way to speed this up ? If not, do you know of any way to generate many symbolic variables ( they do not need to be polynomial, just linear in my case ) ? Thank youuuuuuuuuuuuu !!! Nathann -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org