44 #ifndef ROL_SECANTFACTORY_H 45 #define ROL_SECANTFACTORY_H 49 #include "Teuchos_ParameterList.hpp" 50 #include "Teuchos_RCP.hpp" 66 default:
return Teuchos::null;
71 inline Teuchos::RCP<Secant<Real> >
SecantFactory( Teuchos::ParameterList &parlist ) {
73 parlist.sublist(
"General").sublist(
"Secant").get(
"Type",
"Limited-Memory BFGS") );
74 int L = parlist.sublist(
"General").sublist(
"Secant").get(
"Maximum Storage",10);
75 int BB = parlist.sublist(
"General").sublist(
"Secant").get(
"Barzilai-Borwein",1);
81 default:
return Teuchos::null;
Teuchos::RCP< Secant< Real > > SecantFactory(Teuchos::ParameterList &parlist)
Provides definitions for limited-memory DFP operators.
Contains definitions of custom data types in ROL.
Provides definitions for limited-memory SR1 operators.
ESecant StringToESecant(std::string s)
Provides definitions for limited-memory BFGS operators.
ESecant
Enumeration of secant update algorithms.
Teuchos::RCP< Secant< Real > > getSecant(ESecant esec=SECANT_LBFGS, int L=10, int BBtype=1)
Provides definitions for Barzilai-Borwein operators.