Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
sol_reader.cc File Reference
#include "ortools/lp_data/sol_reader.h"
#include <limits>
#include <string>
#include <vector>
#include "absl/container/flat_hash_map.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "ortools/base/numbers.h"
#include "ortools/base/status_macros.h"
#include "ortools/linear_solver/linear_solver.pb.h"
#include "ortools/lp_data/lp_data.h"
#include "ortools/lp_data/lp_types.h"
#include "ortools/util/file_util.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)