Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
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
 In SWIG mode, we don't want anything besides these top-level includes.
 

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)