45 #ifndef ROL_FLETCHERBASE_H
46 #define ROL_FLETCHERBASE_H
52 #include "ROL_Ptr.hpp"
63 const Ptr<Objective<Real> >
obj_;
64 const Ptr<Constraint<Real> >
con_;
77 Ptr<Vector<Real> >
y_;
80 Ptr<Vector<Real> >
g_;
81 Ptr<Vector<Real> >
c_;
83 Ptr<Vector<Real> >
gL_;
107 Ptr<PartitionedVector<Real> >
vv_;
110 Ptr<PartitionedVector<Real> >
bb_;
113 Ptr<PartitionedVector<Real> >
ww_;
154 Real tol =
static_cast<Real
>(1e-12);
161 Real tol = std::sqrt(ROL_EPSILON<Real>());
169 Real tol =
static_cast<Real
>(1e-12);
178 Real tol =
static_cast<Real
>(1e-12);
185 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.