LBFGS with projected weak wolfe line search