Classes | Namespaces | Functions
model_exporter.h File Reference
#include <string>
#include <vector>
#include "absl/strings/str_format.h"
#include "ortools/base/hash.h"
#include "ortools/base/macros.h"
#include "ortools/base/statusor.h"
#include "ortools/linear_solver/linear_solver.pb.h"
Include dependency graph for model_exporter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  operations_research::MPModelExportOptions
 

Namespaces

 operations_research
 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
 

Functions

util::StatusOr< std::string > operations_research::ExportModelAsLpFormat (const MPModelProto &model, const MPModelExportOptions &options=MPModelExportOptions())
 Outputs the current model (variables, constraints, objective) as a std::string encoded in the so-called "CPLEX LP file format" as generated by SCIP. More...
 
util::StatusOr< std::string > operations_research::ExportModelAsMpsFormat (const MPModelProto &model, const MPModelExportOptions &options=MPModelExportOptions())
 Outputs the current model (variables, constraints, objective) as a std::string encoded in MPS file format, using the "free" MPS format. More...