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

Method optimize

interfaces/Python/cpp_classes/UnoSolverWrapper.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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();

Callers 2

example_hs015.pyFile · 0.80
define_UnoSolverFunction · 0.80

Calls 1

solveMethod · 0.45

Tested by

no test coverage detected