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

Function uno_set_solver_integer_option

interfaces/C/Uno_C_API.cpp:851–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849}
850
851bool uno_set_solver_integer_option(void* solver, const char* option_name, uno_int option_value) {
852 if (solver == nullptr) {
853 WARNING << "Please specify a valid solver." << std::endl;
854 return false;
855 }
856 Solver* uno_solver = static_cast<Solver*>(solver);
857 uno_solver->options->set_integer(option_name, option_value);
858 return true;
859}
860
861bool uno_set_solver_double_option(void* solver, const char* option_name, double option_value) {
862 if (solver == nullptr) {

Callers

nothing calls this directly

Calls 1

set_integerMethod · 0.80

Tested by

no test coverage detected