Google OR-Tools: operations_research::MPModelExportOptions Struct Reference
Export options. More...
Export options.
Definition at line 27 of file model_exporter.h.
#include <model_exporter.h>
Public Attributes | |
| bool | obfuscate = false |
| Obfuscates variable and constraint names. | |
| bool | log_invalid_names = false |
| Whether to log invalid variable and constraint names. | |
| bool | show_unused_variables = false |
| int | max_line_length = 10000 |
◆ log_invalid_names
bool operations_research::MPModelExportOptions::log_invalid_names = false
Whether to log invalid variable and constraint names.
Definition at line 31 of file model_exporter.h.
◆ max_line_length
int operations_research::MPModelExportOptions::max_line_length = 10000
For .lp files only. Maximum line length in exported files. The default was chosen so that SCIP can read the files.
Definition at line 43 of file model_exporter.h.
◆ obfuscate
bool operations_research::MPModelExportOptions::obfuscate = false
◆ show_unused_variables
bool operations_research::MPModelExportOptions::show_unused_variables = false
For .lp files only. Decides whether variables unused in the objective and constraints are shown when exported to a file.
Definition at line 37 of file model_exporter.h.
The documentation for this struct was generated from the following file:
- ortools/linear_solver/model_exporter.h