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
>
>
>