C++ Reference

C++ Reference: Linear solver

Detailed Description

Export options.

Definition at line 29 of file model_exporter.h.

Public Member Functions

 MPModelExportOptions ()
 

Public Attributes

bool obfuscate = false
 Obfuscates variable and constraint names. More...
 
bool log_invalid_names = false
 Whether to log invalid variable and constraint names. More...
 
bool show_unused_variables = false
 For .lp files only. More...
 
int max_line_length = 10000
 For .lp files only. More...
 

Constructor & Destructor Documentation

◆ MPModelExportOptions()

Definition at line 30 of file model_exporter.h.

Member Data Documentation

◆ log_invalid_names

bool log_invalid_names = false

Whether to log invalid variable and constraint names.

Definition at line 35 of file model_exporter.h.

◆ max_line_length

int 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 47 of file model_exporter.h.

◆ obfuscate

bool obfuscate = false

Obfuscates variable and constraint names.

Definition at line 33 of file model_exporter.h.

◆ show_unused_variables

bool 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 41 of file model_exporter.h.


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