Partially added BFGS optimizer