[OpenSCAD] Broydens method
kit.wallace at gmail.com
Sun Apr 1 13:10:31 EDT 2018
Indeed so although its performance is not so good. There are a range of
algorithms implemented in other languages like scipy for Python and the gnu
C libraries. Code for any of these optimisation algorithms would be useful.
Looking around a bit more it looks like the downhill Simplex
https://en.wikipedia.org/wiki/Nelder%E2%80%93Mead_method looks quite good
and not too difficult to implement . For a 2D function it needs 3 initial
points - I'll give that a go.
Of course the problem with using such functions as you well know is the
inability to pass functions as parameters- I must checkout Curv!
Sent from: http://forum.openscad.org/
More information about the Discuss