Re: Minimize - What am I doing worng?
- To: mathgroup at smc.vnet.net
- Subject: [mg113400] Re: Minimize - What am I doing worng?
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Wed, 27 Oct 2010 05:15:41 -0400 (EDT)
- References: <ia67g9$sut$1@smc.vnet.net>
Hi Ed, It's difficult to detremine what precisely goes wrong since you forgot to include your input, but judging from the output it might be that you are using a function that returns a list rather than a number. Cheers -- Sjoerd On Oct 26, 11:37 am, "Eduardo M. A. M.Mendes" <emammen... at gmail.com> wrote: > Hello > > I am trying to use minimize as follows > > But unfortunately Mathematica returns > > NMinimize::nnum: The function value \[NoBreak]{1.30494}\[NoBreak] is not a > number at \[NoBreak]{m,l1,l2}\[NoBreak] = > \[NoBreak]{1.30494,0.36693,0.63307}\[NoBreak]. > <http://reference.wolfram.com/mathematica/ref/NMinimize.html> =87 > > What am I doing wrong? If I use rational numbers there is no problem. > > Many thanks > > Ed