Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
sol_reader.h File Reference
#include <string>
#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "ortools/linear_solver/linear_solver.pb.h"
#include "ortools/lp_data/lp_data.h"
#include "ortools/lp_data/lp_types.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.
 

Functions

absl::StatusOr< glop::DenseRowoperations_research::ParseSolFile (absl::string_view file_name, const glop::LinearProgram &model)
 Parse a solution to model from a file.
 
absl::StatusOr< MPSolutionResponse > operations_research::ParseSolFile (absl::string_view file_name, const MPModelProto &model)
 
absl::StatusOr< glop::DenseRowoperations_research::ParseSolString (const std::string &solution, const glop::LinearProgram &model)
 Parse a solution to model from a string.
 
absl::StatusOr< MPSolutionResponse > operations_research::ParseSolString (const std::string &solution, const MPModelProto &model)