17#ifndef OR_TOOLS_LP_DATA_SOL_READER_H_
18#define OR_TOOLS_LP_DATA_SOL_READER_H_
22#include "absl/status/statusor.h"
23#include "absl/strings/string_view.h"
24#include "ortools/linear_solver/linear_solver.pb.h"
31absl::StatusOr<glop::DenseRow>
ParseSolFile(absl::string_view file_name,
32 const glop::LinearProgram&
model);
33absl::StatusOr<MPSolutionResponse>
ParseSolFile(absl::string_view file_name,
34 const MPModelProto&
model);
38 const glop::LinearProgram&
model);
40 const MPModelProto&
model);
In SWIG mode, we don't want anything besides these top-level includes.
absl::StatusOr< glop::DenseRow > ParseSolFile(absl::string_view file_name, const glop::LinearProgram &model)
Parse a solution to model from a file.
absl::StatusOr< glop::DenseRow > ParseSolString(const std::string &solution, const glop::LinearProgram &model)
Parse a solution to model from a string.