44 #ifndef GLOBIPACK_BRENTS_1D_MINIMIZATION_DECL_HPP 45 #define GLOBIPACK_BRENTS_1D_MINIMIZATION_DECL_HPP 48 #include "GlobiPack_MeritFunc1DBase.hpp" 49 #include "Teuchos_Describable.hpp" 50 #include "Teuchos_VerboseObject.hpp" 51 #include "Teuchos_ParameterListAcceptorDefaultBase.hpp" 62 template<
typename Scalar>
64 :
public Teuchos::Describable,
65 public Teuchos::VerboseObject<Brents1DMinimization<Scalar> >,
66 public Teuchos::ParameterListAcceptorDefaultBase
129 const Ptr<int> &numIters = Teuchos::null
150 template<
typename Scalar>
161 namespace Brents1DMinimizationUtils {
164 const std::string rel_tol_name =
"Relative Tol";
165 const double rel_tol_default = 1.0e-5;
167 const std::string bracket_tol_name =
"Bracket Tol";
168 const double bracket_tol_default = 1.0e-5;
170 const std::string max_iters_name =
"Max Iterations";
171 const int max_iters_default = 10;
181 #endif // GLOBIPACK_BRENTS_1D_MINIMIZATION_DECL_HPP Simple concrete class that implements a 1D algorithm to mimimize a 1D function.
bool approxMinimize(const MeritFunc1DBase< Scalar > &phi, const PointEval1D< Scalar > &pointLower, const Ptr< PointEval1D< Scalar > > &pointMiddle, const PointEval1D< Scalar > &pointUpper, const Ptr< int > &numIters=Teuchos::null) const
Approximatly mimimize a 1D function.
Brents1DMinimization()
Construct with default parameters.
const RCP< Brents1DMinimization< Scalar > > brents1DMinimization()
Nonmember constructor.
RCP< const ParameterList > getValidParameters() const
Represents the evaluation point of the merit function phi(alpha) and/or is derivative Dphi(alpha)...
void setParameterList(RCP< ParameterList > const ¶mList)
Base class for 1D merit fucntions used in globalization methods.