public class CppFlags
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
CppFlags() |
protected |
CppFlags(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
boolean |
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. |
java.lang.String |
getCp_model_dump_prefix()
Prefix filename for all dumped files (models, solutions, lns sub-models).
|
boolean |
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. |
boolean |
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. |
protected static long |
getCPtr(CppFlags obj) |
boolean |
getLog_prefix()
Controls if time and source code info are used to prefix logging
messages. |
int |
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. |
void |
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. |
void |
setCp_model_dump_prefix(java.lang.String value)
Prefix filename for all dumped files (models, solutions, lns sub-models).
|
void |
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. |
void |
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. |
void |
setLog_prefix(boolean value)
Controls if time and source code info are used to prefix logging
messages. |
void |
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. |
protected static long |
swigRelease(CppFlags obj) |
protected CppFlags(long cPtr,
boolean cMemoryOwn)
public CppFlags()
protected static long getCPtr(CppFlags obj)
protected static long swigRelease(CppFlags obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public void setStderrthreshold(int value)
public int getStderrthreshold()
public void setLog_prefix(boolean value)
public boolean getLog_prefix()
public void setCp_model_dump_prefix(java.lang.String value)
public java.lang.String getCp_model_dump_prefix()
public void setCp_model_dump_models(boolean value)
public boolean getCp_model_dump_models()
public void setCp_model_dump_submodels(boolean value)
public boolean getCp_model_dump_submodels()
public void setCp_model_dump_response(boolean value)
public boolean getCp_model_dump_response()
Copyright © 2024. All rights reserved.