Simple structure that holds useful C++ flags to setup from non-C++ languages.
Definition at line 41 of file init.h.
bool operations_research::CppFlags::cp_model_dump_models = false |
DEBUG ONLY: Dump CP-SAT models during solve.
When set to true, SolveCpModel() will dump its model protos (original model, presolved model, mapping model) in text format to 'FLAGS_cp_model_dump_prefix'{model|presolved_model|mapping_model}.pbtxt.
Definition at line 69 of file init.h.
int operations_research::CppFlags::stderrthreshold = 2 |
Controls the logging level shown on stderr.
By default, the logger will only display ERROR and FATAL logs (value 2 and 3) to stderr. To display INFO and WARNING logs (value 0 and 1), change the threshold to the min value of the message that should be printed.
Definition at line 50 of file init.h.