14#ifndef OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
15#define OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_
19#include "absl/status/status.h"
20#include "absl/status/statusor.h"
21#include "absl/strings/string_view.h"
22#include "ortools/linear_solver/linear_solver.pb.h"
68 const MPModelProto&
model,
97 const MPModelProto&
model,
107 absl::string_view filename,
const MPModelProto&
model,
In SWIG mode, we don't want anything besides these top-level includes.
absl::Status WriteModelToMpsFile(absl::string_view filename, const MPModelProto &model, const MPModelExportOptions &options)
absl::StatusOr< std::string > ExportModelAsLpFormat(const MPModelProto &model, const MPModelExportOptions &options)
absl::StatusOr< std::string > ExportModelAsMpsFormat(const MPModelProto &model, const MPModelExportOptions &options)
bool show_unused_variables
bool log_invalid_names
Whether to log invalid variable and constraint names.
bool obfuscate
Obfuscates variable and constraint names.