MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Repeated calls to Mathematica process

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15705] Repeated calls to Mathematica process
  • From: reveltd at leland.stanford.edu
  • Date: Mon, 1 Feb 1999 14:54:21 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Greetings,

I have an integral function which I need to maximize.  The maximization
procedure requires many evaluations of this function. The fastest way
for me to evaluate this function is to integrate it symbolically once
and then evaluate it repeatedly as the parameters change in the
maximization routine.  Since I have a large data set, I am using Gauss
to maximize this function, and the Gauss procedure can call the
Mathematica process.

What I don't know how to do is to maintain the memory state of the
Mathematica process as I move back and forth to Gauss.  That is, I want
to symbolically integrate the function once, then do some work in
Gauss, and then come back to Mathematica to evaluate the function. But
once I exit the mathematica process, I will lose the symbolic solution
to my integral.  In short, I want to treat the Mathematica process like
an object (rather than a function) which performs the symbolic
integration upon construction, remains in memory while I do other
things, and then evaluates it whenever I message it.

Short of reading and writing back and forth to files (which is expensive
time-wise) is there any way to hold the memory state of a Mathematica
process while I do the work in Gauss?

Thanks
David



  • Prev by Date: Re: D vs. Derivative (2)
  • Next by Date: Problem using init.m to create notebook in front end
  • Previous by thread: Re: D vs. Derivative (2)
  • Next by thread: RE: Repeated calls to Mathematica process