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

Classes

struct  AlgorithmState
 
class  Algorithm
 Provides an interface to run bound constrained optimization algorithms. More...
 
class  ColemanLiAlgorithm
 Provides an interface to run the affine-scaling trust-region algorithm of Coleman and Li. More...
 
class  GradientAlgorithm
 Provides an interface to run the projected gradient algorithm. More...
 
class  InteriorPointAlgorithm
 Provides an interface to run the Moreau-Yosida algorithm. More...
 
class  KelleySachsAlgorithm
 Provides an interface to run the trust-region algorithm of Kelley and Sachs. More...
 
class  LinMoreAlgorithm
 Provides an interface to run the trust-region algorithm of Lin and More. More...
 
class  LSecantBAlgorithm
 Provides an interface to run the line-search algorithm of Byrd, Lu, Nocedal and Zhu (similar to L-BFGS-B). More...
 
class  MoreauYosidaAlgorithm
 Provides an interface to run the Moreau-Yosida algorithm. More...
 
class  NewtonKrylovAlgorithm
 Provides an interface to run the projected secant algorithm. More...
 
class  PrimalDualActiveSetAlgorithm
 Provides an interface to run the projected secant algorithm. More...
 
class  QuasiNewtonAlgorithm
 Provides an interface to run the projected secant algorithm. More...
 
class  SpectralGradientAlgorithm
 Provides an interface to run the spectral projected gradient algorithm. More...
 
class  TrustRegionSPGAlgorithm
 Provides an interface to run the trust-region algorithm. More...
 

Enumerations

enum  EAlgorithmB {
  ALGORITHM_B_LINESEARCH = 0, ALGORITHM_B_TRUSTREGION, ALGORITHM_B_MOREAUYOSIDA, ALGORITHM_B_PRIMALDUALACTIVESET,
  ALGORITHM_B_INTERIORPOINT, ALGORITHM_B_SPECTRALGRADIENT, ALGORITHM_B_LAST
}
 Enumeration of bound constrained algorithm types. More...
 

Functions

std::string EAlgorithmBToString (EAlgorithmB alg)
 
int isValidAlgorithmB (EAlgorithmB alg)
 Verifies validity of a AlgorithmB enum. More...
 
EAlgorithmBoperator++ (EAlgorithmB &type)
 
EAlgorithmB operator++ (EAlgorithmB &type, int)
 
EAlgorithmBoperator-- (EAlgorithmB &type)
 
EAlgorithmB operator-- (EAlgorithmB &type, int)
 
EAlgorithmB StringToEAlgorithmB (std::string s)
 
template<typename Real >
Ptr< Algorithm< Real > > AlgorithmFactory (ParameterList &parlist, const Ptr< Secant< Real >> &secant=nullPtr)
 

Enumeration Type Documentation

Enumeration of bound constrained algorithm types.

  • ALGORITHM_B_LINESEARCH describe
  • ALGORITHM_B_TRUSTREGION describe
  • ALGORITHM_B_MOREAUYOSIDA describe
  • ALGORITHM_B_PRIMALDUALACTIVESET describe
  • ALGORITHM_B_INTERIORPOINT describe
  • ALGORITHM_B_SPECTRALGRADIENT describe
Enumerator
ALGORITHM_B_LINESEARCH 
ALGORITHM_B_TRUSTREGION 
ALGORITHM_B_MOREAUYOSIDA 
ALGORITHM_B_PRIMALDUALACTIVESET 
ALGORITHM_B_INTERIORPOINT 
ALGORITHM_B_SPECTRALGRADIENT 
ALGORITHM_B_LAST 

Definition at line 40 of file ROL_TypeB_AlgorithmFactory.hpp.

Function Documentation

std::string ROL::TypeB::EAlgorithmBToString ( EAlgorithmB  alg)
inline
int ROL::TypeB::isValidAlgorithmB ( EAlgorithmB  alg)
inline

Verifies validity of a AlgorithmB enum.

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

Definition at line 70 of file ROL_TypeB_AlgorithmFactory.hpp.

References ALGORITHM_B_INTERIORPOINT, ALGORITHM_B_LAST, ALGORITHM_B_LINESEARCH, ALGORITHM_B_MOREAUYOSIDA, ALGORITHM_B_PRIMALDUALACTIVESET, ALGORITHM_B_SPECTRALGRADIENT, and ALGORITHM_B_TRUSTREGION.

EAlgorithmB& ROL::TypeB::operator++ ( EAlgorithmB &  type)
inline

Definition at line 81 of file ROL_TypeB_AlgorithmFactory.hpp.

EAlgorithmB ROL::TypeB::operator++ ( EAlgorithmB &  type,
int   
)
inline

Definition at line 85 of file ROL_TypeB_AlgorithmFactory.hpp.

EAlgorithmB& ROL::TypeB::operator-- ( EAlgorithmB &  type)
inline

Definition at line 91 of file ROL_TypeB_AlgorithmFactory.hpp.

EAlgorithmB ROL::TypeB::operator-- ( EAlgorithmB &  type,
int   
)
inline

Definition at line 95 of file ROL_TypeB_AlgorithmFactory.hpp.

EAlgorithmB ROL::TypeB::StringToEAlgorithmB ( std::string  s)
inline
template<typename Real >
Ptr<Algorithm<Real> > ROL::TypeB::AlgorithmFactory ( ParameterList &  parlist,
const Ptr< Secant< Real >> &  secant = nullPtr 
)
inline