MathGroup Archive 2004

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

Search the Archive

Re: Using a Result from NMinimize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49400] Re: Using a Result from NMinimize
  • From: "Eddie Middleton" <midds at ukonline.co.uk>
  • Date: Sat, 17 Jul 2004 06:39:38 -0400 (EDT)
  • References: <cd8atu$ok5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Gregory

If you set the problem up as

result = NMinimize[Something]

then

resultValue = result[[2,1,2]]

should give you the value you need.

Regards
Eddie

"Gregory Lypny" <gregory.lypny at videotron.ca> wrote in message
news:cd8atu$ok5$1 at smc.vnet.net...
> Hello Everyone,
>
> When I use NMinimize, it gives the result as the minimum value of the
> function and the value of the argument that gets us there, for example,
>
> {0.0817747, {rp -> 0.0920851}}.
>
> How can I access the second element, that is, the value of the
> argument, so that I can use in other computations.  In other words, I
> want get at 0.0920851 and strip away the rp ->.
>
> Regards,
>
> Greg
>



  • Prev by Date: Re: Help -- Weird integration behavior
  • Next by Date: Re: How to extract a solution from Mathematica's answer to "Solve"
  • Previous by thread: Re: Using a Result from NMinimize
  • Next by thread: Re: Using a Result from NMinimize