10 #ifndef ROL_FLETCHERBASE_H
11 #define ROL_FLETCHERBASE_H
17 #include "ROL_Ptr.hpp"
28 const Ptr<Objective<Real> >
obj_;
29 const Ptr<Constraint<Real> >
con_;
42 Ptr<Vector<Real> >
y_;
45 Ptr<Vector<Real> >
g_;
46 Ptr<Vector<Real> >
c_;
48 Ptr<Vector<Real> >
gL_;
70 Ptr<Vector<Real> >
v1_;
71 Ptr<Vector<Real> >
v2_;
72 Ptr<PartitionedVector<Real> >
vv_;
73 Ptr<Vector<Real> >
b1_;
74 Ptr<Vector<Real> >
b2_;
75 Ptr<PartitionedVector<Real> >
bb_;
76 Ptr<Vector<Real> >
w1_;
77 Ptr<Vector<Real> >
w2_;
78 Ptr<PartitionedVector<Real> >
ww_;
119 Real tol =
static_cast<Real
>(1e-12);
126 Real tol = std::sqrt(ROL_EPSILON<Real>());
134 Real tol =
static_cast<Real
>(1e-12);
143 Real tol =
static_cast<Real
>(1e-12);
150 Real tol = std::sqrt(ROL_EPSILON<Real>());
Provides the interface to evaluate objective functions.
virtual void computeMultipliers(const Vector< Real > &x, Real tol)
int getNumberGradientEvaluations() const
Ptr< Vector< Real > > w2_
Ptr< Vector< Real > > gPhi_
void setDelta(Real delta)
const Ptr< Constraint< Real > > con_
Real quadPenaltyParameter_
Real getObjectiveValue(const Vector< Real > &x)
void objValue(const Vector< Real > &x, Real &tol)
FletcherBase(const ROL::Ptr< Objective< Real > > &obj, const ROL::Ptr< Constraint< Real > > &con)
const Ptr< Objective< Real > > obj_
Contains definitions of custom data types in ROL.
const Ptr< Vector< Real > > getMultiplierVec(const Vector< Real > &x)
int getNumberFunctionEvaluations() const
Ptr< Vector< Real > > w1_
Defines the linear algebra or vector space interface.
Ptr< Krylov< Real > > krylov_
const Ptr< Vector< Real > > getGradient(const Vector< Real > &x)
Ptr< Vector< Real > > gL_
Ptr< Vector< Real > > v1_
virtual void gradient(Vector< Real > &g, const Vector< Real > &x, Real &tol)
Compute gradient.
Ptr< Vector< Real > > b1_
bool isMultiplierComputed_
void setPenaltyParameter(Real sigma)
Ptr< Vector< Real > > scaledc_
const Ptr< Vector< Real > > getConstraintVec(const Vector< Real > &x)
void conValue(const Vector< Real > &x, Real &tol)
int getNumberConstraintEvaluations() const
Ptr< PartitionedVector< Real > > vv_
const Ptr< Vector< Real > > getLagrangianGradient(const Vector< Real > &x)
Ptr< Vector< Real > > v2_
Ptr< Vector< Real > > b2_
Ptr< PartitionedVector< Real > > bb_
Ptr< PartitionedVector< Real > > ww_
void objGrad(const Vector< Real > &x, Real &tol)
Defines the general constraint operator interface.