|
| | QuadraticPenalty (const ROL::Ptr< Constraint< Real > > &con, const Vector< Real > &multiplier, const Real penaltyParameter, const Vector< Real > &optVec, const Vector< Real > &conVec, const bool useScaling=false, const int HessianApprox=0) |
| |
| void | setScaling (const Real cscale=1) |
| |
| virtual void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
| | Update objective function.
|
| |
| virtual Real | value (const Vector< Real > &x, Real &tol) |
| | Compute value.
|
| |
| virtual void | gradient (Vector< Real > &g, const Vector< Real > &x, Real &tol) |
| | Compute gradient.
|
| |
| virtual void | hessVec (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
| | Apply Hessian approximation to vector.
|
| |
| virtual void | getConstraintVec (Vector< Real > &c, const Vector< Real > &x) |
| |
| virtual int | getNumberConstraintEvaluations (void) const |
| |
| virtual void | reset (const Vector< Real > &multiplier, const Real penaltyParameter) |
| |
| virtual | ~Objective () |
| |
| | Objective () |
| |
| virtual void | update (const Vector< Real > &x, UpdateType type, int iter=-1) |
| | Update objective function.
|
| |
| virtual Real | dirDeriv (const Vector< Real > &x, const Vector< Real > &d, Real &tol) |
| | Compute directional derivative.
|
| |
| virtual void | invHessVec (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
| | Apply inverse Hessian approximation to vector.
|
| |
| virtual void | precond (Vector< Real > &Pv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
| | Apply preconditioner to vector.
|
| |
| virtual std::vector< std::vector< Real > > | checkGradient (const Vector< Real > &x, const Vector< Real > &d, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
| | Finite-difference gradient check.
|
| |
| virtual std::vector< std::vector< Real > > | checkGradient (const Vector< Real > &x, const Vector< Real > &g, const Vector< Real > &d, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
| | Finite-difference gradient check.
|
| |
| virtual std::vector< std::vector< Real > > | checkGradient (const Vector< Real > &x, const Vector< Real > &d, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
| | Finite-difference gradient check with specified step sizes.
|
| |
| virtual std::vector< std::vector< Real > > | checkGradient (const Vector< Real > &x, const Vector< Real > &g, const Vector< Real > &d, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
| | Finite-difference gradient check with specified step sizes.
|
| |
| virtual std::vector< std::vector< Real > > | checkHessVec (const Vector< Real > &x, const Vector< Real > &v, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
| | Finite-difference Hessian-applied-to-vector check.
|
| |
| virtual std::vector< std::vector< Real > > | checkHessVec (const Vector< Real > &x, const Vector< Real > &hv, const Vector< Real > &v, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
| | Finite-difference Hessian-applied-to-vector check.
|
| |
| virtual std::vector< std::vector< Real > > | checkHessVec (const Vector< Real > &x, const Vector< Real > &v, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
| | Finite-difference Hessian-applied-to-vector check with specified step sizes.
|
| |
| virtual std::vector< std::vector< Real > > | checkHessVec (const Vector< Real > &x, const Vector< Real > &hv, const Vector< Real > &v, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
| | Finite-difference Hessian-applied-to-vector check with specified step sizes.
|
| |
| virtual std::vector< Real > | checkHessSym (const Vector< Real > &x, const Vector< Real > &v, const Vector< Real > &w, const bool printToStream=true, std::ostream &outStream=std::cout) |
| | Hessian symmetry check.
|
| |
| virtual std::vector< Real > | checkHessSym (const Vector< Real > &x, const Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &w, const bool printToStream=true, std::ostream &outStream=std::cout) |
| | Hessian symmetry check.
|
| |
| virtual void | setParameter (const std::vector< Real > ¶m) |
| |
template<class Real>
class ROL::ROL::QuadraticPenalty< Real >
Provides the interface to evaluate the quadratic constraint penalty.
This class implements the quadratic constraint penalty functional. Given an equality constraint \(c:\mathcal{X}\to\mathcal{C}\), the quadratic penalty functional is
\[
Q(x,\lambda,\mu) =
\langle \lambda, c(x)\rangle_{\mathcal{C}^*,\mathcal{C}} +
\frac{\mu}{2} \langle \mathfrak{R}c(x),c(x)\rangle_{\mathcal{C}^*,\mathcal{C}}
\]
where \(\lambda\in\mathcal{C}^*\) denotes a multiplier, \(\mu > 0\) is the penalty parameter and \(\mathfrak{R}\in\mathcal{L}(\mathcal{C},\mathcal{C}^*)\) is the Riesz operator on the constraint space.
This implementation permits the scaling of \(Q\) by \(\mu^{-1}\) and also permits the Hessian approximation
\[
\nabla^2_x Q(x,\lambda,\mu)v \approx \mu c'(x)^*\mathfrak{R} c'(x)v.
\]
Definition at line 84 of file ROL_Constraint_SerialSimOpt.hpp.