Re: [sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-10 Thread Jonathan Bober
Did the build work? (Maybe I need to wait 7 more hours for an answer.) I use Ubuntu 11.10, 64 bit, and I have a core i7-2600. I think building Sage using many processes usually takes me about 2 hours + 15 minutes, where the 2 hours is all ATLAS, and the 15 minutes is everything else. I'm building

[sage-support] Re: SAGE CPLEX

2012-02-10 Thread yannche
Hi kcrisman, Thanks for answering. Yes, I did sage -b which worked perfectly. I tried the procedure on two different machines (one on Mac OS 10.6 and the other on Mac OS 10.7), but I got the same error message on both. regards, yann On 10 fév, 03:48, kcrisman kcris...@gmail.com wrote: On Feb

Re: [sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-10 Thread Keshav Kini
FYI, SAGE_PARALLEL_SPKG_BUILD is deprecated since http://trac.sagemath.org/sage_trac/ticket/11959 was merged (4.8.alpha0). Sage currently builds SPKGs in parallel by default. To turn this off you would need to edit $SAGE_ROOT/spkg/parallel_make.cfg . -Keshav Join us in #sagemath on

[sage-support] Re: SAGE CPLEX

2012-02-10 Thread Nathann Cohen
Heloo Yann !!! Hmmm, like Karl said, what your error tells us is that something went wrong when CPLEX was installed. Sage detects that you want to install CPLEX by checking that there is a file named libcplex.a in SAGE_ROOT/local/lib/ and a file cplex.h in SAGE_ROOT/local/include/. It

[sage-support] Re: SAGE CPLEX

2012-02-10 Thread Nathann Cohen
Oh and by the way, I would be very glad to know what you are doing with Sage and with LP ! Just being curious :-) Nathann -- 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

[sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-10 Thread firebird
Hi all Thanks for your support! And yes, the build worked. Tried Dima's suggestions to cut down compute time (a) SAGE_ATLAS_ARCH=CoreI7,SSE3,SSE2,SSE1... unfortunately rejected?? (b) Tried Loading Ubuntu Atlas package. Couldnt find one. (c) Tried Installation manual trick for Ubuntu installs.

Re: [sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-10 Thread Keshav Kini
On Fri, Feb 10, 2012 at 19:46, firebird graham.gerr...@gmail.com wrote: Tried Dima's suggestions to cut down compute time (a) SAGE_ATLAS_ARCH=CoreI7,SSE3,SSE2,SSE1... unfortunately rejected?? I think that needs to be be SAGE_ATLAS_ARCH=Corei7,SSE3,SSE2,SSE1 (note the capitalization of the i).

[sage-support] Polyhedron.radius() bug?

2012-02-10 Thread rickhg12hs
Return the maximal distance from the center to a vertex. Shouldn't this be translation invariant? Doesn't seem like any of these are answers right. sage: sq=polytopes.n_cube(2) sage: sq.vertices() [[1, 1], [-1, 1], [1, -1], [-1, -1]] sage: sq.radius() 2*sqrt(2) sage:

Re: [sage-support] Re: Programming animation

2012-02-10 Thread David Joyner
These would make great examples for the sage wiki! On Fri, Feb 10, 2012 at 2:55 AM, Vegard Lima vegard.l...@gmail.com wrote: On Fri, Feb 10, 2012 at 7:53 AM, Jonathan Bober jwbo...@gmail.com wrote: os.system(mv my_anim/movie.avi movie.avi; rm my_anim/*; rmdir my_anim) ## (I had no

[sage-support] Re: Polyhedron.radius() bug?

2012-02-10 Thread Keshav Kini
That looks obviously broken to me. I'll write a patch. -Keshav Join us in #sagemath on irc.freenode.net ! -- 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

[sage-support] [ANN] new solver for multi-objective optimization problems

2012-02-10 Thread dmitrey
hi, I'm glad to inform you about new Python solver for multiobjective optimization (MOP: Some changes committed to solver interalg (http://openopt.org/ interalg) made it capable of handling global nonlinear constrained multiobjective problem (MOP), see the page http://openopt.org/MOP for more

Re: [sage-support] Polyhedron.radius() bug?

2012-02-10 Thread Anton Sherwood
On 2012-2-10 05:27, rickhg12hs wrote: Return the maximal distance from the center to a vertex. Shouldn't this be translation invariant? Could 'center' here mean 'origin'? It's not obviously unreasonable to assume that a polyhedron is defined so that they coincide. -- Anton

Re: [sage-support] Re: Exporting Sage notebook worksheet to SageTeX?

2012-02-10 Thread Stephen Hartke
Ivan and Karl, Thanks for pointing out Huss and Marik's sws2tex! That's mostly what I want. As discussed on ask.sagemath.org, there are some problems: with solutions: turning off syntax highlighting, turning off the attach file, saving the TeX file no (yet!) solutions: aligns of equations are

Re: [sage-support] Polyhedron.radius() bug?

2012-02-10 Thread Keshav Kini
Seems unlikely to me. The output does not match this theory either. -keshav achtung: sent from phone, possibly unduly terse On Feb 11, 2012 1:06 AM, Anton Sherwood bro...@pobox.com wrote: On 2012-2-10 05:27, rickhg12hs wrote: Return the maximal distance from the center to a vertex.

[sage-support] Re: Exporting Sage notebook worksheet to SageTeX?

2012-02-10 Thread kcrisman
On Feb 10, 1:33 pm, Stephen Hartke har...@gmail.com wrote: Ivan and Karl, Thanks for pointing out Huss and Marik's sws2tex!  That's mostly what I want. Great! with solutions: turning off syntax highlighting, turning off the attach file, saving the TeX file This is pretty easy to just

[sage-support] Re: SAGE CPLEX

2012-02-10 Thread yannche
Salut Nathann ! Thanks for your answer. I touched the files as you asked, and here is the result below. The sage -b command went much faster than when I first installed CPLEX. By the way, I'm using MILP to solve machine learning problems with some combinatorial aspects. For example, given a

[sage-support] Re: SAGE CPLEX

2012-02-10 Thread Jason Grout
On 2/10/12 1:08 PM, yannche wrote: Salut Nathann ! Thanks for your answer. I touched the files as you asked, and here is the result below. The sage -b command went much faster than when I first installed CPLEX. New versions of CPLEX need one more symbolic link. See

Re: [sage-support] Re: SAGE CPLEX

2012-02-10 Thread Nathann Cohen
Helloo !! New versions of CPLEX need one more symbolic link.  See http://trac.sagemath.org/sage_trac/ticket/11958 for the ticket from a couple of months ago. Arggg !! I had totally forgotten this ticket ! I just updated the patch :-) Yann, could you add this link Jason mentionned, then

[sage-support] Re: SAGE CPLEX

2012-02-10 Thread yannche
Hello, Unfortunately, I had already made the symbolic link to cpxconst.h before requesting for help on this forum (I did found this ticket you mentioned by googling) So the bug comes from elsewhere... I'm a bit desperate :-( Yann On 10 fév, 20:57, Nathann Cohen nathann.co...@gmail.com

[sage-support] changes in parameter_plot

2012-02-10 Thread LFS
Hiya - is there something new in parameter_plot? I was using parameter_plot for both 2d and 3d plots and now something is not working. Thanks, Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: changes in parameter_plot

2012-02-10 Thread Jason Grout
On 2/10/12 4:20 PM, LFS wrote: Hiya - is there something new in parameter_plot? I was using parameter_plot for both 2d and 3d plots and now something is not working. Can you give an example of what worked before, but is not working now? Thanks, Jason -- To post to this group, send email

[sage-support] Re: changes in parameter_plot

2012-02-10 Thread LFS
No - because I now see it was my error. Very sorry. Should never write in at night :) Argh, Linda -- 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

[sage-support] Re: SAGE CPLEX

2012-02-10 Thread Nathann Cohen
Unfortunately, I had already made the symbolic link to cpxconst.h before requesting for help on this forum (I did found this ticket you mentioned by googling) So the bug comes from elsewhere... I'm a bit desperate :-( Hello !!! To be honest I have no idea what is going on. It

[sage-support] Re: SAGE CPLEX

2012-02-10 Thread yannche
Hi Nathan, Yes, I checked local/include and local/lib. CPLEX runs fine also as a 64 bit standalone. I recompiled everything with ./sage -ba, and now MixedIntegerLinearProgram(solver=CPLEX) triggers a new error message I put the log below: - Traceback (most recent call last): File