Numerical Optimization of
- To: mathgroup at smc.vnet.net
- Subject: [mg44442] Numerical Optimization of
- From: Brian Rogers <rogers at tanis.hss.caltech.edu>
- Date: Sun, 9 Nov 2003 06:01:29 -0500 (EST)
- Organization: California Institute of Technology, Pasadena
- Sender: owner-wri-mathgroup at wolfram.com
Hi, 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. THANKS! -Brian