MathGroup Archive 2003

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

Search the Archive

Numerical Optimization of

  • To: mathgroup at
  • Subject: [mg44442] Numerical Optimization of
  • From: Brian Rogers <rogers at>
  • Date: Sun, 9 Nov 2003 06:01:29 -0500 (EST)
  • Organization: California Institute of Technology, Pasadena
  • Sender: owner-wri-mathgroup at

I'm a new user of Mathematica 5.0.
I have a function f[x] of one variable that computes it's output by
solving a
system of equations and returning a list of three numbers.  So f[x] looks
like {f[x][[1]],f[x][[2]],f[x][[3]]}.  When I plot f[x][[1]], I get a nice
smooth strictly convex function that clearly has a global minimum around
6.7.  But when I try to find the minimum I can't.  Specifically, using
NMinimize[f[x][[1]],{x}] and FindMinimum[f[x][[1]],{x,6}] both run forever
without returning any errors or results.  I think they must be having
trouble interpreting the results of f[], or it has something to do with
the attributes of the output.  I never had this problem in 4.2.  Any help
would be appreciated.

  • Prev by Date: Re: Something wrong with this integral (see text)
  • Next by Date: Re: Unformatted File IO
  • Previous by thread: Comparison of Mathematica on Various Computers
  • Next by thread: Re: Numerical Optimization of