Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
synchronized void | delete () |
void | setStderrthreshold (int value) |
int | getStderrthreshold () |
void | setLog_prefix (boolean value) |
boolean | getLog_prefix () |
void | setCp_model_dump_prefix (String value) |
String | getCp_model_dump_prefix () |
void | setCp_model_dump_models (boolean value) |
boolean | getCp_model_dump_models () |
void | setCp_model_dump_submodels (boolean value) |
boolean | getCp_model_dump_submodels () |
void | setCp_model_dump_response (boolean value) |
boolean | getCp_model_dump_response () |
CppFlags () | |
Protected Member Functions | |
CppFlags (long cPtr, boolean cMemoryOwn) | |
void | finalize () |
Static Protected Member Functions | |
static long | getCPtr (CppFlags obj) |
static long | swigRelease (CppFlags obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
Simple structure that holds useful C++ flags to setup from non-C++ languages.
Definition at line 14 of file CppFlags.java.
|
protected |
Definition at line 18 of file CppFlags.java.
com.google.ortools.init.CppFlags.CppFlags | ( | ) |
Definition at line 168 of file CppFlags.java.
synchronized void com.google.ortools.init.CppFlags.delete | ( | ) |
Definition at line 44 of file CppFlags.java.
|
protected |
Definition at line 40 of file CppFlags.java.
boolean com.google.ortools.init.CppFlags.getCp_model_dump_models | ( | ) |
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 124 of file CppFlags.java.
String com.google.ortools.init.CppFlags.getCp_model_dump_prefix | ( | ) |
Prefix filename for all dumped files (models, solutions, lns sub-models).
Definition at line 102 of file CppFlags.java.
boolean com.google.ortools.init.CppFlags.getCp_model_dump_response | ( | ) |
DEBUG ONLY: Dump the CP-SAT final response found during solve.
If true, the final response of each solve will be dumped to
'FLAGS_cp_model_dump_prefix'response.pbtxt.
Definition at line 164 of file CppFlags.java.
boolean com.google.ortools.init.CppFlags.getCp_model_dump_submodels | ( | ) |
DEBUG ONLY: Dump CP-SAT LNS models during solve.
When set to true, solve will dump all lns models proto in text format to
'FLAGS_cp_model_dump_prefix'lns_xxx.pbtxt.
Definition at line 144 of file CppFlags.java.
|
staticprotected |
Definition at line 23 of file CppFlags.java.
boolean com.google.ortools.init.CppFlags.getLog_prefix | ( | ) |
Controls if time and source code info are used to prefix logging
messages.
Definition at line 88 of file CppFlags.java.
int com.google.ortools.init.CppFlags.getStderrthreshold | ( | ) |
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 72 of file CppFlags.java.
void com.google.ortools.init.CppFlags.setCp_model_dump_models | ( | boolean | value | ) |
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 113 of file CppFlags.java.
void com.google.ortools.init.CppFlags.setCp_model_dump_prefix | ( | String | value | ) |
Prefix filename for all dumped files (models, solutions, lns sub-models).
Definition at line 95 of file CppFlags.java.
void com.google.ortools.init.CppFlags.setCp_model_dump_response | ( | boolean | value | ) |
DEBUG ONLY: Dump the CP-SAT final response found during solve.
If true, the final response of each solve will be dumped to
'FLAGS_cp_model_dump_prefix'response.pbtxt.
Definition at line 154 of file CppFlags.java.
void com.google.ortools.init.CppFlags.setCp_model_dump_submodels | ( | boolean | value | ) |
DEBUG ONLY: Dump CP-SAT LNS models during solve.
When set to true, solve will dump all lns models proto in text format to
'FLAGS_cp_model_dump_prefix'lns_xxx.pbtxt.
Definition at line 134 of file CppFlags.java.
void com.google.ortools.init.CppFlags.setLog_prefix | ( | boolean | value | ) |
Controls if time and source code info are used to prefix logging
messages.
Definition at line 80 of file CppFlags.java.
void com.google.ortools.init.CppFlags.setStderrthreshold | ( | int | value | ) |
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 61 of file CppFlags.java.
|
staticprotected |
Definition at line 27 of file CppFlags.java.
|
protected |
Definition at line 16 of file CppFlags.java.