ROL
|
#include <ROL_SemismoothNewtonProjection.hpp>
Classes | |
class | Jacobian |
class | Precond |
Public Member Functions | |
SemismoothNewtonProjection (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) | |
SemismoothNewtonProjection (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 | |
Real | residual (Vector< Real > &r, const Vector< Real > &y) const |
void | solve_newton_system (Vector< Real > &s, const Vector< Real > &r, const Vector< Real > &y, const Real mu, const Real rho, int &iter, int &flag) const |
void | update_primal (Vector< Real > &y, const Vector< Real > &x, const Vector< Real > &lam) const |
void | project_ssn (Vector< Real > &x, Vector< Real > &lam, Vector< Real > &dlam, std::ostream &stream=std::cout) const |
Real | compute_tolerance () const |
Private Attributes | |
int | dim_ |
Ptr< Krylov< Real > > | krylov_ |
Ptr< Vector< Real > > | xnew_ |
Ptr< Vector< Real > > | lnew_ |
Ptr< Vector< Real > > | dlam_ |
Real | DEFAULT_atol_ |
Real | DEFAULT_rtol_ |
Real | DEFAULT_stol_ |
Real | DEFAULT_decr_ |
Real | DEFAULT_factor_ |
Real | DEFAULT_regscale_ |
Real | DEFAULT_errscale_ |
int | DEFAULT_maxit_ |
int | DEFAULT_lstype_ |
int | DEFAULT_verbosity_ |
bool | DEFAULT_useproj_ |
Real | atol_ |
Real | rtol_ |
Real | stol_ |
Real | decr_ |
Real | factor_ |
Real | regscale_ |
Real | errscale_ |
Real | ctol_ |
int | maxit_ |
int | lstype_ |
int | verbosity_ |
bool | useproj_ |
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 20 of file ROL_SemismoothNewtonProjection.hpp.
ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection | ( | 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_SemismoothNewtonProjection_Def.hpp.
References ROL::Vector< Real >::clone(), ROL::SemismoothNewtonProjection< Real >::compute_tolerance(), ROL::SemismoothNewtonProjection< Real >::ctol_, ROL::SemismoothNewtonProjection< Real >::dim_, ROL::Vector< Real >::dimension(), ROL::SemismoothNewtonProjection< Real >::dlam_, ROL::SemismoothNewtonProjection< Real >::krylov_, ROL::SemismoothNewtonProjection< Real >::lnew_, and ROL::SemismoothNewtonProjection< Real >::xnew_.
ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection | ( | 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 62 of file ROL_SemismoothNewtonProjection_Def.hpp.
References ROL::SemismoothNewtonProjection< Real >::atol_, ROL::Vector< Real >::clone(), ROL::SemismoothNewtonProjection< Real >::compute_tolerance(), ROL::SemismoothNewtonProjection< Real >::ctol_, ROL::SemismoothNewtonProjection< Real >::decr_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_atol_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_decr_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_errscale_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_factor_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_lstype_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_maxit_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_regscale_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_rtol_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_stol_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_useproj_, ROL::SemismoothNewtonProjection< Real >::DEFAULT_verbosity_, ROL::SemismoothNewtonProjection< Real >::dim_, ROL::Vector< Real >::dimension(), ROL::SemismoothNewtonProjection< Real >::dlam_, ROL::SemismoothNewtonProjection< Real >::errscale_, ROL::SemismoothNewtonProjection< Real >::factor_, ROL::SemismoothNewtonProjection< Real >::krylov_, ROL::SemismoothNewtonProjection< Real >::lnew_, ROL::SemismoothNewtonProjection< Real >::lstype_, ROL::SemismoothNewtonProjection< Real >::maxit_, ROL::SemismoothNewtonProjection< Real >::regscale_, ROL::SemismoothNewtonProjection< Real >::rtol_, ROL::SemismoothNewtonProjection< Real >::stol_, ROL::SemismoothNewtonProjection< Real >::useproj_, ROL::SemismoothNewtonProjection< Real >::verbosity_, and ROL::SemismoothNewtonProjection< Real >::xnew_.
|
overridevirtual |
Reimplemented from ROL::PolyhedralProjection< Real >.
Definition at line 118 of file ROL_SemismoothNewtonProjection_Def.hpp.
|
private |
Definition at line 128 of file ROL_SemismoothNewtonProjection_Def.hpp.
References ROL::Vector< Real >::norm(), and ROL::Temp.
|
private |
Definition at line 136 of file ROL_SemismoothNewtonProjection_Def.hpp.
|
private |
Definition at line 149 of file ROL_SemismoothNewtonProjection_Def.hpp.
References ROL::Vector< Real >::plus(), ROL::Vector< Real >::set(), and ROL::Temp.
|
private |
Definition at line 161 of file ROL_SemismoothNewtonProjection_Def.hpp.
References ROL::Vector< Real >::apply(), ROL::Vector< Real >::axpy(), ROL::Vector< Real >::dot(), ROL::Vector< Real >::set(), and zero.
|
private |
Definition at line 259 of file ROL_SemismoothNewtonProjection_Def.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 22 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 23 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 24 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 24 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 24 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 26 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 26 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 26 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 27 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 27 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 27 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 27 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 28 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 28 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 28 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 29 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 31 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 31 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 31 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 31 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 31 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 31 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 31 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 31 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 32 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 32 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 32 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().
|
private |
Definition at line 33 of file ROL_SemismoothNewtonProjection.hpp.
Referenced by ROL::SemismoothNewtonProjection< Real >::SemismoothNewtonProjection().