kthohr / optim

OptimLib: a lightweight C++ library of numerical optimization methods for nonlinear functions

Home Page:https://optimlib.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature request: custom initialization of simplex for Nelder-Mead

mqnc opened this issue · comments

Hi!

I would like to be able to provide an initial simplex where I can consider some background information that I have about the optimization problem. I would also like to be able to stop the optimization, continue another optimization somewhere else and then pick up where I left, continuing from the last simplex.
Would you consider implementing this?
Otherwise I can fork the library and do it myself but it would be nicer to work with the official version :)

I started writing my own Nelder Mead implementation so you can consider closing this. However, wikipedia also mentions that it is important to choose the initial simplex in order to fit the nature of the problem, so it might still be worth implementing.

Implemented in version 2.1.0.