proxsuite-nlp  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
Loading...
Searching...
No Matches
residuals.hpp
Go to the documentation of this file.
2
3namespace proxsuite {
4namespace nlp {
5namespace python {
6
8template <typename T, class Init>
9auto expose_function(const char *name, const char *docstring, Init init) {
10 return bp::class_<T, bp::bases<context::C2Function>>(name, docstring, init);
11}
12
13} // namespace python
14} // namespace nlp
15} // namespace proxsuite
auto expose_function(const char *name, const char *docstring, Init init)
Expose a differentiable residual (subclass of C2FunctionTpl).
Definition residuals.hpp:9
Main package namespace.
Definition bcl-params.hpp:5