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