.. oe:namespace:: OESz

..  _OEOptType:

.. oe:constnamespace:: OEOptType

   This namespace contains constants describing the type of optimization method to be used.


   .. _OEOptType_BFGS:




   .. oe:constant:: BFGS
   
      This flag sets the Broyden–Fletcher–Goldfarb–Shanno (BFGS) optimizer.
      It is the default optimizer in Szybki.

   .. _OEOptType_CG:


   .. oe:constant:: CG
   
      This flag selects the conjugate gradient optimizer instead of
      the default :oe:const:`OESz::OEOptType::BFGS`.

   .. _OEOptType_SD:


   .. oe:constant:: SD

      This flag selects the steepest descent optimizer.

   .. _OEOptType_SD_BFGS:


   .. oe:constant:: SD_BFGS

      This flag selects 5 steps of :oe:const:`OESz::OEOptType::SD` pre-optimization
      followed by complete BFGS optimization.

   .. _OEOptType_SD_CG:


   .. oe:constant:: SD_CG

      This flag selects 5 steps of :oe:const:`OESz::OEOptType::SD` pre-optimization
      followed by complete CG optimization.

   .. _OEOptType_NEWTON:


   .. oe:constant:: NEWTON

      This flag selects Newton optimizer.
      It includes 1-20 steps of :oe:const:`OESz::OEOptType::SD` preconditioning depending
      on initial gradients and the size of the input molecule. 
