| 849 | } |
| 850 | |
| 851 | bool 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 | |
| 861 | bool uno_set_solver_double_option(void* solver, const char* option_name, double option_value) { |
| 862 | if (solver == nullptr) { |
nothing calls this directly
no test coverage detected