17template <
typename _Scalar>
34 inline void projection(
const ConstVectorRef &, VectorRef zout)
const {
39 VectorRef zout)
const {
44 MatrixRef Jout)
const {
54 Eigen::Ref<ActiveType> out)
const {
59template <
typename Scalar>
60using EqualityConstraint PROXSUITE_NLP_DEPRECATED_MESSAGE(
61 "Use EqualityConstraintTpl<T> instead") = EqualityConstraintTpl<Scalar>;
63#ifdef PROXSUITE_NLP_ENABLE_TEMPLATE_INSTANTIATION
64extern template struct PROXSUITE_NLP_EXPLICIT_INSTANTIATION_DECLARATION_DLLAPI
65 EqualityConstraintTpl<context::Scalar>;
#define PROXSUITE_NLP_DYNAMIC_TYPEDEFS(Scalar)
Base constraint set type.
Eigen::Matrix< bool, Eigen::Dynamic, 1 > ActiveType
void projection(const ConstVectorRef &, VectorRef zout) const
Compute projection of variable z onto the constraint set.
EqualityConstraintTpl()=default
EqualityConstraintTpl & operator=(const EqualityConstraintTpl &)=default
void applyNormalConeProjectionJacobian(const ConstVectorRef &, MatrixRef) const
Apply the jacobian of the projection on the normal cone.
typename Base::ActiveType ActiveType
void applyProjectionJacobian(const ConstVectorRef &, MatrixRef Jout) const
Apply a jacobian of the projection/proximal operator to a matrix.
EqualityConstraintTpl(const EqualityConstraintTpl &)=default
void normalConeProjection(const ConstVectorRef &z, VectorRef zout) const
Compute projection of z onto the normal cone to the set. The default implementation is just .
EqualityConstraintTpl(EqualityConstraintTpl &&)=default
void computeActiveSet(const ConstVectorRef &, Eigen::Ref< ActiveType > out) const
EqualityConstraintTpl & operator=(EqualityConstraintTpl &&)=default
bool disableGaussNewton() const