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