bfgsb_min function

Nonlinear minimization using BFGS with box constraints