(42S) HP 42S/ DM42: Nelder Mead Optimization
05-01-2020, 06:36 AM
Post: #4
 pinkman Senior Member Posts: 403 Joined: Mar 2018
RE: HP 42S/ DM42: Nelder Mead Optimization
Yes it helps, vielen dank! (Thanks a lot)

I added a counter line 37 before the call of the optimisation procedure, it’s quite funny to see that 2140 iterations are needed for a .0001 precision, but “only” 2191 for a precision of 10^-9

About you criterion calculation: so you use the distances between the original points of the simplex and not their image through FU.
It must be faster, but I’m really wondering about the consequences of this method, especially for non derivable functions.

Another question: you don’t care about the domain of FU? Inserting for example a square root in FU should create random comportment with complex values, don’t you think?

Regards,
Thibault
 « Next Oldest | Next Newest »

 Messages In This Thread (42S) HP 42S/ DM42: Nelder Mead Optimization - rawi - 04-30-2020, 11:19 AM RE: HP 42S/ DM42: Nelder Mead Optimization - pinkman - 04-30-2020, 09:39 PM RE: HP 42S/ DM42: Nelder Mead Optimization - rawi - 05-01-2020, 05:14 AM RE: HP 42S/ DM42: Nelder Mead Optimization - pinkman - 05-01-2020 06:36 AM RE: HP 42S/ DM42: Nelder Mead Optimization - rawi - 05-01-2020, 07:10 AM RE: HP 42S/ DM42: Nelder Mead Optimization - pinkman - 05-01-2020, 04:37 PM RE: HP 42S/ DM42: Nelder Mead Optimization - rawi - 05-02-2020, 05:14 AM RE: HP 42S/ DM42: Nelder Mead Optimization - pinkman - 05-02-2020, 12:38 PM RE: HP 42S/ DM42: Nelder Mead Optimization - pinkman - 05-02-2020, 02:02 PM RE: HP 42S/ DM42: Nelder Mead Optimization - rawi - 05-02-2020, 03:39 PM RE: HP 42S/ DM42: Nelder Mead Optimization - pinkman - 05-02-2020, 10:03 PM

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