ROL
ROL_Objective_TimeSimOpt.hpp File Reference

Go to the source code of this file.

Macros

#define ROL_OBJECTIVE_TIMESIMOPT_HPP

Functions

virtual void update (const Vector< Real > &u_old, const Vector< Real > &u_new, const Vector< Real > &z, bool flag=true, int iter=-1)
virtual void update_1_old (const Vector< Real > &u_old, bool flag=true, int iter=-1)
 Update constraint functions with respect to Sim variable.
u_old is the state variable flag = true if optimization variable is changed, iter is the outer algorithm iterations count.
virtual void update_1_new (const Vector< Real > &u_new, bool flag=true, int iter=-1)
 Update constraint functions with respect to Sim variable.
u_new is the state variable flag = true if optimization variable is changed, iter is the outer algorithm iterations count.
virtual void update_2 (const Vector< Real > &z, bool flag=true, int iter=-1) override
 Update constraint functions with respect to Opt variable. z is the control variable, flag = true if optimization variable is changed, iter is the outer algorithm iterations count.
virtual Real value (const Vector< Real > &u_old, const Vector< Real > &u_new, const Vector< Real > &z, Real &tol)
 Compute contribution to objective value from this time step.
virtual void gradient_1_old (Vector< Real > &g, const Vector< Real > &u_old, Vector< Real > &u_new, const Vector< Real > &z, Real &tol)
 Compute contribution to simulation term gradient from this time step.
virtual void gradient_1_new (Vector< Real > &g, const Vector< Real > &u_old, Vector< Real > &u_new, const Vector< Real > &z, Real &tol)
 Compute contribution to simulation term gradient from this time step.
virtual void gradient_2 (Vector< Real > &g, const Vector< Real > &u_old, Vector< Real > &u_new, const Vector< Real > &z, Real &tol) override
 Compute contribution to optimization term gradient from this time step.
virtual void hessVec_11_old (Vector< Real > &hv, const Vector< Real > &v_old, const Vector< Real > &u_old, const Vector< Real > &u_new, const Vector< Real > &z, Real &tol)
virtual void hessVec_11_new (Vector< Real > &hv, const Vector< Real > &v_new, const Vector< Real > &u_old, const Vector< Real > &u_new, const Vector< Real > &z, Real &tol)
virtual void update (const Vector< Real > &u, const Vector< Real > &z, bool flag=true, int iter=-1) override
virtual Real value (const Vector< Real > &u, const Vector< Real > &z, Real &tol) override
virtual void solve (Vector< Real > &c, Vector< Real > &u, const Vector< Real > &z) override
virtual void gradient_1 (Vector< Real > &g, const Vector< Real > &u, const Vector< Real > &z, Real &tol) override
virtual void gradient_2 (Vector< Real > &g, const Vector< Real > &u, const Vector< Real > &z, Real &tol) override
virtual void hessVec_11 (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol) override
virtual void hessVec_12 (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol) override
virtual void hessVec_21 (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol) override
virtual void hessVec_22 (Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, const Vector< Real > &z, Real &tol) override

Macro Definition Documentation

◆ ROL_OBJECTIVE_TIMESIMOPT_HPP

#define ROL_OBJECTIVE_TIMESIMOPT_HPP

Definition at line 12 of file ROL_Objective_TimeSimOpt.hpp.

Function Documentation

◆ update() [1/2]

◆ update_1_old()

virtual void update_1_old ( const Vector< Real > & u_old,
bool flag = true,
int iter = -1 )
virtual

Update constraint functions with respect to Sim variable.
u_old is the state variable flag = true if optimization variable is changed, iter is the outer algorithm iterations count.

Definition at line 94 of file ROL_Objective_TimeSimOpt.hpp.

Referenced by update().

◆ update_1_new()

virtual void update_1_new ( const Vector< Real > & u_new,
bool flag = true,
int iter = -1 )
virtual

Update constraint functions with respect to Sim variable.
u_new is the state variable flag = true if optimization variable is changed, iter is the outer algorithm iterations count.

Definition at line 101 of file ROL_Objective_TimeSimOpt.hpp.

Referenced by update().

◆ update_2()

virtual void update_2 ( const Vector< Real > & z,
bool flag = true,
int iter = -1 )
overridevirtual

Update constraint functions with respect to Opt variable. z is the control variable, flag = true if optimization variable is changed, iter is the outer algorithm iterations count.

Definition at line 108 of file ROL_Objective_TimeSimOpt.hpp.

Referenced by ROL::CompositeConstraint_SimOpt< Real >::update(), ROL::CompositeConstraint_SimOpt< Real >::update(), and update().

