proxsuite-nlp
0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
|
Python bindings. More...
Classes | |
struct | C1FunctionWrap |
struct | C2FunctionWrap |
struct | CallbackWrapper |
struct | CostWrapper |
struct | FunctionWrap |
struct | LDLTVisitor |
struct | OwningNonOwningHolder |
struct | PolymorphicVisitor |
struct | PolymorphicVisitor< xyz::polymorphic< Base, A > > |
struct | PolymorphicWrapper |
Typedefs | |
using | PolymorphicManifold = polymorphic<Manifold> |
using | CartesianProduct = CartesianProductTpl<Scalar> |
using | L1Penalty = NonsmoothPenaltyL1Tpl<Scalar> |
using | ConstraintSetProduct = ConstraintSetProductTpl<Scalar> |
using | BoxConstraint = BoxConstraintTpl<Scalar> |
using | PolyManifold = polymorphic<Manifold> |
Functions | |
void | expose_finite_differences () |
Expose finite difference helpers. | |
void | exposeAutodiff () |
void | exposeCallbacks () |
std::vector< VectorXs > | copy_vec_constref (const std::vector< ConstVectorRef > &x) |
void | exposeCartesianProduct () |
template<typename T > | |
auto | exposeSpecificConstraintSet (const char *name, const char *docstring) |
template<typename ConstraintType > | |
context::Constraint | make_constraint (const shared_ptr< context::C2Function > &f) |
static void | exposeConstraintTypes () |
void | exposeConstraints () |
void | exposeQuadraticCosts () |
Expose specific cost functions. | |
void | exposeCost () |
void | exposeFunctionOps () |
void | exposeFunctionTypes () |
void | exposeLdltRoutines () |
void | exposeManifoldBase () |
template<typename M > | |
bp::class_< TangentBundleTpl< M >, bp::bases< Manifold > > | exposeTangentBundle (const char *name, const char *docstring) |
Expose the tangent bundle of a manifold type M . | |
template<typename M , class Init > | |
bp::class_< TangentBundleTpl< M >, bp::bases< Manifold > > | exposeTangentBundle (const char *name, const char *docstring, Init init) |
Expose the tangent bundle with an additional constructor. | |
void | exposeManifolds () |
void | exposeProblem () |
void | exposeResiduals () |
Expose some residual functions. | |
void | exposeResults () |
void | exposeSolver () |
void | exposeWorkspace () |
bp::arg | operator""_a (const char *argname, std::size_t) |
User-defined literal for bp::arg. | |
template<class Poly > | |
void | register_polymorphic_to_python () |
Expose a polymorphic value type, e.g. xyz::polymorphic<T, A>. | |
template<typename T , class Init > | |
auto | expose_function (const char *name, const char *docstring, Init init) |
Expose a differentiable residual (subclass of C2FunctionTpl). | |
std::string | get_scope_name (bp::scope scope) |
bp::object | get_namespace (const std::string &name) |
Create or retrieve a Python scope (that is, a class or module namespace). | |
void | exposeContainerTypes () |
Expose some useful container types. | |
Python bindings.
using proxsuite::nlp::python::PolymorphicManifold = polymorphic<Manifold> |
Definition at line 12 of file expose-cartesian-product.cpp.
typedef CartesianProductTpl< Scalar > proxsuite::nlp::python::CartesianProduct = CartesianProductTpl<Scalar> |
Definition at line 16 of file expose-cartesian-product.cpp.
using proxsuite::nlp::python::L1Penalty = NonsmoothPenaltyL1Tpl<Scalar> |
Definition at line 20 of file expose-constraint.cpp.
using proxsuite::nlp::python::ConstraintSetProduct = ConstraintSetProductTpl<Scalar> |
Definition at line 21 of file expose-constraint.cpp.
using proxsuite::nlp::python::BoxConstraint = BoxConstraintTpl<Scalar> |
Definition at line 22 of file expose-constraint.cpp.
using proxsuite::nlp::python::PolyManifold = polymorphic<Manifold> |
Definition at line 25 of file expose-manifold.cpp.
void proxsuite::nlp::python::expose_finite_differences | ( | ) |
Expose finite difference helpers.
Definition at line 11 of file expose-autodiff.cpp.
void proxsuite::nlp::python::exposeAutodiff | ( | ) |
Definition at line 40 of file expose-autodiff.cpp.
void proxsuite::nlp::python::exposeCallbacks | ( | ) |
Definition at line 17 of file expose-callbacks.cpp.
std::vector< VectorXs > proxsuite::nlp::python::copy_vec_constref | ( | const std::vector< ConstVectorRef > & | x | ) |
Definition at line 18 of file expose-cartesian-product.cpp.
void proxsuite::nlp::python::exposeCartesianProduct | ( | ) |
Definition at line 25 of file expose-cartesian-product.cpp.
auto proxsuite::nlp::python::exposeSpecificConstraintSet | ( | const char * | name, |
const char * | docstring ) |
Definition at line 25 of file expose-constraint.cpp.
context::Constraint proxsuite::nlp::python::make_constraint | ( | const shared_ptr< context::C2Function > & | f | ) |
Definition at line 31 of file expose-constraint.cpp.
|
static |
Definition at line 102 of file expose-constraint.cpp.
void proxsuite::nlp::python::exposeConstraints | ( | ) |
Definition at line 38 of file expose-constraint.cpp.
void proxsuite::nlp::python::exposeQuadraticCosts | ( | ) |
Expose specific cost functions.
Definition at line 17 of file expose-quadratic-costs.cpp.
void proxsuite::nlp::python::exposeCost | ( | ) |
Definition at line 39 of file expose-cost.cpp.
void proxsuite::nlp::python::exposeFunctionOps | ( | ) |
Definition at line 66 of file expose-function.cpp.
void proxsuite::nlp::python::exposeFunctionTypes | ( | ) |
Definition at line 17 of file expose-function.cpp.
void proxsuite::nlp::python::exposeLdltRoutines | ( | ) |
Definition at line 43 of file expose-ldlt.cpp.
void proxsuite::nlp::python::exposeManifoldBase | ( | ) |
Definition at line 28 of file expose-manifold.cpp.
bp::class_< TangentBundleTpl< M >, bp::bases< Manifold > > proxsuite::nlp::python::exposeTangentBundle | ( | const char * | name, |
const char * | docstring ) |
Expose the tangent bundle of a manifold type M
.
Definition at line 122 of file expose-manifold.cpp.
bp::class_< TangentBundleTpl< M >, bp::bases< Manifold > > proxsuite::nlp::python::exposeTangentBundle | ( | const char * | name, |
const char * | docstring, | ||
Init | init ) |
Expose the tangent bundle with an additional constructor.
Definition at line 136 of file expose-manifold.cpp.
void proxsuite::nlp::python::exposeManifolds | ( | ) |
Definition at line 230 of file expose-manifold.cpp.
void proxsuite::nlp::python::exposeProblem | ( | ) |
Definition at line 9 of file expose-problem.cpp.
void proxsuite::nlp::python::exposeResiduals | ( | ) |
Expose some residual functions.
Expose defined residuals for modelling.
Definition at line 19 of file expose-residual.cpp.
void proxsuite::nlp::python::exposeResults | ( | ) |
Definition at line 8 of file expose-results.cpp.
void proxsuite::nlp::python::exposeSolver | ( | ) |
Definition at line 10 of file expose-solver.cpp.
void proxsuite::nlp::python::exposeWorkspace | ( | ) |
Definition at line 8 of file expose-workspace.cpp.
|
inline |
|
inline |
Expose a polymorphic value type, e.g. xyz::polymorphic<T, A>.
Just an alias for bp::register_ptr_to_python<>().
Definition at line 25 of file polymorphic.hpp.
auto proxsuite::nlp::python::expose_function | ( | const char * | name, |
const char * | docstring, | ||
Init | init ) |
Expose a differentiable residual (subclass of C2FunctionTpl).
Definition at line 9 of file residuals.hpp.
|
inline |
Definition at line 10 of file namespace.hpp.
|
inline |
Create or retrieve a Python scope (that is, a class or module namespace).
Definition at line 20 of file namespace.hpp.
void proxsuite::nlp::python::exposeContainerTypes | ( | ) |
Expose some useful container types.
Definition at line 13 of file module.cpp.