OR-Tools  9.0
CppFlags

Detailed Description

Simple structure that holds useful C++ flags to setup from non-C++ languages.

Definition at line 20 of file init.h.

Public Attributes

bool logtostderr = false
 If true, all logging message will be sent to stderr. More...
 
bool log_prefix = false
 Controls is time and source code info are used to prefix logging messages. More...
 
std::string cp_model_dump_prefix
 Prefix filename for all dumped files (models, solutions, lns sub-models). More...
 
bool cp_model_dump_models = false
 DEBUG ONLY: Dump CP-SAT models during solve. More...
 
bool cp_model_dump_lns
 DEBUG ONLY: Dump CP-SAT LNS models during solve. More...
 
bool cp_model_dump_response
 DEBUG ONLY: Dump the CP-SAT final response found during solve. More...
 

Member Data Documentation

◆ cp_model_dump_lns

bool cp_model_dump_lns

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 50 of file init.h.

◆ cp_model_dump_models

bool 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 42 of file init.h.

◆ cp_model_dump_prefix

std::string cp_model_dump_prefix

Prefix filename for all dumped files (models, solutions, lns sub-models).

Definition at line 34 of file init.h.

◆ cp_model_dump_response

bool cp_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 58 of file init.h.

◆ log_prefix

bool log_prefix = false

Controls is time and source code info are used to prefix logging messages.

Definition at line 29 of file init.h.

◆ logtostderr

bool logtostderr = false

If true, all logging message will be sent to stderr.

Definition at line 24 of file init.h.


The documentation for this struct was generated from the following file: