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"
24 #include "ortools/linear_solver/linear_solver.pb.h"
72 const MPModelProto&
model,
101 const MPModelProto&
model,
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
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,...
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 obfuscate
Obfuscates variable and constraint names.
bool show_unused_variables
For .lp files only.
int max_line_length
For .lp files only.
bool log_invalid_names
Whether to log invalid variable and constraint names.