44 #ifndef ROL_ITERATIONSCALING_H
45 #define ROL_ITERATIONSCALING_H
75 void run( Real &alpha, Real &fval,
int &ls_neval,
int &ls_ngrad,
78 Real tol = std::sqrt(ROL_EPSILON<Real>());
Provides the interface to evaluate objective functions.
void updateIterate(Vector< Real > &xnew, const Vector< Real > &x, const Vector< Real > &s, Real alpha, BoundConstraint< Real > &con)
virtual Real getInitialAlpha(int &ls_neval, int &ls_ngrad, const Real fval, const Real gs, const Vector< Real > &x, const Vector< Real > &s, Objective< Real > &obj, BoundConstraint< Real > &con)
virtual ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
IterationScaling(ROL::ParameterList &parlist)
virtual Real value(const Vector< Real > &x, Real &tol)=0
Compute value.
Defines the linear algebra or vector space interface.
Provides interface for and implements line searches.
virtual ~IterationScaling()
void initialize(const ROL::Vector< Real > &x, const ROL::Vector< Real > &s, const ROL::Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con)
Provides the interface to apply upper and lower bound constraints.
virtual void update(const Vector< Real > &x, bool flag=true, int iter=-1)
Update objective function.
void run(Real &alpha, Real &fval, int &ls_neval, int &ls_ngrad, const Real &gs, const Vector< Real > &s, const Vector< Real > &x, Objective< Real > &obj, BoundConstraint< Real > &con)
Provides an implementation of iteration scaled line search.
ROL::Ptr< Vector< Real > > xnew_
virtual void initialize(const Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con)