ROL
|
Unifies the constraint defined on a single time step that are defined through the Constraint_TimeSimOpt interface into a SimOpt constraint for all time. Primarily intended for use in testing the parallel-in-time implementation. More...
#include <ROL_Constraint_SerialSimOpt.hpp>
Public Member Functions | |
Constraint_SerialSimOpt (const Ptr< Con > &con, const V &ui, const V &zi) | |
virtual void | value (V &c, const V &u, const V &z, Real &tol) override |
Evaluate the constraint operator \(c:\mathcal{U}\times\mathcal{Z} \rightarrow \mathcal{C}\) at \((u,z)\). More... | |
virtual void | solve (V &c, V &u, const V &z, Real &tol) override |
Given \(z\), solve \(c(u,z)=0\) for \(u\). More... | |
virtual void | applyJacobian_1 (V &jv, const V &v, const V &u, const V &z, Real &tol) override |
Apply the partial constraint Jacobian at \((u,z)\), \(c_u(u,z) \in L(\mathcal{U}, \mathcal{C})\), to the vector \(v\). More... | |
virtual void | applyJacobian_2 (V &jv, const V &v, const V &u, const V &z, Real &tol) override |
Apply the partial constraint Jacobian at \((u,z)\), \(c_z(u,z) \in L(\mathcal{Z}, \mathcal{C})\), to the vector \(v\). More... | |
virtual void | applyInverseJacobian_1 (V &ijv, const V &v, const V &u, const V &z, Real &tol) override |
Apply the inverse partial constraint Jacobian at \((u,z)\), \(c_u(u,z)^{-1} \in L(\mathcal{C}, \mathcal{U})\), to the vector \(v\). More... | |
virtual void | applyAdjointJacobian_1 (V &ajv, const V &v, const V &u, const V &z, Real &tol) override |
Apply the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_u(u,z)^* \in L(\mathcal{C}^*, \mathcal{U}^*)\), to the vector \(v\). This is the primary interface. More... | |
virtual void | applyAdjointJacobian_1 (V &ajv, const V &v, const V &u, const V &z, const V &dualv, Real &tol) override |
Apply the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_u(u,z)^* \in L(\mathcal{C}^*, \mathcal{U}^*)\), to the vector \(v\). This is the secondary interface, for use with dual spaces where the user does not define the dual() operation. More... | |
virtual void | applyAdjointJacobian_2 (V &ajv, const V &v, const V &u, const V &z, Real &tol) override |
Apply the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_z(u,z)^* \in L(\mathcal{C}^*, \mathcal{Z}^*)\), to vector \(v\). This is the primary interface. More... | |
virtual void | applyAdjointJacobian_2 (V &ajv, const V &v, const V &u, const V &z, const V &dualv, Real &tol) override |
Apply the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_z(u,z)^* \in L(\mathcal{C}^*, \mathcal{Z}^*)\), to vector \(v\). This is the secondary interface, for use with dual spaces where the user does not define the dual() operation. More... | |
virtual void | applyInverseAdjointJacobian_1 (V &iajv, const V &v, const V &u, const V &z, Real &tol) override |
Apply the inverse of the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_u(u,z)^{-*} \in L(\mathcal{U}^*, \mathcal{C}^*)\), to the vector \(v\). More... | |
virtual void | applyAdjointHessian_11 (V &ahwv, const V &w, const V &v, const V &u, const V &z, Real &tol) override |
Apply the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uu}(u,z)(v,\cdot)^*w\). More... | |
virtual void | applyAdjointHessian_11 (V &ahwv, const V &w, const V &v, const V &u, const V &z, Real &tol) override |
Apply the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uu}(u,z)(v,\cdot)^*w\). More... | |
virtual void | applyAdjointHessian_11 (V &ahwv, const V &w, const V &v, const V &u, const V &z, Real &tol) override |
Apply the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uu}(u,z)(v,\cdot)^*w\). More... | |
virtual void | applyAdjointHessian_11 (V &ahwv, const V &w, const V &v, const V &u, const V &z, Real &tol) override |
Apply the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uu}(u,z)(v,\cdot)^*w\). More... | |
Public Member Functions inherited from ROL::ROL::Constraint_SimOpt< Real > | |
Constraint_SimOpt () | |
virtual void | update (const Vector< Real > &u, const Vector< Real > &z, bool flag=true, int iter=-1) |
Update constraint functions. x is the optimization variable, flag = true if optimization variable is changed, iter is the outer algorithm iterations count. More... | |
virtual void | update_1 (const Vector< Real > &u, bool flag=true, int iter=-1) |
Update constraint functions with respect to Sim variable. x is the optimization variable, flag = true if optimization variable is changed, iter is the outer algorithm iterations count. More... | |
virtual void | update_2 (const Vector< Real > &z, bool flag=true, int iter=-1) |
Update constraint functions with respect to Opt variable. x is the optimization variable, flag = true if optimization variable is changed, iter is the outer algorithm iterations count. More... | |
virtual void | setSolveParameters (ParameterList &parlist) |
Set solve parameters. More... | |
virtual void | applyAdjointHessian_12 (Vector< Real > &ahwv, const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol) |
Apply the optimization-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uz}(u,z)(v,\cdot)^*w\). More... | |
virtual void | applyAdjointHessian_21 (Vector< Real > &ahwv, const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol) |
Apply the simulation-space derivative of the adjoint of the constraint optimization-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{zu}(u,z)(v,\cdot)^*w\). More... | |
virtual void | applyAdjointHessian_22 (Vector< Real > &ahwv, const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol) |
Apply the optimization-space derivative of the adjoint of the constraint optimization-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{zz}(u,z)(v,\cdot)^*w\). More... | |
virtual std::vector< Real > | solveAugmentedSystem (Vector< Real > &v1, Vector< Real > &v2, const Vector< Real > &b1, const Vector< Real > &b2, const Vector< Real > &x, Real &tol) |
Approximately solves the augmented system
\[ \begin{pmatrix} I & c'(x)^* \\ c'(x) & 0 \end{pmatrix} \begin{pmatrix} v_{1} \\ v_{2} \end{pmatrix} = \begin{pmatrix} b_{1} \\ b_{2} \end{pmatrix} \] where \(v_{1} \in \mathcal{X}\), \(v_{2} \in \mathcal{C}^*\), \(b_{1} \in \mathcal{X}^*\), \(b_{2} \in \mathcal{C}\), \(I : \mathcal{X} \rightarrow \mathcal{X}^*\) is an identity operator, and \(0 : \mathcal{C}^* \rightarrow \mathcal{C}\) is a zero operator. More... | |
virtual void | applyPreconditioner (Vector< Real > &pv, const Vector< Real > &v, const Vector< Real > &x, const Vector< Real > &g, Real &tol) |
Apply a constraint preconditioner at \(x\), \(P(x) \in L(\mathcal{C}, \mathcal{C})\), to vector \(v\). In general, this preconditioner satisfies the following relationship:
\[ c'(x) c'(x)^* P(x) v \approx v \,. \] It is used by the solveAugmentedSystem method. More... | |
virtual void | update (const Vector< Real > &x, bool flag=true, int iter=-1) |
Update constraint functions. x is the optimization variable, flag = true if optimization variable is changed, iter is the outer algorithm iterations count. More... | |
virtual void | value (Vector< Real > &c, const Vector< Real > &x, Real &tol) |
Evaluate the constraint operator \(c:\mathcal{X} \rightarrow \mathcal{C}\) at \(x\). More... | |
virtual void | applyJacobian (Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
Apply the constraint Jacobian at \(x\), \(c'(x) \in L(\mathcal{X}, \mathcal{C})\), to vector \(v\). More... | |
virtual void | applyAdjointJacobian (Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
Apply the adjoint of the the constraint Jacobian at \(x\), \(c'(x)^* \in L(\mathcal{C}^*, \mathcal{X}^*)\), to vector \(v\). More... | |
virtual void | applyAdjointHessian (Vector< Real > &ahwv, const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &x, Real &tol) |
Apply the derivative of the adjoint of the constraint Jacobian at \(x\) to vector \(u\) in direction \(v\), according to \( v \mapsto c''(x)(v,\cdot)^*u \). More... | |
virtual Real | checkSolve (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &c, const bool printToStream=true, std::ostream &outStream=std::cout) |
virtual Real | checkAdjointConsistencyJacobian_1 (const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, const bool printToStream=true, std::ostream &outStream=std::cout) |
Check the consistency of the Jacobian and its adjoint. This is the primary interface. More... | |
virtual Real | checkAdjointConsistencyJacobian_1 (const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &dualw, const Vector< Real > &dualv, const bool printToStream=true, std::ostream &outStream=std::cout) |
Check the consistency of the Jacobian and its adjoint. This is the secondary interface, for use with dual spaces where the user does not define the dual() operation. More... | |
virtual Real | checkAdjointConsistencyJacobian_2 (const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, const bool printToStream=true, std::ostream &outStream=std::cout) |
Check the consistency of the Jacobian and its adjoint. This is the primary interface. More... | |
virtual Real | checkAdjointConsistencyJacobian_2 (const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &dualw, const Vector< Real > &dualv, const bool printToStream=true, std::ostream &outStream=std::cout) |
Check the consistency of the Jacobian and its adjoint. This is the secondary interface, for use with dual spaces where the user does not define the dual() operation. More... | |
virtual Real | checkInverseJacobian_1 (const Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, const bool printToStream=true, std::ostream &outStream=std::cout) |
virtual Real | checkInverseAdjointJacobian_1 (const Vector< Real > &jv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, const bool printToStream=true, std::ostream &outStream=std::cout) |
std::vector< std::vector< Real > > | checkApplyJacobian_1 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &v, const Vector< Real > &jv, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
std::vector< std::vector< Real > > | checkApplyJacobian_1 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &v, const Vector< Real > &jv, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
std::vector< std::vector< Real > > | checkApplyJacobian_2 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &v, const Vector< Real > &jv, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
std::vector< std::vector< Real > > | checkApplyJacobian_2 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &v, const Vector< Real > &jv, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
std::vector< std::vector< Real > > | checkApplyAdjointHessian_11 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &p, const Vector< Real > &v, const Vector< Real > &hv, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
std::vector< std::vector< Real > > | checkApplyAdjointHessian_11 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &p, const Vector< Real > &v, const Vector< Real > &hv, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
std::vector< std::vector< Real > > | checkApplyAdjointHessian_21 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &p, const Vector< Real > &v, const Vector< Real > &hv, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
\( u\in U \), \( z\in Z \), \( p\in C^\ast \), \( v \in U \), \( hv \in U^\ast \) More... | |
std::vector< std::vector< Real > > | checkApplyAdjointHessian_21 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &p, const Vector< Real > &v, const Vector< Real > &hv, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
\( u\in U \), \( z\in Z \), \( p\in C^\ast \), \( v \in U \), \( hv \in U^\ast \) More... | |
std::vector< std::vector< Real > > | checkApplyAdjointHessian_12 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &p, const Vector< Real > &v, const Vector< Real > &hv, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
\( u\in U \), \( z\in Z \), \( p\in C^\ast \), \( v \in U \), \( hv \in U^\ast \) More... | |
std::vector< std::vector< Real > > | checkApplyAdjointHessian_12 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &p, const Vector< Real > &v, const Vector< Real > &hv, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
std::vector< std::vector< Real > > | checkApplyAdjointHessian_22 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &p, const Vector< Real > &v, const Vector< Real > &hv, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
std::vector< std::vector< Real > > | checkApplyAdjointHessian_22 (const Vector< Real > &u, const Vector< Real > &z, const Vector< Real > &p, const Vector< Real > &v, const Vector< Real > &hv, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
Public Member Functions inherited from ROL::Constraint< Real > | |
virtual | ~Constraint (void) |
Constraint (void) | |
virtual void | applyAdjointJacobian (Vector< Real > &ajv, const Vector< Real > &v, const Vector< Real > &x, const Vector< Real > &dualv, Real &tol) |
Apply the adjoint of the the constraint Jacobian at \(x\), \(c'(x)^* \in L(\mathcal{C}^*, \mathcal{X}^*)\), to vector \(v\). More... | |
void | activate (void) |
Turn on constraints. More... | |
void | deactivate (void) |
Turn off constraints. More... | |
bool | isActivated (void) |
Check if constraints are on. More... | |
virtual std::vector < std::vector< Real > > | checkApplyJacobian (const Vector< Real > &x, const Vector< Real > &v, const Vector< Real > &jv, const std::vector< Real > &steps, const bool printToStream=true, std::ostream &outStream=std::cout, const int order=1) |
Finite-difference check for the constraint Jacobian application. More... | |
virtual std::vector < std::vector< Real > > | checkApplyJacobian (const Vector< Real > &x, const Vector< Real > &v, const Vector< Real > &jv, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
Finite-difference check for the constraint Jacobian application. More... | |
virtual std::vector < std::vector< Real > > | checkApplyAdjointJacobian (const Vector< Real > &x, const Vector< Real > &v, const Vector< Real > &c, const Vector< Real > &ajv, const bool printToStream=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS) |
Finite-difference check for the application of the adjoint of constraint Jacobian. More... | |
virtual Real | checkAdjointConsistencyJacobian (const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &x, const bool printToStream=true, std::ostream &outStream=std::cout) |
virtual Real | checkAdjointConsistencyJacobian (const Vector< Real > &w, const Vector< Real > &v, const Vector< Real > &x, const Vector< Real > &dualw, const Vector< Real > &dualv, const bool printToStream=true, std::ostream &outStream=std::cout) |
virtual std::vector < std::vector< Real > > | checkApplyAdjointHessian (const Vector< Real > &x, const Vector< Real > &u, const Vector< Real > &v, const Vector< Real > &hv, const std::vector< Real > &step, const bool printToScreen=true, std::ostream &outStream=std::cout, const int order=1) |
Finite-difference check for the application of the adjoint of constraint Hessian. More... | |
virtual std::vector < std::vector< Real > > | checkApplyAdjointHessian (const Vector< Real > &x, const Vector< Real > &u, const Vector< Real > &v, const Vector< Real > &hv, const bool printToScreen=true, std::ostream &outStream=std::cout, const int numSteps=ROL_NUM_CHECKDERIV_STEPS, const int order=1) |
Finite-difference check for the application of the adjoint of constraint Hessian. More... | |
virtual void | setParameter (const std::vector< Real > ¶m) |
Protected Member Functions | |
PV & | partition (V &x) const |
const V & | partition (const V &x) const |
Protected Member Functions inherited from ROL::Constraint< Real > | |
const std::vector< Real > | getParameter (void) const |
Private Types | |
using | V = Vector< Real > |
using | PV = PartitionedVector< Real > |
using | Con = Constraint_TimeSimOpt< Real > |
using | size_type = typename PV< Real >::size_type |
Private Attributes | |
const Ptr< Con > | con_ |
const Ptr< V > | ui_ |
Ptr< V > | u0_ |
Pre< V > | z0_ |
VectorWorkspace< Real > | workspace_ |
Additional Inherited Members | |
Protected Attributes inherited from ROL::ROL::Constraint_SimOpt< Real > | |
Real | atol_ |
Real | rtol_ |
Real | stol_ |
Real | factor_ |
Real | decr_ |
int | maxit_ |
bool | print_ |
bool | zero_ |
int | solverType_ |
bool | firstSolve_ |
Unifies the constraint defined on a single time step that are defined through the Constraint_TimeSimOpt interface into a SimOpt constraint for all time. Primarily intended for use in testing the parallel-in-time implementation.
In contrast to Constraint_PinTSimOpt, where the argument vectors are PartitionedVectors with Vector_SimOpt, the approach here is to consider the state and control to be of PartitionedVector type directly.
NOTE: This class does not address non-autonomous systems as constraints. The formulas involving adjoint Jacobians are almost certainly incorrect in such cases. This will need to be fixed if the Constraint_TimeSimOpt interface can accommodate explicit functions of time. Additionally, opt vectors are assumed to be constant in time on a time step.
Definition at line 79 of file ROL_Constraint_SerialSimOpt.hpp.
|
private |
Definition at line 81 of file ROL_Constraint_SerialSimOpt.hpp.
|
private |
Definition at line 82 of file ROL_Constraint_SerialSimOpt.hpp.
|
private |
Definition at line 83 of file ROL_Constraint_SerialSimOpt.hpp.
|
private |
Definition at line 85 of file ROL_Constraint_SerialSimOpt.hpp.
|
inline |
Definition at line 105 of file ROL_Constraint_SerialSimOpt.hpp.
|
inlineprotected |
Definition at line 98 of file ROL_Constraint_SerialSimOpt.hpp.
Referenced by ROL::Constraint_SerialSimOpt< Real >::applyAdjointJacobian_1(), ROL::Constraint_SerialSimOpt< Real >::applyAdjointJacobian_2(), ROL::Constraint_SerialSimOpt< Real >::applyInverseAdjointJacobian_1(), ROL::Constraint_SerialSimOpt< Real >::applyJacobian_2(), ROL::ROL::Constraint_TimeSimOpt< Real >::update(), and ROL::ROL::Constraint_TimeSimOpt< Real >::update_2().
|
inlineprotected |
Definition at line 100 of file ROL_Constraint_SerialSimOpt.hpp.
|
inlineoverridevirtual |
Evaluate the constraint operator \(c:\mathcal{U}\times\mathcal{Z} \rightarrow \mathcal{C}\) at \((u,z)\).
[out] | c | is the result of evaluating the constraint operator at \((u,z)\); a constraint-space vector |
[in] | u | is the constraint argument; a simulation-space vector |
[in] | z | is the constraint argument; an optimization-space vector |
[in,out] | tol | is a tolerance for inexact evaluations; currently unused |
On return, \(\mathsf{c} = c(u,z)\), where \(\mathsf{c} \in \mathcal{C}\), \(\mathsf{u} \in \mathcal{U}\), and $ \(\mathsf{z} \in\mathcal{Z}\).
Implements ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 121 of file ROL_Constraint_SerialSimOpt.hpp.
|
inlineoverridevirtual |
Given \(z\), solve \(c(u,z)=0\) for \(u\).
[out] | c | is the result of evaluating the constraint operator at \((u,z)\); a constraint-space vector |
[in,out] | u | is the solution vector; a simulation-space vector |
[in] | z | is the constraint argument; an optimization-space vector |
[in,out] | tol | is a tolerance for inexact evaluations; currently unused |
The defualt implementation is Newton's method globalized with a backtracking line search.
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 135 of file ROL_Constraint_SerialSimOpt.hpp.
|
inlineoverridevirtual |
Apply the partial constraint Jacobian at \((u,z)\), \(c_u(u,z) \in L(\mathcal{U}, \mathcal{C})\), to the vector \(v\).
@param[out] jv is the result of applying the constraint Jacobian to @b v at @b \form#196; a constraint-space vector @param[in] v is a simulation-space vector @param[in] u is the constraint argument; an simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#201, where
\(v \in \mathcal{U}\), \(\mathsf{jv} \in \mathcal{C}\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 149 of file ROL_Constraint_SerialSimOpt.hpp.
|
inlineoverridevirtual |
Apply the partial constraint Jacobian at \((u,z)\), \(c_z(u,z) \in L(\mathcal{Z}, \mathcal{C})\), to the vector \(v\).
@param[out] jv is the result of applying the constraint Jacobian to @b v at @b \form#196; a constraint-space vector @param[in] v is an optimization-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#204, where
\(v \in \mathcal{Z}\), \(\mathsf{jv} \in \mathcal{C}\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 165 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Constraint_SerialSimOpt< Real >::partition().
|
inlineoverridevirtual |
Apply the inverse partial constraint Jacobian at \((u,z)\), \(c_u(u,z)^{-1} \in L(\mathcal{C}, \mathcal{U})\), to the vector \(v\).
@param[out] ijv is the result of applying the inverse constraint Jacobian to @b v at @b \form#196; a simulation-space vector @param[in] v is a constraint-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#207, where
\(v \in \mathcal{C}\), \(\mathsf{ijv} \in \mathcal{U}\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 176 of file ROL_Constraint_SerialSimOpt.hpp.
|
inlineoverridevirtual |
Apply the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_u(u,z)^* \in L(\mathcal{C}^*, \mathcal{U}^*)\), to the vector \(v\). This is the primary interface.
@param[out] ajv is the result of applying the adjoint of the constraint Jacobian to @b v at @b (u,z); a dual simulation-space vector @param[in] v is a dual constraint-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#210, where
\(v \in \mathcal{C}^*\), \(\mathsf{ajv} \in \mathcal{U}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 199 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Constraint_SerialSimOpt< Real >::partition().
|
inlineoverridevirtual |
Apply the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_u(u,z)^* \in L(\mathcal{C}^*, \mathcal{U}^*)\), to the vector \(v\). This is the secondary interface, for use with dual spaces where the user does not define the dual() operation.
@param[out] ajv is the result of applying the adjoint of the constraint Jacobian to @b v at @b (u,z); a dual simulation-space vector @param[in] v is a dual constraint-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in] dualv is a vector used for temporary variables; a constraint-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#210, where
\(v \in \mathcal{C}^*\), \(\mathsf{ajv} \in \mathcal{U}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 226 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Constraint_SerialSimOpt< Real >::con_, ROL::Constraint_SerialSimOpt< Real >::partition(), and ROL::Constraint_SerialSimOpt< Real >::u0_.
|
inlineoverridevirtual |
Apply the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_z(u,z)^* \in L(\mathcal{C}^*, \mathcal{Z}^*)\), to vector \(v\). This is the primary interface.
@param[out] ajv is the result of applying the adjoint of the constraint Jacobian to @b v at @b \form#196; a dual optimization-space vector @param[in] v is a dual constraint-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#213, where
\(v \in \mathcal{C}^*\), \(\mathsf{ajv} \in \mathcal{Z}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 252 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Constraint_SerialSimOpt< Real >::con_, and ROL::Constraint_SerialSimOpt< Real >::partition().
|
inlineoverridevirtual |
Apply the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_z(u,z)^* \in L(\mathcal{C}^*, \mathcal{Z}^*)\), to vector \(v\). This is the secondary interface, for use with dual spaces where the user does not define the dual() operation.
@param[out] ajv is the result of applying the adjoint of the constraint Jacobian to @b v at @b \form#196; a dual optimization-space vector @param[in] v is a dual constraint-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in] dualv is a vector used for temporary variables; a constraint-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#213, where
\(v \in \mathcal{C}^*\), \(\mathsf{ajv} \in \mathcal{Z}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 263 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Constraint_SerialSimOpt< Real >::con_, and ROL::Constraint_SerialSimOpt< Real >::partition().
|
inlineoverridevirtual |
Apply the inverse of the adjoint of the partial constraint Jacobian at \((u,z)\), \(c_u(u,z)^{-*} \in L(\mathcal{U}^*, \mathcal{C}^*)\), to the vector \(v\).
@param[out] iajv is the result of applying the inverse adjoint of the constraint Jacobian to @b v at @b (u,z); a dual constraint-space vector @param[in] v is a dual simulation-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#216, where
\(v \in \mathcal{U}^*\), \(\mathsf{iajv} \in \mathcal{C}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 275 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Constraint_SerialSimOpt< Real >::partition().
|
inlineoverridevirtual |
Apply the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uu}(u,z)(v,\cdot)^*w\).
@param[out] ahwv is the result of applying the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at @b \form#196 to the vector @b \form#219 in direction @b \form#219; a dual simulation-space vector @param[in] w is the direction vector; a dual constraint-space vector @param[in] v is a simulation-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#221, where
\(w \in \mathcal{C}^*\), \(v \in \mathcal{U}\), and \(\mathsf{ahwv} \in \mathcal{U}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 307 of file ROL_Constraint_SerialSimOpt.hpp.
|
inlineoverridevirtual |
Apply the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uu}(u,z)(v,\cdot)^*w\).
@param[out] ahwv is the result of applying the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at @b \form#196 to the vector @b \form#219 in direction @b \form#219; a dual simulation-space vector @param[in] w is the direction vector; a dual constraint-space vector @param[in] v is a simulation-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#221, where
\(w \in \mathcal{C}^*\), \(v \in \mathcal{U}\), and \(\mathsf{ahwv} \in \mathcal{U}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 313 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Vector< Real >::zero().
|
inlineoverridevirtual |
Apply the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uu}(u,z)(v,\cdot)^*w\).
@param[out] ahwv is the result of applying the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at @b \form#196 to the vector @b \form#219 in direction @b \form#219; a dual simulation-space vector @param[in] w is the direction vector; a dual constraint-space vector @param[in] v is a simulation-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#221, where
\(w \in \mathcal{C}^*\), \(v \in \mathcal{U}\), and \(\mathsf{ahwv} \in \mathcal{U}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 318 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Vector< Real >::zero().
|
inlineoverridevirtual |
Apply the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at \((u,z)\) to the vector \(w\) in the direction \(v\), according to \(v\mapsto c_{uu}(u,z)(v,\cdot)^*w\).
@param[out] ahwv is the result of applying the simulation-space derivative of the adjoint of the constraint simulation-space Jacobian at @b \form#196 to the vector @b \form#219 in direction @b \form#219; a dual simulation-space vector @param[in] w is the direction vector; a dual constraint-space vector @param[in] v is a simulation-space vector @param[in] u is the constraint argument; a simulation-space vector @param[in] z is the constraint argument; an optimization-space vector @param[in,out] tol is a tolerance for inexact evaluations; currently unused On return, \form#221, where
\(w \in \mathcal{C}^*\), \(v \in \mathcal{U}\), and \(\mathsf{ahwv} \in \mathcal{U}^*\).
Reimplemented from ROL::ROL::Constraint_SimOpt< Real >.
Definition at line 323 of file ROL_Constraint_SerialSimOpt.hpp.
References ROL::Vector< Real >::zero().
|
private |
Definition at line 89 of file ROL_Constraint_SerialSimOpt.hpp.
Referenced by ROL::Constraint_SerialSimOpt< Real >::applyAdjointJacobian_1(), ROL::Constraint_SerialSimOpt< Real >::applyAdjointJacobian_2(), ROL::ROL::Constraint_SimOpt< Real >::solve(), ROL::ROL::Constraint_TimeSimOpt< Real >::update(), ROL::ROL::Constraint_SimOpt< Real >::update(), ROL::ROL::Constraint_TimeSimOpt< Real >::update_1_new(), ROL::ROL::Constraint_TimeSimOpt< Real >::update_2(), and ROL::ROL::Constraint_TimeSimOpt< Real >::value().
|
private |
Definition at line 90 of file ROL_Constraint_SerialSimOpt.hpp.
|
private |
Definition at line 91 of file ROL_Constraint_SerialSimOpt.hpp.
Referenced by ROL::Constraint_SerialSimOpt< Real >::applyAdjointJacobian_1(), ROL::ROL::Constraint_TimeSimOpt< Real >::update(), and ROL::ROL::Constraint_TimeSimOpt< Real >::update_2().
|
private |
Definition at line 92 of file ROL_Constraint_SerialSimOpt.hpp.
|
private |
Definition at line 94 of file ROL_Constraint_SerialSimOpt.hpp.
Referenced by ROL::ROL::Constraint_TimeSimOpt< Real >::update().