Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
mps_converter.cc File Reference
#include "ortools/math_opt/io/mps_converter.h"
#include <string>
#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "ortools/base/status_macros.h"
#include "ortools/linear_solver/linear_solver.pb.h"
#include "ortools/linear_solver/model_exporter.h"
#include "ortools/lp_data/mps_reader.h"
#include "ortools/math_opt/io/proto_converter.h"
#include "ortools/math_opt/model.pb.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::math_opt
 An object oriented wrapper for quadratic constraints in ModelStorage.
 

Functions

absl::StatusOr< std::string > operations_research::math_opt::ModelProtoToMps (const ModelProto &model)
 
absl::StatusOr< ModelProto > operations_research::math_opt::ReadMpsFile (const absl::string_view filename)
 
absl::StatusOr< ModelProto > operations_research::math_opt::MpsToModelProto (absl::string_view mps_data)
 Converts a string with the contents of an MPS file into a ModelProto.