Nelder Mead: some valid configurations throw error
Steps to reproduce
Set the Nelder Mead with
"stepCircleResolution" : 4,
"numberOfCircles" : 2
then Nelder Mead throws an error (not catched) because of an invalid simplex configuration.
It is not clear why this error is raised (the Apache hints, that the same point occurs twice, i.e. probably there is no triangle, but a line).
As a side note: the two parameters are not very intuitive for configurating the Nelder Mead (taken from the discrete case). Maybe it is worth it to have own Nelder Mead parameters.
xref #229 (closed) #226 (closed) #221 (closed) #108 #183 (closed)