comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Optimization "AMOEBA"
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Optimization "AMOEBA" [message #68022 is a reply to message #68021] Thu, 24 September 2009 00:37 Go to previous messageGo to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Wed, 23 Sep 2009 18:04:46 -0700 (PDT), Nicki
<nickireiter87@yahoo.de> wrote:

> Wuhuu, thank you. The last part does not work though (plot), i just
> commented it out and try to fix it later since the plot is right now
> not that important.
> so now, just that i understand everything...What do I need to change
> and take care of when i also have a 3rd, 4th and maybe even a 5th
> variable?? I don't have to change the function constraint, do i? (the
> next thing will be letting a_max go from 20 to 80.

Constraint will work with any number of variables. To understand what
this function does, try this:

x=indgen(100)-50
P0=50.
dP=10.
plot,x,P0+2.*dP/!pi*atan(x),/ys

The parameter x is always projected between 40 and 60.

Thinking about it, you should probably start AMOEBA with P0=[0,0.]
R=AMOEBA(1.0e-5,SCALE=dP, P0=[0,0.], FUNCTION_VALUE=fval)

> If there is for a
> specific N, a_max and R_i a "NaN" it won't stop the approximation,
> will it?!(i hope you know what i mean))

The constraint function puts box-constraints around each parameter. If
you don't have a box (i.e. the boundaries depend on the value of other
parameters) you need a more complicated constraint function.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDLDE and java crashes
Next Topic: Nearest neighbors

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 00:31:42 PDT 2025

Total time taken to generate the page: 0.23886 seconds