Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
lp_parser.cc File Reference
#include "ortools/lp_data/lp_parser.h"
#include <algorithm>
#include <set>
#include <string>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/container/flat_hash_set.h"
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/match.h"
#include "absl/strings/numbers.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_split.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"
#include "ortools/lp_data/proto_utils.h"
#include "re2/re2.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::glop

Functions

StatusOr< ParsedConstraintoperations_research::glop::ParseConstraint (absl::string_view constraint)
bool operations_research::glop::ParseLp (absl::string_view model, LinearProgram *lp)
 Like ModelProtoFromLpFormat(), but outputs a glop::LinearProgram.
absl::StatusOr< MPModelProtooperations_research::ModelProtoFromLpFormat (absl::string_view model)
 This calls ParseLp() under the hood. See below.