6#ifdef EIGEN_DEFAULT_IO_FORMAT
7#undef EIGEN_DEFAULT_IO_FORMAT
9#define EIGEN_DEFAULT_IO_FORMAT \
10 Eigen::IOFormat(Eigen::StreamPrecision, 0, ",", "\n", "[", "]")
38#include "proxsuite-nlp/config.hpp"
39#include "proxsuite-nlp/deprecated.hpp"
40#include "proxsuite-nlp/warning.hpp"
52template <
typename T,
typename A>
53inline T *get_pointer(::xyz::polymorphic<T, A>
const &x) {
54 const T *r = x.operator->();
55 return const_cast<T *
>(r);
62using xyz::polymorphic;
65template <
typename Scalar>
struct BCLParamsTpl;
70template <
typename Scalar>
struct BaseFunctionTpl;
73template <
typename Scalar>
struct C1FunctionTpl;
76template <
typename Scalar>
struct C2FunctionTpl;
79template <
typename Scalar>
struct func_to_cost;
82template <
typename Scalar>
struct ComposeFunctionTpl;
84template <
typename Scalar>
85auto compose(
const shared_ptr<C2FunctionTpl<Scalar>> &left,
86 const shared_ptr<C2FunctionTpl<Scalar>> &right);
89template <
typename Scalar>
struct CostFunctionBaseTpl;
94template <
typename Scalar,
int Options = 0>
struct ManifoldAbstractTpl;
96template <
typename Scalar,
int Dim = Eigen::Dynamic,
int Options = 0>
99template <
typename Scalar>
struct CartesianProductTpl;
101template <
typename Base>
struct TangentBundleTpl;
104template <
typename Scalar>
struct ConstraintSetTpl;
106template <
typename Scalar>
107using ConstraintSetBase PROXSUITE_NLP_DEPRECATED_MESSAGE(
108 "This template class has been renamed to ConstraintSetTpl.") =
109 ConstraintSetTpl<Scalar>;
112template <
typename Scalar>
struct ConstraintObjectTpl;
117template <
typename Scalar>
struct ProblemTpl;
120template <
typename Scalar>
struct ResultsTpl;
123template <
typename Scalar>
struct WorkspaceTpl;
128template <
typename Scalar>
class ProxNLPSolverTpl;
VerboseLevel
Verbosity level.
Automatic differentiation utilities.
Helper functions and structs.