10#ifndef ROL_TYPEG_ALGORITHMFACTORY_H
11#define ROL_TYPEG_ALGORITHMFACTORY_H
39 std::string retString;
46 default: retString =
"INVALID EAlgorithmG";
95template<
typename Real>
97 std::string stepType = parlist.sublist(
"Step").get(
"Type",
"Augmented Lagrangian");
104 default:
return nullPtr;
Contains definitions of custom data types in ROL.
Provides interface for and implements limited-memory secant operators.
EAlgorithmG StringToEAlgorithmG(std::string s)
@ ALGORITHM_G_INTERIORPOINT
@ ALGORITHM_G_AUGMENTEDLAGRANGIAN
@ ALGORITHM_G_MOREAUYOSIDA
@ ALGORITHM_G_STABILIZEDLCL
EAlgorithmG & operator++(EAlgorithmG &type)
EAlgorithmG & operator--(EAlgorithmG &type)
std::string EAlgorithmGToString(EAlgorithmG alg)
int isValidAlgorithmG(EAlgorithmG alg)
Verifies validity of a AlgorithmG enum.
Ptr< TypeG::Algorithm< Real > > AlgorithmFactory(ParameterList &parlist, const Ptr< Secant< Real > > &secant=nullPtr)
std::string removeStringFormat(std::string s)