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 61 of file ROL_ConstraintManager.hpp.
|
inlinevirtual |
Definition at line 174 of file ROL_ConstraintManager.hpp.
|
inline |
Definition at line 176 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::initialize().
|
inline |
Definition at line 185 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::initialize().
|
inline |
Definition at line 194 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::initialize().
|
inline |
Definition at line 206 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::initialize().
|
inlineprivate |
Definition at line 78 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
inlineprivate |
Definition at line 88 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 217 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::con_.
|
inline |
Definition at line 221 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::l_.
|
inline |
Definition at line 225 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::x_.
|
inline |
Definition at line 229 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::bnd_.
|
inline |
Definition at line 233 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::isNull_.
|
inline |
Definition at line 237 of file ROL_ConstraintManager.hpp.
References ROL::ConstraintManager< Real >::hasInequality_.
|
inline |
Definition at line 241 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 63 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::getConstraint(), and ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 64 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::getMultiplier(), and ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 65 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::getOptVector(), and ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 66 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::getBoundConstraint(), and ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 68 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
private |
Definition at line 69 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize().
|
private |
Definition at line 70 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
private |
Definition at line 71 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
private |
Definition at line 73 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().
|
private |
Definition at line 75 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::isNull().
|
private |
Definition at line 76 of file ROL_ConstraintManager.hpp.
Referenced by ROL::ConstraintManager< Real >::hasInequality(), ROL::ConstraintManager< Real >::initialize(), and ROL::ConstraintManager< Real >::resetSlackVariables().