Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Tracing Evaluation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32879] Re: Tracing Evaluation
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Mon, 18 Feb 2002 05:21:57 -0500 (EST)
  • References: <a4lahd$e2a$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Umby,

FindMinimum[
  Print[{x^4 + 3 (x^2) y + 5 y^2 + x + y, {x, y}}];
  x^4 + 3 (x^2) y + 5 y^2 + x + y, {x, 0.1}, {y, 0.2}]

--
Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565


"Umby" <umprisco at unina.it> wrote in message
news:a4lahd$e2a$1 at smc.vnet.net...
> Hi Math Group,
>
> I would like to visualize the set of iterations that the built-up function
> FindMinimum carry out searching the minimum.
> For exemple when I write:
>
> FindMinimum[x\^4 + 3 \( x\^2\) y + 5  y\^2 + x + y, {x, 0.1}, {y, 0.2}]
>
> I would like to see the the values of x and y got for every iteration.
With
> the Trace function I've got the following empty output:
>
> {FindMinimum[x  + 3 x  y + 5 y  + x + y, {x, 0.1}, {y, 0.2}],
>
>   {$MessageList = {}, {}}, {$MessageList = {}, {}}, {$MessageList = {},
{}},
>
>   {$MessageList = {}, {}}, {$MessageList = {}, {}}, {$MessageList = {},
{}},
>
>   {$MessageList = {}, {}}, {$MessageList = {}, {}}, {$MessageList = {},
{}},
>
>   {$MessageList = {}, {}}, {$MessageList = {}, {}}, {$MessageList = {},
{}},
>
>   {$MessageList = {}, {}}, {$MessageList = {}, {}}, {$MessageList = {},
{}},
>
>   {$MessageList = {}, {}}, {$MessageList = {}, {}}, {$MessageList = {},
{}},
>
>   {x =. , Null}, {y =. , Null}, {-0.832579, {x -> -0.886326,
> y -> -0.335672}}}
>
> How can I do?
>
> kind regards
> Umby
>
>
>




  • Prev by Date: Re: Mathematica for Mac OS X vs. 9?
  • Next by Date: Re: partial fraction
  • Previous by thread: Re: Tracing Evaluation
  • Next by thread: FromBytes[]?