[sage-support] save then load: "OError: [Errno 2] No such file or directory"

2010-07-14 Thread 8fjm39j
A beginner's question: how to save and load objects? I tried to follow the examples in the tutorial, but without success. Am I missing something obvious? (using both Sage 4.4.4 OS X 10.6 and Sage 4.3.4 Linux). sage: save(solution, '2-2-solution') 2-2-solution.sobj sage: load('2-2-solutio

[sage-support] Re: sage.numerical.optimize.minimize() returns without returning a value

2010-07-13 Thread 8fjm39j
hould that be 'eq.gradient()' or should it be 'req.gradient()' ? (recall that req = eq.change_ring(RDF)) thanks, Daniel Daniel Friedan On Jul 13, 2:05 pm, Harald Schilly wrote: > On Jul 13, 3:07 pm, 8fjm39j wrote: > > > Any help would be much appreciated. >

[sage-support] Re: sage.numerical.optimize.minimize() returns without returning a value

2010-07-13 Thread 8fjm39j
polynomial over Q in 48 variables S is a quartic polynomial S contains 71138 terms. Daniel Friedan On Jul 13, 1:07 pm, 8fjm39j wrote: > I am trying to minimize numerically (over the reals) a polynomial S > with rational coefficients. > > The function sage.numerical.optim

[sage-support] sage.numerical.optimize.minimize() returns without returning a value

2010-07-13 Thread 8fjm39j
I am trying to minimize numerically (over the reals) a polynomial S with rational coefficients. The function sage.numerical.optimize.minimize() returns without returning a value. Here's the relevant fragment of Sage code (executed using the menu item 'evaluate all') = BEGIN CODE FRAGMENT =