Post Reply 
(42S) HP 42S/ DM42: Nelder Mead Optimization
05-01-2020, 07:10 AM
Post: #5
RE: HP 42S/ DM42: Nelder Mead Optimization
Hi,

concerning the termination criterion: I do not think that it is faster to use the differences in the X and Y than in the f(X,Y). Near the optimum most derivable functions are rather flat with a derivate well below 1, so that the differences in the function are smaller than the differences in the variables. So it should be slower. But I thought if you set a threshold you want to set the exactness of your input factors.

Concerning the domain of FU you are right. If the square route would be negative the procedure would stop. I put not enough care on the function which was just for demonstration purposes.

Concerning not derivable functions: These are a problem to all optimization functions. It can be that the simplex does not get along the valley and the size of the simplex is shrinked to virtually zero. But in this case both termination criteria would stop the procedure. A possible way to handle such cases is to start the procedure again at the solution reached so far.

Best

Raimund
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 42S/ DM42: Nelder Mead Optimization - rawi - 05-01-2020 07:10 AM



User(s) browsing this thread: 1 Guest(s)