49 #ifndef ROL_STDBOUNDCONSTRAINT_HPP
50 #define ROL_STDBOUNDCONSTRAINT_HPP
Contains definitions for std::vector bound constraints.
Provides the interface to apply upper and lower bound constraints.
std::vector< Real > x_up_
std::vector< Real > x_lo_
void projectInterior(Vector< Real > &x) override
Project optimization variables into the interior of the feasible set.
StdBoundConstraint(std::vector< Real > &x, bool isLower=false, Real scale=Real(1))
void pruneLowerActive(Vector< Real > &v, const Vector< Real > &x, Real eps=Real(0)) override
Set variables to zero if they correspond to the lower -active set.
void project(Vector< Real > &x) override
Project optimization variables onto the bounds.
bool isFeasible(const Vector< Real > &x) override
Check if the vector, v, is feasible.
void pruneUpperActive(Vector< Real > &v, const Vector< Real > &x, Real eps=Real(0)) override
Set variables to zero if they correspond to the upper -active set.
Defines the linear algebra or vector space interface.