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.
1
#include "
proxsuite-nlp/python/fwd.hpp
"
2
3
namespace
proxsuite
{
4
namespace
nlp {
5
namespace
python {
6
8
template
<
typename
T,
class
Init>
9
auto
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
fwd.hpp
proxsuite::nlp::python::expose_function
auto expose_function(const char *name, const char *docstring, Init init)
Expose a differentiable residual (subclass of C2FunctionTpl).
Definition
residuals.hpp:9
proxsuite
Main package namespace.
Definition
bcl-params.hpp:5
bindings
python
include
proxsuite-nlp
python
residuals.hpp
Generated by
1.11.0