14 #ifndef OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ 15 #define OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ 20 #include "absl/status/statusor.h" 21 #include "absl/strings/str_format.h" 106 #endif // OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
int max_line_length
For .lp files only.
absl::StatusOr< std::string > ExportModelAsLpFormat(const MPModelProto &model, const MPModelExportOptions &options)
Outputs the current model (variables, constraints, objective) as a string encoded in the so-called "C...
bool show_unused_variables
For .lp files only.
bool log_invalid_names
Whether to log invalid variable and constraint names.
Collection of objects used to extend the Constraint Solver library.
absl::StatusOr< std::string > ExportModelAsMpsFormat(const MPModelProto &model, const MPModelExportOptions &options)
Outputs the current model (variables, constraints, objective) as a string encoded in MPS file format,...
bool obfuscate
Obfuscates variable and constraint names.