optim icon indicating copy to clipboard operation
optim copied to clipboard

cg: modify search direction

Open tenomoto opened this issue 4 years ago • 0 comments

CG converges in two steps for Booth function with the modified search direction.

The pull request includes the followings:

  • use search direction updated by cg_update().
  • use the first step size scaled by gradient norm rather than 1.

tenomoto avatar Dec 01 '21 05:12 tenomoto