Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
lp_parser.h File Reference
#include <string>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/base/port.h"
#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.

Classes

struct  operations_research::glop::ParsedConstraint

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
namespace  operations_research::glop

Functions

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