Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Using a Result from NMinimize

  • To: mathgroup at
  • Subject: [mg49400] Re: Using a Result from NMinimize
  • From: "Eddie Middleton" <midds at>
  • Date: Sat, 17 Jul 2004 06:39:38 -0400 (EDT)
  • References: <cd8atu$ok5$>
  • Sender: owner-wri-mathgroup at


If you set the problem up as

result = NMinimize[Something]


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

should give you the value you need.


"Gregory Lypny" <gregory.lypny at> wrote in message
news:cd8atu$ok5$1 at
> 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