44 #ifndef GLOBIPACK_POLY_INTERP_LINE_SEARCH_DECL_HPP
45 #define GLOBIPACK_POLY_INTERP_LINE_SEARCH_DECL_HPP
48 #include "GlobiPack_LineSearchBase.hpp"
49 #include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
63 template<
typename Scalar>
139 template<
typename Scalar>
149 namespace ArmijoPolyInterpLineSearchUtils {
152 const std::string eta_name =
"Armijo Slope Fraction";
153 const double eta_default = 1.0e-4;
155 const std::string minFrac_name =
"Min Backtrack Fraction";
156 const double minFrac_default = 0.1;
158 const std::string maxFrac_name =
"Max Backtrack Fraction";
159 const double maxFrac_default = 0.5;
161 const std::string minIters_name =
"Min Num Iterations";
162 const int minIters_default = 0;
164 const std::string maxIters_name =
"Max Num Iterations";
165 const int maxIters_default = 20;
167 const std::string doMaxIters_name =
"Do Max Iterations";
168 const bool doMaxIters_default =
false;
178 #endif // GLOBIPACK_POLY_INTERP_LINE_SEARCH_DECL_HPP
Linesearch subclass implementing a backtracking-only line search using an Armijo cord test condition ...
RCP< const ParameterList > getValidParameters() const
virtual bool doLineSearch(const MeritFunc1DBase< Scalar > &phi, const PointEval1D< Scalar > &point_k, const Ptr< PointEval1D< Scalar > > &point_kp1, const Ptr< int > &numIters) const
Represents the evaluation point of the merit function phi(alpha) and/or is derivative Dphi(alpha)...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Base class for 1D linearsearch algorithms.
void setParameterList(RCP< ParameterList > const ¶mList)
virtual bool requiresDerivEvals() const
Returns false.
ArmijoPolyInterpLineSearch()
Construct with default parameters.
Base class for 1D merit fucntions used in globalization methods.
virtual bool requiresBaseDeriv() const
Returns true.
const RCP< ArmijoPolyInterpLineSearch< Scalar > > armijoQuadraticLineSearch()
Nonmember constructor.