CppNumericalSolvers
CppNumericalSolvers copied to clipboard
a lightweight header-only C++17 library of numerical optimization methods for nonlinear functions based on Eigen
I noticed that the L-BFGS-B calls function evaluations outside the constraints. Looking at the code, I see that the MoreThuente::linesearch calls cvsrch, but the cvsrch function only has hard-coded min/max-step...
When du(i) == 0 and it's approaching a lower bound, FindAlpha can return -inf. It should only return values in [0,1]. The added check fixes it
Is't possible add neldermeadsolver.h back in v2 ?