The algorithms of Broyden-CG for unconstrained optimization problems