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_;
76 Ptr<Vector<Real> >
y_;
79 Ptr<Vector<Real> >
g_;
80 Ptr<Vector<Real> >
c_;
82 Ptr<Vector<Real> >
gL_;
104 Ptr<PartitionedVector<Real> >
vv_;
107 Ptr<PartitionedVector<Real> >
bb_;
148 Real tol =
static_cast<Real
>(1e-12);
155 Real tol = std::sqrt(ROL_EPSILON<Real>());
162 Real tol =
static_cast<Real
>(1e-12);
170 Real tol =
static_cast<Real
>(1e-12);
177 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 > > gPhi_
void setDelta(Real delta)
const Ptr< Constraint< Real > > con_
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
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_
void objGrad(const Vector< Real > &x, Real &tol)
Defines the general constraint operator interface.