ROL
Classes | Enumerations | Functions
ROL::TypeP Namespace Reference

Classes

struct  AlgorithmState
 
class  Algorithm
 Provides an interface to run optimization algorithms to minimize composite optimization problems f+phi. More...
 
class  InexactNewtonAlgorithm
 Provides an interface to run the inexact proximal Newton algorithm. More...
 
class  iPianoAlgorithm
 Provides an interface to run the proximal gradient algorithm. More...
 
class  ProxGradientAlgorithm
 Provides an interface to run the proximal gradient algorithm. More...
 
class  QuasiNewtonAlgorithm
 Provides an interface to run the projected secant algorithm. More...
 
class  SpectralGradientAlgorithm
 Provides an interface to run the proximal gradient algorithm. More...
 
class  TrustRegionAlgorithm
 Provides an interface to run the trust-region algorithm. More...
 

Enumerations

enum  EAlgorithmP {
  ALGORITHM_P_LINESEARCH = 0, ALGORITHM_P_TRUSTREGION, ALGORITHM_P_SPECTRALGRADIENT, ALGORITHM_P_IPIANO,
  ALGORITHM_P_LAST
}
 Enumeration of bound constrained algorithm types. More...
 
enum  ETrustRegionP { TRUSTREGION_P_SPG = 0, TRUSTREGION_P_SPG2, TRUSTREGION_P_NCG, TRUSTREGION_P_LAST }
 

Functions

std::string EAlgorithmPToString (EAlgorithmP alg)
 
int isValidAlgorithmP (EAlgorithmP alg)
 Verifies validity of a AlgorithmP enum. More...
 
EAlgorithmPoperator++ (EAlgorithmP &type)
 
EAlgorithmP operator++ (EAlgorithmP &type, int)
 
EAlgorithmPoperator-- (EAlgorithmP &type)
 
EAlgorithmP operator-- (EAlgorithmP &type, int)
 
EAlgorithmP StringToEAlgorithmP (std::string s)
 
template<typename Real >
Ptr< Algorithm< Real > > AlgorithmFactory (ParameterList &parlist)
 
std::string ETrustRegionPToString (ETrustRegionP alg)
 
int isValidTrustRegionP (ETrustRegionP alg)
 
ETrustRegionPoperator++ (ETrustRegionP &type)
 
ETrustRegionP operator++ (ETrustRegionP &type, int)
 
ETrustRegionPoperator-- (ETrustRegionP &type)
 
ETrustRegionP operator-- (ETrustRegionP &type, int)
 
ETrustRegionP StringToETrustRegionP (std::string s)
 

Enumeration Type Documentation

Enumeration of bound constrained algorithm types.

  • ALGORITHM_P_LINESEARCH describe
  • ALGORITHM_P_TRUSTREGION describe
  • ALGORITHM_P_SPECTRALGRADIENT describe
  • ALGORITHM_P_IPIANO describe
Enumerator
ALGORITHM_P_LINESEARCH 
ALGORITHM_P_TRUSTREGION 
ALGORITHM_P_SPECTRALGRADIENT 
ALGORITHM_P_IPIANO 
ALGORITHM_P_LAST 

Definition at line 66 of file ROL_TypeP_AlgorithmFactory.hpp.

Enumerator
TRUSTREGION_P_SPG 
TRUSTREGION_P_SPG2 
TRUSTREGION_P_NCG 
TRUSTREGION_P_LAST 

Definition at line 59 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

Function Documentation

std::string ROL::TypeP::EAlgorithmPToString ( EAlgorithmP  alg)
inline
int ROL::TypeP::isValidAlgorithmP ( EAlgorithmP  alg)
inline

Verifies validity of a AlgorithmP enum.

Parameters
ls[in] - enum of the AlgorithmP
Returns
1 if the argument is a valid AlgorithmP; 0 otherwise.

Definition at line 92 of file ROL_TypeP_AlgorithmFactory.hpp.

References ALGORITHM_P_IPIANO, ALGORITHM_P_LAST, ALGORITHM_P_LINESEARCH, ALGORITHM_P_SPECTRALGRADIENT, and ALGORITHM_P_TRUSTREGION.

EAlgorithmP& ROL::TypeP::operator++ ( EAlgorithmP &  type)
inline

Definition at line 101 of file ROL_TypeP_AlgorithmFactory.hpp.

EAlgorithmP ROL::TypeP::operator++ ( EAlgorithmP &  type,
int   
)
inline

Definition at line 105 of file ROL_TypeP_AlgorithmFactory.hpp.

EAlgorithmP& ROL::TypeP::operator-- ( EAlgorithmP &  type)
inline

Definition at line 111 of file ROL_TypeP_AlgorithmFactory.hpp.

EAlgorithmP ROL::TypeP::operator-- ( EAlgorithmP &  type,
int   
)
inline

Definition at line 115 of file ROL_TypeP_AlgorithmFactory.hpp.

EAlgorithmP ROL::TypeP::StringToEAlgorithmP ( std::string  s)
inline
template<typename Real >
Ptr<Algorithm<Real> > ROL::TypeP::AlgorithmFactory ( ParameterList &  parlist)
inline
std::string ROL::TypeP::ETrustRegionPToString ( ETrustRegionP  alg)
inline
int ROL::TypeP::isValidTrustRegionP ( ETrustRegionP  alg)
inline
ETrustRegionP& ROL::TypeP::operator++ ( ETrustRegionP &  type)
inline

Definition at line 86 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

ETrustRegionP ROL::TypeP::operator++ ( ETrustRegionP &  type,
int   
)
inline

Definition at line 90 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

ETrustRegionP& ROL::TypeP::operator-- ( ETrustRegionP &  type)
inline

Definition at line 96 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

ETrustRegionP ROL::TypeP::operator-- ( ETrustRegionP &  type,
int   
)
inline

Definition at line 100 of file ROL_TypeP_TrustRegionAlgorithm.hpp.

ETrustRegionP ROL::TypeP::StringToETrustRegionP ( std::string  s)
inline