Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Commit

Permalink
Use MoreThuente in CG as default Linesearcher
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-ch committed Jan 19, 2016
1 parent 92c5c81 commit f42a908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cg.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (cg *CG) Init(loc *Location) (Operation, error) {
}

if cg.Linesearcher == nil {
cg.Linesearcher = &Bisection{GradConst: 0.1}
cg.Linesearcher = &MoreThuente{CurvatureFactor: 0.1}
}
if cg.Variant == nil {
cg.Variant = &HestenesStiefel{}
Expand Down

0 comments on commit f42a908

Please sign in to comment.