44 #ifndef ROL_PATHBASEDTARGETLEVEL_H
45 #define ROL_PATHBASEDTARGETLEVEL_H
76 delta_ = parlist.sublist(
"Step").sublist(
"Line Search").sublist(
"Line-Search Method").sublist(
"Path-Based Target Level").get(
"Target Relaxation Parameter",p1);
77 bound_ = parlist.sublist(
"Step").sublist(
"Line Search").sublist(
"Line-Search Method").sublist(
"Path-Based Target Level").get(
"Upper Bound on Path Length",one);
87 void run( Real &alpha, Real &fval,
int &ls_neval,
int &ls_ngrad,
90 Real tol = std::sqrt(ROL_EPSILON<Real>()),
zero(0), half(0.5);
111 alpha = (fval -
target_)/std::abs(gs);
119 sigma_ += alpha*std::sqrt(std::abs(gs));
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 ROL::Ptr< Vector > clone() const =0
Clone to make a new (uninitialized) vector.
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)
ROL::Ptr< Vector< Real > > xnew_
virtual Real value(const Vector< Real > &x, Real &tol)=0
Compute value.
Defines the linear algebra or vector space interface.
Objective_SerialSimOpt(const Ptr< Obj > &obj, const V &ui) z0_ zero()
Provides interface for and implements line searches.
Provides an implementation of path-based target leve line search.
Real ROL_OVERFLOW(void)
Platform-dependent maximum double.
virtual ~PathBasedTargetLevel()
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.
PathBasedTargetLevel(ROL::ParameterList &parlist)
virtual void initialize(const Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con)
void initialize(const Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con)