ROL
|
#include <ROL_RiddersProjection.hpp>
Public Member Functions | |
RiddersProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< Constraint< Real >> &con, const Vector< Real > &mul, const Vector< Real > &res) | |
RiddersProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< Constraint< Real >> &con, const Vector< Real > &mul, const Vector< Real > &res, ParameterList &list) | |
void | project (Vector< Real > &x, std::ostream &stream=std::cout) override |
Public Member Functions inherited from ROL::PolyhedralProjection< Real > | |
virtual | ~PolyhedralProjection () |
PolyhedralProjection (const Ptr< BoundConstraint< Real >> &bnd) | |
PolyhedralProjection (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< Constraint< Real >> &con, const Vector< Real > &mul, const Vector< Real > &res) | |
const Ptr< Constraint< Real > > | getLinearConstraint (void) const |
const Ptr< BoundConstraint < Real > > | getBoundConstraint (void) const |
const Ptr< Vector< Real > > | getMultiplier (void) const |
const Ptr< Vector< Real > > | getResidual (void) const |
Private Member Functions | |
void | initialize (const Vector< Real > &xprim, const Vector< Real > &xdual, const Ptr< BoundConstraint< Real >> &bnd, const Ptr< Constraint< Real >> &con, const Vector< Real > &mul, const Vector< Real > &res) |
Real | residual (const Vector< Real > &x) const |
void | update_primal (Vector< Real > &y, const Vector< Real > &x, const Real lam) const |
void | project_df (Vector< Real > &x, Real &lam, Real &dlam, std::ostream &stream=std::cout) const |
Private Attributes | |
int | dim_ |
Ptr< Vector< Real > > | xnew_ |
Ptr< Vector< Real > > | Px_ |
Real | b_ |
Real | mul1_ |
Real | dlam1_ |
Real | cdot_ |
Real | DEFAULT_atol_ |
Real | DEFAULT_rtol_ |
Real | DEFAULT_ltol_ |
int | DEFAULT_maxit_ |
int | DEFAULT_verbosity_ |
Real | atol_ |
Real | rtol_ |
Real | ltol_ |
int | maxit_ |
int | verbosity_ |
Real | ctol_ |
Additional Inherited Members | |
Protected Attributes inherited from ROL::PolyhedralProjection< Real > | |
const Ptr< BoundConstraint < Real > > | bnd_ |
const Ptr< Constraint< Real > > | con_ |
Ptr< Vector< Real > > | xprim_ |
Ptr< Vector< Real > > | xdual_ |
Ptr< Vector< Real > > | mul_ |
Ptr< Vector< Real > > | res_ |
Definition at line 19 of file ROL_RiddersProjection.hpp.
ROL::RiddersProjection< Real >::RiddersProjection | ( | const Vector< Real > & | xprim, |
const Vector< Real > & | xdual, | ||
const Ptr< BoundConstraint< Real >> & | bnd, | ||
const Ptr< Constraint< Real >> & | con, | ||
const Vector< Real > & | mul, | ||
const Vector< Real > & | res | ||
) |
Definition at line 16 of file ROL_RiddersProjection_Def.hpp.
References ROL::RiddersProjection< Real >::initialize().
ROL::RiddersProjection< Real >::RiddersProjection | ( | const Vector< Real > & | xprim, |
const Vector< Real > & | xdual, | ||
const Ptr< BoundConstraint< Real >> & | bnd, | ||
const Ptr< Constraint< Real >> & | con, | ||
const Vector< Real > & | mul, | ||
const Vector< Real > & | res, | ||
ParameterList & | list | ||
) |
Definition at line 37 of file ROL_RiddersProjection_Def.hpp.
References ROL::RiddersProjection< Real >::atol_, ROL::RiddersProjection< Real >::DEFAULT_atol_, ROL::RiddersProjection< Real >::DEFAULT_ltol_, ROL::RiddersProjection< Real >::DEFAULT_maxit_, ROL::RiddersProjection< Real >::DEFAULT_rtol_, ROL::RiddersProjection< Real >::DEFAULT_verbosity_, ROL::RiddersProjection< Real >::initialize(), ROL::RiddersProjection< Real >::ltol_, ROL::RiddersProjection< Real >::maxit_, ROL::RiddersProjection< Real >::rtol_, and ROL::RiddersProjection< Real >::verbosity_.
|
private |
Definition at line 64 of file ROL_RiddersProjection_Def.hpp.
References ROL::Vector< Real >::clone(), ROL::Vector< Real >::dimension(), and ROL::Temp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
overridevirtual |
Reimplemented from ROL::PolyhedralProjection< Real >.
Definition at line 100 of file ROL_RiddersProjection_Def.hpp.
|
private |
Definition at line 115 of file ROL_RiddersProjection_Def.hpp.
|
private |
Definition at line 120 of file ROL_RiddersProjection_Def.hpp.
References ROL::Vector< Real >::axpy(), and ROL::Vector< Real >::set().
|
private |
Definition at line 127 of file ROL_RiddersProjection_Def.hpp.
References ROL::Vector< Real >::set(), and zero.
|
private |
Definition at line 21 of file ROL_RiddersProjection.hpp.
|
private |
Definition at line 22 of file ROL_RiddersProjection.hpp.
|
private |
Definition at line 22 of file ROL_RiddersProjection.hpp.
|
private |
Definition at line 23 of file ROL_RiddersProjection.hpp.
|
private |
Definition at line 23 of file ROL_RiddersProjection.hpp.
|
private |
Definition at line 23 of file ROL_RiddersProjection.hpp.
|
private |
Definition at line 23 of file ROL_RiddersProjection.hpp.
|
private |
Definition at line 25 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 25 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 25 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 26 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 26 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 28 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 28 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 28 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 29 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 29 of file ROL_RiddersProjection.hpp.
Referenced by ROL::RiddersProjection< Real >::RiddersProjection().
|
private |
Definition at line 31 of file ROL_RiddersProjection.hpp.