ROL
|
Defines the a Vector which has a diagonally scaled dot product that neglects active set elements Used to simplify Semi-smooth Newton method implementation. More...
#include <ROL_InactiveSetVector.hpp>
Public Member Functions | |
InactiveSet_PrimalVector (const Ptr< V > &vec, const Ptr< V > &scaling_vec, const Ptr< V > &x, const Ptr< Bnd > &bnd) | |
virtual | ~InactiveSet_PrimalVector () |
Real | dot (const V &x) const override |
Ptr< V > | clone () const override |
Ptr< V > | basis (const int i) const override |
void const V & | dual () const override |
void | setIterateVector (const Ptr< V > &x) const |
const Ptr< V > & | getIterateVector () |
const Ptr< const V > & | getIterateVector () const |
Public Member Functions inherited from ROL::PrimalScaledVector< Real > | |
PrimalScaledVector (const Ptr< V > &vec, const Ptr< V > &scaling_vec) | |
virtual | ~PrimalScaledVector () |
const Ptr< V > & | getScalingVector () |
const Ptr< const V > & | getScalingVector () const |
void | setScalingVector (const Ptr< const V & > &scaling_vec) const |
WrappedVector (const Ptr< V > &vec) | |
virtual | ~WrappedVector () |
virtual void | plus (const V &x) override |
virtual void | scale (const Real alpha) override |
virtual Real | norm () const override |
virtual void | axpy (const Real alpha, const V &x) override |
virtual int | dimension () const override |
virtual void | set (const V &x) override |
virtual void | applyUnary (const Elementwise::UnaryFunction< Real > &f) override |
virtual void | applyBinary (const Elementwise::BinaryFunction< Real > &f, const V &x) override |
virtual Real | reduce (const Elementwise::ReductionOp< Real > &r) const override |
virtual void | setScalar (const Real C) override |
virtual void | randomize (const Real l=0.0, const Real u=1.0) override |
virtual void | print (std::ostream &os) override |
const Ptr< V > & | getVector () |
const Ptr< const V > & | getVector () const |
virtual void | setVector (const Ptr< const V > &vec) const |
Private Types | |
using | V = Vector< Real > |
using | Primal = InactiveSet_PrimalVector< Real > |
using | Dual = InactiveSet_DualVector< Real > |
using | Bnd = BoundConstraint< Real > |
Private Attributes | |
Ptr< V > | x_ |
Ptr< Bnd > | bnd_ |
Additional Inherited Members | |
Protected Member Functions inherited from ROL::PrimalScaledVector< Real > | |
VectorWorkspace< Real > & | getWorkspace () const |
void | multiply_scaling (const Ptr< V > &y) const |
Defines the a Vector which has a diagonally scaled dot product that neglects active set elements Used to simplify Semi-smooth Newton method implementation.
Definition at line 64 of file ROL_InactiveSetVector.hpp.
|
private |
Definition at line 71 of file ROL_InactiveSetVector.hpp.
|
private |
Definition at line 72 of file ROL_InactiveSetVector.hpp.
|
private |
Definition at line 73 of file ROL_InactiveSetVector.hpp.
|
private |
Definition at line 74 of file ROL_InactiveSetVector.hpp.
|
inline |
Definition at line 83 of file ROL_InactiveSetVector.hpp.
|
inlinevirtual |
Definition at line 89 of file ROL_InactiveSetVector.hpp.
|
inlineoverridevirtual |
Reimplemented from ROL::PrimalScaledVector< Real >.
Definition at line 92 of file ROL_InactiveSetVector.hpp.
References ROL::InactiveSet_PrimalVector< Real >::bnd_, ROL::PrimalScaledVector< Real >::getVector(), ROL::PrimalScaledVector< Real >::getWorkspace(), ROL::PrimalScaledVector< Real >::multiply_scaling(), and ROL::InactiveSet_PrimalVector< Real >::x_.
|
inlineoverridevirtual |
Reimplemented from ROL::PrimalScaledVector< Real >.
Definition at line 105 of file ROL_InactiveSetVector.hpp.
References ROL::InactiveSet_PrimalVector< Real >::bnd_, ROL::PrimalScaledVector< Real >::getScalingVector(), ROL::PrimalScaledVector< Real >::getVector(), and ROL::InactiveSet_PrimalVector< Real >::x_.
|
inlineoverridevirtual |
Reimplemented from ROL::PrimalScaledVector< Real >.
Definition at line 111 of file ROL_InactiveSetVector.hpp.
References ROL::InactiveSet_PrimalVector< Real >::bnd_, ROL::PrimalScaledVector< Real >::getScalingVector(), ROL::PrimalScaledVector< Real >::getVector(), and ROL::InactiveSet_PrimalVector< Real >::x_.
|
inlineoverridevirtual |
Reimplemented from ROL::PrimalScaledVector< Real >.
Definition at line 117 of file ROL_InactiveSetVector.hpp.
References ROL::InactiveSet_PrimalVector< Real >::bnd_, ROL::PrimalScaledVector< Real >::getScalingVector(), ROL::PrimalScaledVector< Real >::getVector(), ROL::PrimalScaledVector< Real >::getWorkspace(), ROL::PrimalScaledVector< Real >::multiply_scaling(), and ROL::InactiveSet_PrimalVector< Real >::x_.
|
inline |
Definition at line 124 of file ROL_InactiveSetVector.hpp.
References ROL::InactiveSet_PrimalVector< Real >::x_.
|
inline |
Definition at line 125 of file ROL_InactiveSetVector.hpp.
References ROL::InactiveSet_PrimalVector< Real >::x_.
|
inline |
Definition at line 126 of file ROL_InactiveSetVector.hpp.
References ROL::InactiveSet_PrimalVector< Real >::x_.
|
mutableprivate |
Definition at line 78 of file ROL_InactiveSetVector.hpp.
Referenced by ROL::InactiveSet_PrimalVector< Real >::basis(), ROL::InactiveSet_PrimalVector< Real >::clone(), ROL::InactiveSet_PrimalVector< Real >::dot(), ROL::InactiveSet_PrimalVector< Real >::dual(), ROL::InactiveSet_PrimalVector< Real >::getIterateVector(), and ROL::InactiveSet_PrimalVector< Real >::setIterateVector().
|
private |
Definition at line 79 of file ROL_InactiveSetVector.hpp.
Referenced by ROL::InactiveSet_PrimalVector< Real >::basis(), ROL::InactiveSet_PrimalVector< Real >::clone(), ROL::InactiveSet_PrimalVector< Real >::dot(), and ROL::InactiveSet_PrimalVector< Real >::dual().