proxsuite-nlp  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
Loading...
Searching...
No Matches
proxsuite::nlp::ConstraintObjectTpl< Scalar > Struct Template Reference

Packs a ConstraintSetTpl and C2FunctionTpl together. More...

#include <proxsuite-nlp/constraint-set.hpp>

Collaboration diagram for proxsuite::nlp::ConstraintObjectTpl< Scalar >:
[legend]

Public Types

using Scalar = _Scalar
 
using FunctionType = C2FunctionTpl<Scalar>
 
using ConstraintSet = ConstraintSetTpl<Scalar>
 

Public Member Functions

const FunctionTypefunc () const
 
int nr () const
 
 ConstraintObjectTpl (ConstraintObjectTpl &&)=default
 
ConstraintObjectTploperator= (ConstraintObjectTpl &&)=default
 
 ConstraintObjectTpl (const ConstraintObjectTpl &)=default
 
ConstraintObjectTploperator= (const ConstraintObjectTpl &)=default
 
 ConstraintObjectTpl (shared_ptr< FunctionType > func, const polymorphic< ConstraintSet > &set)
 
bool operator== (const ConstraintObjectTpl &other) const
 

Public Attributes

 Scalar
 
shared_ptr< FunctionTypefunc_
 
polymorphic< ConstraintSetset_
 

Detailed Description

template<typename Scalar>
struct proxsuite::nlp::ConstraintObjectTpl< Scalar >

Packs a ConstraintSetTpl and C2FunctionTpl together.

Definition at line 112 of file fwd.hpp.

Member Typedef Documentation

◆ Scalar

template<typename Scalar >
using proxsuite::nlp::ConstraintObjectTpl< Scalar >::Scalar = _Scalar

Definition at line 122 of file constraint-set.hpp.

◆ FunctionType

template<typename Scalar >
using proxsuite::nlp::ConstraintObjectTpl< Scalar >::FunctionType = C2FunctionTpl<Scalar>

Definition at line 125 of file constraint-set.hpp.

◆ ConstraintSet

template<typename Scalar >
using proxsuite::nlp::ConstraintObjectTpl< Scalar >::ConstraintSet = ConstraintSetTpl<Scalar>

Definition at line 126 of file constraint-set.hpp.

Constructor & Destructor Documentation

◆ ConstraintObjectTpl() [1/3]

template<typename Scalar >
proxsuite::nlp::ConstraintObjectTpl< Scalar >::ConstraintObjectTpl ( ConstraintObjectTpl< Scalar > && )
default

◆ ConstraintObjectTpl() [2/3]

template<typename Scalar >
proxsuite::nlp::ConstraintObjectTpl< Scalar >::ConstraintObjectTpl ( const ConstraintObjectTpl< Scalar > & )
default

◆ ConstraintObjectTpl() [3/3]

template<typename Scalar >
proxsuite::nlp::ConstraintObjectTpl< Scalar >::ConstraintObjectTpl ( shared_ptr< FunctionType > func,
const polymorphic< ConstraintSet > & set )
inline

Definition at line 140 of file constraint-set.hpp.

Member Function Documentation

◆ func()

template<typename Scalar >
const FunctionType & proxsuite::nlp::ConstraintObjectTpl< Scalar >::func ( ) const
inline

Definition at line 131 of file constraint-set.hpp.

◆ nr()

template<typename Scalar >
int proxsuite::nlp::ConstraintObjectTpl< Scalar >::nr ( ) const
inline

Definition at line 132 of file constraint-set.hpp.

◆ operator=() [1/2]

template<typename Scalar >
ConstraintObjectTpl & proxsuite::nlp::ConstraintObjectTpl< Scalar >::operator= ( ConstraintObjectTpl< Scalar > && )
default

◆ operator=() [2/2]

template<typename Scalar >
ConstraintObjectTpl & proxsuite::nlp::ConstraintObjectTpl< Scalar >::operator= ( const ConstraintObjectTpl< Scalar > & )
default

◆ operator==()

template<typename Scalar >
bool proxsuite::nlp::ConstraintObjectTpl< Scalar >::operator== ( const ConstraintObjectTpl< Scalar > & other) const
inline

Definition at line 144 of file constraint-set.hpp.

Member Data Documentation

◆ Scalar

template<typename Scalar >
proxsuite::nlp::ConstraintObjectTpl< Scalar >::Scalar

Definition at line 123 of file constraint-set.hpp.

◆ func_

template<typename Scalar >
shared_ptr<FunctionType> proxsuite::nlp::ConstraintObjectTpl< Scalar >::func_

Definition at line 128 of file constraint-set.hpp.

◆ set_

Definition at line 129 of file constraint-set.hpp.


The documentation for this struct was generated from the following files: