Re: [sage-support] sage_mode sending stuff to sage not working

2014-07-10 Thread Ivan Andrus
On Jun 28, 2014, at 9:49 AM, Nikos Apostolakis wrote: > Hello, > > I'm using sage_mode on emacs on mac mavericks and I can't send code to sage > to be evaluated from a buffer in sage mode. If I do C-c C-e for example > emacs complains: "Text is read only". > > I've installed sage from the p

[sage-support] Re: Newbie qepcad.py syntax problem

2014-07-10 Thread kcrisman
Dear Mr. Witty, > > I'm not sure how active he is currently in Sage, but welcome to sage-support! qepcad(qepcad_formula.or_(qepcad_formula.and_(x-5 > 0, 3(x-1) <= x-5), qepcad_formula.and_(x-5 < 0, 3(x-1) >= x-5)), vars='(x)') I don't know much about how to use QEPCAD, but in this case your

[sage-support] Re: Newbie qepcad.py syntax problem

2014-07-10 Thread Nils Bruin
On Thursday, July 10, 2014 8:44:25 AM UTC-7, Robert Pollak wrote: > > Dear Mr. Witty, > > I am currently researching how to replace Mathematica in our first-year > students' lectures. > One of the main emerging topics is how to solve (systems of) rational > inequalities. In this context I have ju

[sage-support] Newbie qepcad.py syntax problem

2014-07-10 Thread Robert Pollak
Dear Mr. Witty, I am currently researching how to replace Mathematica in our first-year students' lectures. One of the main emerging topics is how to solve (systems of) rational inequalities. In this context I have just found out about Sage's support of quantifier elimination via QEPCAD and you

Re: [sage-support] Re: Sage error

2014-07-10 Thread kcrisman
Hi Mohammed, You first must follow the (nontrivial) directions for installing CPLEX within Sage at http://www.sagemath.org/doc/thematic_tutorials/linear_programming.html#using-cplex-or-gurobi-through-sage Apparently the license piece is definitely necessary, and there are other steps - includi

Re: [sage-support] Re: Can't import sage into Python

2014-07-10 Thread kcrisman
On Wednesday, July 9, 2014 3:41:24 PM UTC-4, Jole Bradbury wrote: > > Then how do people set up sage servers? Should I use the notebook? > >> >> > Typical Sage servers are just public instances of the notebook - see for instance http://wiki.sagemath.org/SageServer though it'

[sage-support] Re: Plotting Piece-wise Functions?

2014-07-10 Thread Chris Maness
I got it. I see that I am not supposed to but limits in the plot function. The limits of the piecewise function provide that information. This works: f1=x*e^x; f2=x*e^(-x); f=Piecewise([[(-5,0),f1],[(0,5),f2]]); f.plot() Chris On Thu, Jul 10, 2014 at 8:42 AM, Chris Maness wrote: > I am not c

[sage-support] Plotting Piece-wise Functions?

2014-07-10 Thread Chris Maness
I am not certain why this does not work: f1=x*e^(-x); f2=x*e^x; f=Piecewise([[(0,5),f1],[(0,-5),f2]]); plot(f,x,-5,5) Any suggestions? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiv

Re: [sage-support] Re: Sage error

2014-07-10 Thread Vincent Delecroix
I got the same problem (on sage-6.1) {{{ sage: from sage.numerical.backends.generic_backend import get_solver sage: get_solver(solver="Cplex") Traceback (most recent call last): ... ImportError: No module named cplex_backend }}} Vincent 2014-07-10 9:50 UTC+02:00, Mohammed hussein : > Thank you for

[sage-support] Re: Sage error

2014-07-10 Thread Mohammed hussein
Thank you for your reply Vdelecroix This is the complete traceback sage: load("test_optimal_version1.sage") --- ImportError Traceback (most recent call last) in () > 1 load("test_optimal_ve