Skip to content

Commit f79ab76

Browse files
committed
update bfgs method and modify the parameter force in relax_step to be passed by reference
1 parent 0b52719 commit f79ab76

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/advanced/opt.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ In the nested procedure mentioned above, we used CG method to perform cell relax
2222

2323
The [BFGS method](https://en.wikipedia.org/wiki/Broyden%E2%80%93Fletcher%E2%80%93Goldfarb%E2%80%93Shanno_algorithm) is a quasi-Newton method for solving nonlinear optimization problem. It belongs to the class of quasi-Newton method where the Hessian matrix is approximated during the optimization process. If the initial point is not far from the extrema, BFGS tends to work better than gradient-based methods.
2424

25-
In ABACUS, we implemented the BFGS method for doing fixed-cell structural relaxation.
26-
27-
We have alse implemented an alternative BFGS method, which can be called by using the keyword 'bfgs_trad'.
25+
There is an alternative standard BFGS method, which can be called by using the keyword 'bfgs_trad'. The bfgs_trad method is a quasi-Newton method that substitute an approximate matrix B for the Hessian matrix. The optimization direction is determined by the inverse of B, therefore, only the inverse of B is iteratively updated and no time-consuming operations such as matrix inversion are involved.
2826

29-
The bfgs_trad method is a quasi-Newton method that substitute an approximate matrix B for the Hessian matrix. The optimization direction is determined by the inverse of B, therefore, only the inverse of B is iteratively updated and no time-consuming operations such as matrix inversion are involved.
27+
In ABACUS, we implemented the BFGS method for doing fixed-cell structural relaxation.
3028

3129
### SD method
3230

0 commit comments

Comments
 (0)