| 62 | } |
| 63 | |
| 64 | Result UnoSolverWrapper::optimize(const PythonUserModel& user_model) { |
| 65 | const PythonModel model{user_model}; |
| 66 | Logger::set_logger(this->options.get_string("logger")); |
| 67 | UnopyUserCallbacks callbacks{this->notify_acceptable_iterate_callback, this->termination_callback}; |
| 68 | return this->uno_solver.solve(model, this->options, callbacks); |
| 69 | } |
| 70 | |
| 71 | const std::string& UnoSolverWrapper::get_method_description() const { |
| 72 | return this->uno_solver.get_method_description(); |
no test coverage detected