proxsuite-nlp  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
Loading...
Searching...
No Matches
proxsuite::nlp::helpers Namespace Reference

Helper functions and structs. More...

Classes

struct  base_callback
 
struct  history_callback
 Store the history of results. More...
 
struct  print_callback
 

Functions

template<typename Scalar , typename VectorType >
void createConstraintWiseView (const ProblemTpl< Scalar > &prob, typename math_types< Scalar >::VectorXs &input, std::vector< Eigen::Ref< VectorType > > &out)
 
template<typename Scalar >
void allocateMultipliersOrResiduals (const ProblemTpl< Scalar > &prob, typename math_types< Scalar >::VectorXs &data, typename math_types< Scalar >::VectorOfRef &out)
 Allocate a set of multipliers (or residuals) for a given problem instance.
 

Detailed Description

Helper functions and structs.

Function Documentation

◆ createConstraintWiseView()

template<typename Scalar , typename VectorType >
void proxsuite::nlp::helpers::createConstraintWiseView ( const ProblemTpl< Scalar > & prob,
typename math_types< Scalar >::VectorXs & input,
std::vector< Eigen::Ref< VectorType > > & out )

Definition at line 133 of file problem-base.hpp.

◆ allocateMultipliersOrResiduals()

template<typename Scalar >
void proxsuite::nlp::helpers::allocateMultipliersOrResiduals ( const ProblemTpl< Scalar > & prob,
typename math_types< Scalar >::VectorXs & data,
typename math_types< Scalar >::VectorOfRef & out )

Allocate a set of multipliers (or residuals) for a given problem instance.

Definition at line 147 of file problem-base.hpp.