next up previous contents index
Next: Constrained relaxation Up: Geometry optimization Previous: Steepest decent optimization   Contents   Index

EF, BFGS, RF, and DIIS optimizations

Although 'Opt' is a robust scheme, the convergence speed can be slow in general. Faster schemes based on quasi Newton methods are available for the geometry optimization. They are the eigenvector following (EF) method [45], the Broyden-Fletcher-Goldfarb-Shanno (BFGS) method [47], the rational function (RF) method [46], and a direct inversion iterative sub-space (DIIS) method [44], implemented in Cartesian coordinate. In the EF and RF methods, the approximate Hessian is updated by the BFGS method. Thus, five geometry optimizers, Opt, EF, BFGS, RF and DIIS, are available in OpenMX Ver. 3.7, which can be specified by 'MD.Type'. The relevant keywords are listed below:

   MD.Type                     EF         # Opt|DIIS|BFGS|RF|EF
   MD.Opt.DIIS.History          3         # default=3
   MD.Opt.StartDIIS             5         # default=5
   MD.Opt.EveryDIIS            200        # default=200
   MD.maxIter                  100        # default=1
   MD.Opt.criterion          1.0e-4       # default=0.0003 (Hartree/Bohr)

Especially, you can control these schemes by two keywords:
   MD.Opt.DIIS.History      3       # default=3
   MD.Opt.StartDIIS         5       # default=5

The keyword 'MD.Opt.DIIS.History' specifies the number of the previous steps to update an optimum Hessian matrix. The default value is 3. Also, the geometry optimization step at which 'EF', 'BFGS', 'RF', or 'DIIS' starts is specified by the keyword 'MD.Opt.StartDIIS'. The geometry optimization steps before starting these methods is performed by the steepest decent method as in 'Opt'. The default value is 5.

The initial step in the optimization is automatically tuned by monitoring the maximum force in the initial structure. As shown in Fig. 9 which shows the number of geometry steps to achieve the maximum force of below 0.0003 Hartree/Bohr in molecules and bulks, in most cases the RF method seems to be the most robust and efficient scheme, while the EF and BFGS methods also show a similar performance. The input files used for those calculations and the out files can be found in the directory 'work/geoopt_example/'.

It should be also noted that by these quasi Newton methods geometrical structures tend to be converged to a saddle point rather than a stationary minimum point. This is because the structure at which the quasi Newton method started to be employed does not reach at a flexion point. In such a case, the structure should be optimized well by the steepest decent method before moving to the quasi Newton method. The treatment can be easily done by only taking a larger value for 'MD.Opt.StartDIIS', or by restarting the calculation using a file '*.dat#', where '*' is 'System.Name' specified in your input file.

Figure 9: The number of optimization steps to achieve the maximum force of below $3 \times 10^{-4}$ Hartree/Bohr for (a) molecular systems and (b) bulk systems using four kinds of optimization methods.
\begin{figure}\begin{center}
\epsfig{file=geoopt2.eps,width=9cm}
\end{center}
\end{figure}


next up previous contents index
Next: Constrained relaxation Up: Geometry optimization Previous: Steepest decent optimization   Contents   Index
t-ozaki 2013-05-22