Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
mps_converter.h File Reference
#include <string>
#include "absl/status/statusor.h"
#include "absl/strings/string_view.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::MpsToModelProto (absl::string_view mps_data)
 Converts a string with the contents of an MPS file into a ModelProto.
 
absl::StatusOr< ModelProto > operations_research::math_opt::ReadMpsFile (const absl::string_view filename)