Google OR-Tools: ortools/linear_solver/model_exporter.h File Reference

Loading...

Searching...

No Matches

model_exporter.h File Reference

#include <string>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "ortools/linear_solver/linear_solver.pb.h"

Go to the source code of this file.

Classes

struct  operations_research::MPModelExportOptions
 Export options. More...

Namespaces

namespace  operations_research
 OR-Tools root namespace.

Functions

absl::StatusOr< std::string > operations_research::ExportModelAsLpFormat (const MPModelProto &model, const MPModelExportOptions &options)
absl::StatusOr< std::string > operations_research::ExportModelAsMpsFormat (const MPModelProto &model, const MPModelExportOptions &options)
absl::Status operations_research::WriteModelToMpsFile (absl::string_view filename, const MPModelProto &model, const MPModelExportOptions &options)