unopy module definition
| 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 |
nothing calls this directly
no test coverage detected