MCPcopy Create free account
hub / github.com/cvanaret/Uno / PYBIND11_MODULE

Function PYBIND11_MODULE

interfaces/Python/unopy.cpp:18–30  ·  view source on GitHub ↗

unopy module definition

Source from the content-addressed store, hash-verified

16
17 // unopy module definition
18 PYBIND11_MODULE(unopy, module) {
19 std::string description = "Python bindings to Uno ";
20 description.append(Uno::current_version());
21 description.append(", a solver for nonlinearly constrained optimization");
22 module.doc() = description;
23
24 module.def("current_uno_version", &Uno::current_version);
25
26 define_Model(module);
27 define_Result(module);
28 define_UnoSolver(module);
29 define_Constants(module);
30 }
31} // namespace

Callers

nothing calls this directly

Calls 4

define_ModelFunction · 0.85
define_ResultFunction · 0.85
define_UnoSolverFunction · 0.85
define_ConstantsFunction · 0.85

Tested by

no test coverage detected