14#ifndef OR_TOOLS_MATH_OPT_IO_MPS_CONVERTER_H_
15#define OR_TOOLS_MATH_OPT_IO_MPS_CONVERTER_H_
19#include "absl/status/statusor.h"
20#include "absl/strings/string_view.h"
21#include "ortools/math_opt/model.pb.h"
39absl::StatusOr<ModelProto>
ReadMpsFile(absl::string_view filename);
An object oriented wrapper for quadratic constraints in ModelStorage.
absl::StatusOr< ModelProto > MpsToModelProto(absl::string_view mps_data)
Converts a string with the contents of an MPS file into a ModelProto.
absl::StatusOr< ModelProto > ReadMpsFile(const absl::string_view filename)
absl::StatusOr< std::string > ModelProtoToMps(const ModelProto &model)