Simplex (NELDER Mead)


myth12887
06-24-2007, 09:32 AM
I am using a code for ssimplex minimization that i lifted off from the internet, the problem with the amoeba code is that when i pass it the values of the initial values of the function, it chooses the minimum out of those function values and then iterates around it, not giving me a local minimum.
Eg: if i pass the values 2, 4, and 6 initially as evalutaions of the 2 dimensional simplex, it iterates around 2 and gives me a minimum value close to it. any idea what the problem is?
im attaching the code below.

kutta
11-19-2008, 06:31 PM
I am using a code for ssimplex minimization that i lifted off from the internet, the problem with the amoeba code is that when i pass it the values of the initial values of the function, it chooses the minimum out of those function values and then iterates around it, not giving me a local minimum.
Eg: if i pass the values 2, 4, and 6 initially as evalutaions of the 2 dimensional simplex, it iterates around 2 and gives me a minimum value close to it. any idea what the problem is?
im attaching the code below.

Hello Comrade

Pl try to inform if this is ok after an execution of the slightly modified C++ program whos output is also enclosed along with the modified version in txt file
Thanks
AS
Kutta