Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Find Minimum Issue' topicStudent Support Forum > General > "Find Minimum Issue"

Next Comment >Help | Reply To Topic
Author Comment/Response
Jorge
08/24/10 05:50am

Hi there

Let f[{x1_,x2_,x3_}]:=... .

When I evaluate the function as f[{1,1,1}] it returns me a value (like 4.231)

When I try to evaluate the function as f[{a,b,c}], the Kernel does a big effort and don't give me a result in a satisfactory time (I abort meanwhile). That's because the function is a little bit messy, with a lot of transformations.

However, when I try to compute
FindMinimum[f[{a,b,c}],{{a,1},{b,1},{c,1}},StepMonitor:>Print["hi"]]
the Kernel don't even print the first "hi". I assume the Kernel got stuck in the first evaluation of the type f[{a,b,c}], when trying to migrate the function f to the function FindMinimum.

How can I bypass this? (changing f or the input I put in FindMinimum)

Thank you very much,
Jorge

URL: ,

Subject (listing for 'Find Minimum Issue')
Author Date Posted
Find Minimum Issue Jorge 08/24/10 05:50am
Re: Find Minimum Issue Peter Pein 08/24/10 3:28pm
Re: Re: Find Minimum Issue Jorge 08/25/10 2:15pm
Re: Find Minimum Issue Zach 08/24/10 11:56pm
Re: Find Minimum Issue Zach 08/25/10 00:01am
Next Comment >Help | Reply To Topic