14 #ifndef OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ 15 #define OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ 20 #include "absl/strings/str_format.h" 21 #include "ortools/base/hash.h" 22 #include "ortools/base/macros.h" 23 #include "ortools/base/statusor.h" 96 #endif // OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
bool log_invalid_names
Whether to log invalid variable and constraint names.
bool show_unused_variables
For .lp files only.
util::StatusOr< std::string > ExportModelAsMpsFormat(const MPModelProto &model, const MPModelExportOptions &options=MPModelExportOptions())
Outputs the current model (variables, constraints, objective) as a std::string encoded in MPS file fo...
int max_line_length
For .lp files only.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
bool obfuscate
Obfuscates variable and constraint names.
util::StatusOr< std::string > ExportModelAsLpFormat(const MPModelProto &model, const MPModelExportOptions &options=MPModelExportOptions())
Outputs the current model (variables, constraints, objective) as a std::string encoded in the so-call...