◆ value() [1/2]

virtual Real value ( const Vector< Real > & u_old,
const Vector< Real > & u_new,
const Vector< Real > & z,
Real & tol )
virtual

Compute contribution to objective value from this time step.

Definition at line 112 of file ROL_Objective_TimeSimOpt.hpp.

◆ gradient_1_old()

virtual void gradient_1_old ( Vector< Real > & g,
const Vector< Real > & u_old,
Vector< Real > & u_new,
const Vector< Real > & z,
Real & tol )
virtual

Compute contribution to simulation term gradient from this time step.

Definition at line 117 of file ROL_Objective_TimeSimOpt.hpp.

Referenced by gradient_1().

◆ gradient_1_new()

virtual void gradient_1_new ( Vector< Real > & g,
const Vector< Real > & u_old,
Vector< Real > & u_new,
const Vector< Real > & z,
Real & tol )
virtual

Compute contribution to simulation term gradient from this time step.

Definition at line 121 of file ROL_Objective_TimeSimOpt.hpp.

Referenced by gradient_1().

◆ gradient_2() [1/2]

virtual void gradient_2 ( Vector< Real > & g,
const Vector< Real > & u_old,
Vector< Real > & u_new,
const Vector< Real > & z,
Real & tol )
overridevirtual

Compute contribution to optimization term gradient from this time step.

Definition at line 126 of file ROL_Objective_TimeSimOpt.hpp.

◆ hessVec_11_old()

virtual void hessVec_11_old ( Vector< Real > & hv,
const Vector< Real > & v_old,
const Vector< Real > & u_old,
const Vector< Real > & u_new,
const Vector< Real > & z,
Real & tol )
virtual

Definition at line 129 of file ROL_Objective_TimeSimOpt.hpp.

◆ hessVec_11_new()

virtual void hessVec_11_new ( Vector< Real > & hv,
const Vector< Real > & v_new,
const Vector< Real > & u_old,
const Vector< Real > & u_new,
const Vector< Real > & z,
Real & tol )
virtual

Definition at line 133 of file ROL_Objective_TimeSimOpt.hpp.

◆ update() [2/2]

virtual void update ( const Vector< Real > & u,
const Vector< Real > & z,
bool flag = true,
int iter = -1 )
overridevirtual

Definition at line 140 of file ROL_Objective_TimeSimOpt.hpp.

References update().

◆ value() [2/2]

virtual Real value ( const Vector< Real > & u,
const Vector< Real > & z,
Real & tol )
overridevirtual

Definition at line 145 of file ROL_Objective_TimeSimOpt.hpp.

References ROL::value().

◆ solve()

virtual void solve ( Vector< Real > & c,
Vector< Real > & u,
const Vector< Real > & z )
overridevirtual

◆ gradient_1()

virtual void gradient_1 ( Vector< Real > & g,
const Vector< Real > & u,
const Vector< Real > & z,
Real & tol )
overridevirtual

Definition at line 154 of file ROL_Objective_TimeSimOpt.hpp.

References gradient_1_new(), gradient_1_old(), and workspace_.

◆ gradient_2() [2/2]

virtual void gradient_2 ( Vector< Real > & g,
const Vector< Real > & u,
const Vector< Real > & z,
Real & tol )
overridevirtual

Definition at line 169 of file ROL_Objective_TimeSimOpt.hpp.

References ROL::gradient_2().

◆ hessVec_11()

virtual void hessVec_11 ( Vector< Real > & hv,
const Vector< Real > & v,
const Vector< Real > & u,
const Vector< Real > & z,
Real & tol )
overridevirtual

Definition at line 177 of file ROL_Objective_TimeSimOpt.hpp.

References ROL::hessVec_11().

◆ hessVec_12()

virtual void hessVec_12 ( Vector< Real > & hv,
const Vector< Real > & v,
const Vector< Real > & u,
const Vector< Real > & z,
Real & tol )
overridevirtual

Definition at line 193 of file ROL_Objective_TimeSimOpt.hpp.

◆ hessVec_21()

virtual void hessVec_21 ( Vector< Real > & hv,
const Vector< Real > & v,
const Vector< Real > & u,
const Vector< Real > & z,
Real & tol )
overridevirtual

Definition at line 197 of file ROL_Objective_TimeSimOpt.hpp.

◆ hessVec_22()

virtual void hessVec_22 ( Vector< Real > & hv,
const Vector< Real > & v,
const Vector< Real > & u,
const Vector< Real > & z,
Real & tol )
overridevirtual

Definition at line 201 of file ROL_Objective_TimeSimOpt.hpp.