ROL
|
Provides a wrapper for multiple constraints. More...
#include <ROL_ConstraintManager.hpp>
Public Member Functions | |
virtual | ~ConstraintManager (void) |
ConstraintManager (const std::vector< ROL::Ptr< Constraint< Real > > > &cvec, const std::vector< ROL::Ptr< Vector< Real > > > &lvec, const std::vector< ROL::Ptr< BoundConstraint< Real > > > &bvec, const ROL::Ptr< Vector< Real > > &x, const ROL::Ptr< BoundConstraint< Real > > &bnd=ROL::nullPtr) | |
ConstraintManager (const std::vector< ROL::Ptr< Constraint< Real > > > &cvec, const std::vector< ROL::Ptr< Vector< Real > > > &lvec, const ROL::Ptr< Vector< Real > > &x, const ROL::Ptr< BoundConstraint< Real > > &bnd=ROL::nullPtr) | |
ConstraintManager (const ROL::Ptr< Constraint< Real > > &con, const ROL::Ptr< Vector< Real > > &l, const ROL::Ptr< BoundConstraint< Real > > &cbnd, const ROL::Ptr< Vector< Real > > &x, const ROL::Ptr< BoundConstraint< Real > > &bnd=ROL::nullPtr) | |
ConstraintManager (const ROL::Ptr< Constraint< Real > > &con, const ROL::Ptr< Vector< Real > > &l, const ROL::Ptr< Vector< Real > > &x, const ROL::Ptr< BoundConstraint< Real > > &bnd=ROL::nullPtr) | |
const ROL::Ptr< Constraint < Real > > | getConstraint (void) const |
const ROL::Ptr< Vector< Real > > | getMultiplier (void) const |
const ROL::Ptr< Vector< Real > > | getOptVector (void) const |
const ROL::Ptr < BoundConstraint< Real > > | getBoundConstraint (void) const |
bool | isNull (void) const |
bool | hasInequality (void) const |
void | resetSlackVariables (void) |
Private Member Functions | |
void | initializeSlackVariable (const ROL::Ptr< Constraint< Real > > &con, const ROL::Ptr< BoundConstraint< Real > > &cbnd, const ROL::Ptr< Vector< Real > > &s, const ROL::Ptr< Vector< Real > > &x) const |
void | initialize (const std::vector< ROL::Ptr< Constraint< Real > > > &cvec, const std::vector< ROL::Ptr< Vector< Real > > > &lvec, const std::vector< ROL::Ptr< BoundConstraint< Real > > > &bvec, const ROL::Ptr< Vector< Real > > &x, const ROL::Ptr< BoundConstraint< Real > > &bnd) |
Private Attributes | |
ROL::Ptr< Constraint< Real > > | con_ |
ROL::Ptr< Vector< Real > > | l_ |
ROL::Ptr< Vector< Real > > | x_ |
ROL::Ptr< BoundConstraint< Real > > | bnd_ |
std::vector< ROL::Ptr < Constraint< Real > > > | cvec_ |
std::vector< ROL::Ptr< Vector < Real > > > | lvec_ |
std::vector< ROL::Ptr< Vector < Real > > > | svec_ |
std::vector< ROL::Ptr < BoundConstraint< Real > > > | sbnd_ |
std::vector< bool > | isInequality_ |
bool | isNull_ |
bool | hasInequality_ |
Provides a wrapper for multiple constraints.
Definition at line 27 of file ROL_ConstraintManager.hpp.
|
inlinevirtual |
Definition at line 140 of file ROL_ConstraintManager.hpp.
|
inline |
Definition at line 142 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::initialize().
|
inline |
Definition at line 151 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::initialize().
|
inline |
Definition at line 160 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::initialize().
|
inline |
Definition at line 172 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::initialize().
|
inlineprivate |
Definition at line 44 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
inlineprivate |
Definition at line 54 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::bnd_, ROL::ConstraintManager< Real >::con_, ROL::ConstraintManager< Real >::cvec_, ROL::ConstraintManager< Real >::hasInequality_, ROL::ConstraintManager< Real >::initializeSlackVariable(), ROL::ConstraintManager< Real >::isInequality_, ROL::ConstraintManager< Real >::isNull_, ROL::ConstraintManager< Real >::l_, ROL::ConstraintManager< Real >::lvec_, ROL::ConstraintManager< Real >::sbnd_, ROL::ConstraintManager< Real >::svec_, and ROL::ConstraintManager< Real >::x_.
Referenced by ROL::ConstraintManager< Real >::ConstraintManager().
|
inline |
Definition at line 183 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::con_.
|
inline |
Definition at line 187 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::l_.
|
inline |
Definition at line 191 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::x_.
|
inline |
Definition at line 195 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::bnd_.
|
inline |
Definition at line 199 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::isNull_.
|
inline |
Definition at line 203 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::hasInequality_.
|
inline |
Definition at line 207 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::cvec_, ROL::ConstraintManager< Real >::hasInequality_, ROL::ConstraintManager< Real >::initializeSlackVariable(), ROL::ConstraintManager< Real >::isInequality_, ROL::ConstraintManager< Real >::sbnd_, and ROL::ConstraintManager< Real >::svec_.
|
private |
Definition at line 29 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::getConstraint(), and ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 30 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::getMultiplier(), and ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 31 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::getOptVector(), and ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 32 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::getBoundConstraint(), and ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 34 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
private |
Definition at line 35 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 36 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
private |
Definition at line 37 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
private |
Definition at line 39 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
private |
Definition at line 41 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::isNull().
|
private |
Definition at line 42 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::hasInequality(), ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().