Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::MPModelExportOptions Struct Reference

Export options. More...

#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
 

Detailed Description

Export options.

Definition at line 27 of file model_exporter.h.

Member Data Documentation

◆ 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

Obfuscates variable and constraint names.

Definition at line 29 of file model_exporter.h.

◆ 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: